Skip to content

Instantly share code, notes, and snippets.

@Loliver1224
Last active May 24, 2021 12:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Loliver1224/d561f24b36524ea4a8749813a45be51f to your computer and use it in GitHub Desktop.
Save Loliver1224/d561f24b36524ea4a8749813a45be51f to your computer and use it in GitHub Desktop.
コマンドプロンプトと面接練習👨‍💻
import win32com.client as wincl
import random
voice = wincl.Dispatch("SAPI.SpVoice")
# 絶対出る質問
absolute = \
["自己紹介をお願いします",
"御社を志望した理由を教えてください",
"長所と短所を教えてください"]
# 出るかもしれない質問
templates = \
["弊社で具体的にどのようなことをやりたいですか",
"あなたの将来像を教えてください",
"趣味を教えてください",
"特技を教えてください",
"周りからどんな人だと言われますか",
"挫折経験はありますか"]
questions = absolute + random.sample(templates, 3) # 3: 出るかも質問の出題数
for q in questions:
voice.Speak(q)
input() # Enter入力で次の質問へ
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment