Results of 1 - 10 of about 195 for stdout (0.011 sec.)
- subprocess --- サブプロセス管理 — Python 3.14.8 ドキュメント 12131
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 並行実行 » subprocess --- サブプロセス管理 テーマ 自動 ライト ダーク | subprocess --- サブプロセス管理 ¶ ソースコード: Lib/subproce
...法では下層の Popen インターフェースを直接使用することもできます。 subprocess. run ( args , * , stdin = None , input = None , stdout = None , stderr = None , capture_output = False , shell = False , cwd = None , timeout = None , check = False , encoding =...のほとんどの引数は Popen インターフェイスに渡されます。( timeout 、 input および check は除く。) If capture_output is true, stdout and stderr will be captured. When used, the internal Popen object is automatically created with stdout and stderr both set...to PIPE . The stdout and stderr arguments may not be supplied at the same time as capture_output . If you wish to capture and combine both stre... - https://man.mtool.work/python/3.14/library/subprocess.html
- subprocess --- サブプロセス管理 — Python 3.14.8 ドキュメント 12131
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 並行実行 » subprocess --- サブプロセス管理 テーマ 自動 ライト ダーク | subprocess --- サブプロセス管理 ¶ ソースコード: Lib/subproce
...法では下層の Popen インターフェースを直接使用することもできます。 subprocess. run ( args , * , stdin = None , input = None , stdout = None , stderr = None , capture_output = False , shell = False , cwd = None , timeout = None , check = False , encoding =...のほとんどの引数は Popen インターフェイスに渡されます。( timeout 、 input および check は除く。) If capture_output is true, stdout and stderr will be captured. When used, the internal Popen object is automatically created with stdout and stderr both set...to PIPE . The stdout and stderr arguments may not be supplied at the same time as capture_output . If you wish to capture and combine both stre... - https://man.mtool.work/python/3.14/library/subprocess.html
- サブプロセス — Python 3.14.8 ドキュメント 11686
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ネットワーク通信とプロセス間通信 » asyncio --- 非同期 I/O » サブプロセス テーマ 自動 ライト ダーク | サブプロセス ¶ ソースコード: L
...結果を取得できるかを示す例です: import asyncio async def run ( cmd ): proc = await asyncio . create_subprocess_shell ( cmd , stdout = asyncio . subprocess . PIPE , stderr = asyncio . subprocess . PIPE ) stdout , stderr = await proc . communicate () print...( f '[ { cmd !r} exited with { proc . returncode } ]' ) if stdout : print ( f '[stdout] \n { stdout . decode () } ' ) if stderr : print ( f '[stderr] \n { stderr . decode () } ' ) asyncio...使用例 節も参照してください。 サブプロセスの生成 ¶ async asyncio. create_subprocess_exec ( program , * args , stdin = None , stdout = None , stderr = None , limit = 65536 , ** kwds ) ¶ サブプロセスを作成します。 The limit argument sets the buffer limit f... - https://man.mtool.work/python/3.14/library/asyncio-subprocess.html
- サブプロセス — Python 3.14.8 ドキュメント 11686
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ネットワーク通信とプロセス間通信 » asyncio --- 非同期 I/O » サブプロセス テーマ 自動 ライト ダーク | サブプロセス ¶ ソースコード: L
...結果を取得できるかを示す例です: import asyncio async def run ( cmd ): proc = await asyncio . create_subprocess_shell ( cmd , stdout = asyncio . subprocess . PIPE , stderr = asyncio . subprocess . PIPE ) stdout , stderr = await proc . communicate () print...( f '[ { cmd !r} exited with { proc . returncode } ]' ) if stdout : print ( f '[stdout] \n { stdout . decode () } ' ) if stderr : print ( f '[stderr] \n { stderr . decode () } ' ) asyncio...使用例 節も参照してください。 サブプロセスの生成 ¶ async asyncio. create_subprocess_exec ( program , * args , stdin = None , stdout = None , stderr = None , limit = 65536 , ** kwds ) ¶ サブプロセスを作成します。 The limit argument sets the buffer limit f... - https://man.mtool.work/python/3.14/library/asyncio-subprocess.html
- contextlib --- with 文コンテキスト用ユーティリティ — Python 3.14.8 ドキュメント 7625
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python ランタイムサービス » contextlib --- with 文コンテキスト用ユーティリティ テーマ 自動 ライト ダーク | contextlib --- with 文コ
...ョン 3.12 で変更: suppress now supports suppressing exceptions raised as part of a BaseExceptionGroup . contextlib. redirect_stdout ( new_target ) ¶ Context manager for temporarily redirecting sys.stdout to another file or file-like object. This tool add...s flexibility to existing functions or classes whose output is hardwired to stdout. For example, the output of help() normally is sent to sys.stdout . You can capture that output in a string by redirecting...ment stream is returned from the __enter__() method and so is available as the target of the with statement: with redirect_stdout ( io . StringIO ()) as f : help ( pow ) s = f . getvalue () help() の出力をディスク上のファイルに送るためには、出力を通常の... - https://man.mtool.work/python/3.14/library/contextlib.html
- contextlib --- with 文コンテキスト用ユーティリティ — Python 3.14.8 ドキュメント 7625
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python ランタイムサービス » contextlib --- with 文コンテキスト用ユーティリティ テーマ 自動 ライト ダーク | contextlib --- with 文コ
...ョン 3.12 で変更: suppress now supports suppressing exceptions raised as part of a BaseExceptionGroup . contextlib. redirect_stdout ( new_target ) ¶ Context manager for temporarily redirecting sys.stdout to another file or file-like object. This tool add...s flexibility to existing functions or classes whose output is hardwired to stdout. For example, the output of help() normally is sent to sys.stdout . You can capture that output in a string by redirecting...ment stream is returned from the __enter__() method and so is available as the target of the with statement: with redirect_stdout ( io . StringIO ()) as f : help ( pow ) s = f . getvalue () help() の出力をディスク上のファイルに送るためには、出力を通常の... - https://man.mtool.work/python/3.14/library/contextlib.html
- test --- Regression tests package for Python — Python 3.14.8 ドキュメント 7300
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 開発ツール » test --- Regression tests package for Python テーマ 自動 ライト ダーク | test --- Regression tests package for Python
...st or doctest module. Some older tests are written using a "traditional" testing style that compares output printed to sys.stdout ; this style of test is considered deprecated. 参考 unittest モジュール PyUnit 回帰テストを書く。 doctest モジュール ドキュ...memlimit ( limit ) ¶ Set the values for max_memuse and real_max_memuse for big memory tests. test.support. record_original_stdout ( stdout ) ¶ Store the value from stdout . It is meant to hold the stdout at the time the regrtest began. test.support. ge...t_original_stdout ( ) ¶ Return the original stdout set by record_original_stdout() or sys.stdout if it's not set. test.support. args_from_in... - https://man.mtool.work/python/3.14/library/test.html
- test --- Regression tests package for Python — Python 3.14.8 ドキュメント 7300
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 開発ツール » test --- Regression tests package for Python テーマ 自動 ライト ダーク | test --- Regression tests package for Python
...st or doctest module. Some older tests are written using a "traditional" testing style that compares output printed to sys.stdout ; this style of test is considered deprecated. 参考 unittest モジュール PyUnit 回帰テストを書く。 doctest モジュール ドキュ...memlimit ( limit ) ¶ Set the values for max_memuse and real_max_memuse for big memory tests. test.support. record_original_stdout ( stdout ) ¶ Store the value from stdout . It is meant to hold the stdout at the time the regrtest began. test.support. ge...t_original_stdout ( ) ¶ Return the original stdout set by record_original_stdout() or sys.stdout if it's not set. test.support. args_from_in... - https://man.mtool.work/python/3.14/library/test.html
- sys --- システム固有のパラメーターと関数 — Python 3.14.8 ドキュメント 7170
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python ランタイムサービス » sys --- システム固有のパラメーターと関数 テーマ 自動 ライト ダーク | sys --- システム固有のパラメーター
...のハンドルを示す整数です。 Availability : Windows. sys. displayhook ( value ) ¶ value が None 以外の時、 repr(value) を sys.stdout に出力し、 builtins._ に保存します。 repr(value) がエラーハンドラを sys.stdout.errors (おそらく 'strict' ) として sys.stdo...ut.encoding にエンコードできない場合、エラーハンドラを 'backslashreplace' として sys.stdout.encoding にエンコードします。 sys.displayhook は、Pythonの対話セッションで入力された 式 が評価されたときに呼び出されます。...ue ): if value is None : return # Set '_' to None to avoid recursion builtins . _ = None text = repr ( value ) try : sys . stdout . write ( text ) except UnicodeEncodeError : bytes = text . encode ( sys . stdout . encoding , 'backslashreplace' ) if has... - https://man.mtool.work/python/3.14/library/sys.html
- sys --- システム固有のパラメーターと関数 — Python 3.14.8 ドキュメント 7170
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python ランタイムサービス » sys --- システム固有のパラメーターと関数 テーマ 自動 ライト ダーク | sys --- システム固有のパラメーター
...のハンドルを示す整数です。 Availability : Windows. sys. displayhook ( value ) ¶ value が None 以外の時、 repr(value) を sys.stdout に出力し、 builtins._ に保存します。 repr(value) がエラーハンドラを sys.stdout.errors (おそらく 'strict' ) として sys.stdo...ut.encoding にエンコードできない場合、エラーハンドラを 'backslashreplace' として sys.stdout.encoding にエンコードします。 sys.displayhook は、Pythonの対話セッションで入力された 式 が評価されたときに呼び出されます。...ue ): if value is None : return # Set '_' to None to avoid recursion builtins . _ = None text = repr ( value ) try : sys . stdout . write ( text ) except UnicodeEncodeError : bytes = text . encode ( sys . stdout . encoding , 'backslashreplace' ) if has... - https://man.mtool.work/python/3.14/library/sys.html