On macOS with Cursor, running a Python script that calls input() in the Chat terminal fails with EOFError: EOF when reading a line. The same script works in the integrated terminal and on Windows.
標準入力から1行読み込む(改行は値には含まれず除去される)。 読み込んだ値は、「文字列」に変換される。 EOFを読み込んだ場合は、EOFErrorとなる。 引数 prompt に渡された文字列は、コマンドラインに表示される。
一部の結果でアクセス不可の可能性があるため、非表示になっています。
アクセス不可の結果を表示する