ユーザーが入力したデータの取得には「input」という関数を使います。作業ディレクトリ以下に、「user.py」というスクリプト名で次のようなコードを作成してください。 user_uttr = input("ユーザー発話> ") print("ユーザーの発話内容:", user_uttr) このスクリプトで ...
I have worker thread(s) that use the logger. In the main thread, I occasionally need to ask the user to take some action. Which means I need to suppress the logger from actually printing until the ...