Results of 1 - 10 of about 16 for verbosity (0.010 sec.)
- Argparse チュートリアル — Python 3.14.8 ドキュメント 13221
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » コマンドラインインターフェースライブラリ » argparse --- コマンドラインオプションや引数、サブコマンド向けのパーサー » Argparse チュー
...数を追加する方法についても見ていきましょう: import argparse parser = argparse . ArgumentParser () parser . add_argument ( "--verbosity" , help = "increase output verbosity" ) args = parser . parse_args () if args . verbosity : print ( "verbosity turned on"...) 実行してみましょう: $ python prog.py --verbosity 1 verbosity turned on $ python prog.py $ python prog.py --help usage: prog.py [-h] [--verbosity VERBOSITY] options: -h, --...help show this help message and exit --verbosity VERBOSITY increase output verbosity $ python prog.py --verbosity usage: prog.py [-h] [--verbosity VERBOSITY] prog.py: erro... - https://man.mtool.work/python/3.14/howto/argparse.html
- Argparse チュートリアル — Python 3.14.8 ドキュメント 13221
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » コマンドラインインターフェースライブラリ » argparse --- コマンドラインオプションや引数、サブコマンド向けのパーサー » Argparse チュー
...数を追加する方法についても見ていきましょう: import argparse parser = argparse . ArgumentParser () parser . add_argument ( "--verbosity" , help = "increase output verbosity" ) args = parser . parse_args () if args . verbosity : print ( "verbosity turned on"...) 実行してみましょう: $ python prog.py --verbosity 1 verbosity turned on $ python prog.py $ python prog.py --help usage: prog.py [-h] [--verbosity VERBOSITY] options: -h, --...help show this help message and exit --verbosity VERBOSITY increase output verbosity $ python prog.py --verbosity usage: prog.py [-h] [--verbosity VERBOSITY] prog.py: erro... - https://man.mtool.work/python/3.14/howto/argparse.html
- ensurepip --- pip インストーラーのブートストラップ — Python 3.14.8 ドキュメント 8213
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ソフトウェア・パッケージと配布 » ensurepip --- pip インストーラーのブートストラップ テーマ 自動 ライト ダーク | ensurepip --- pip イ
...返します。 ensurepip. bootstrap ( root = None , upgrade = False , user = False , altinstall = False , default_pip = False , verbosity = 0 ) ¶ 現在の環境あるいは指示された環境へ pip をブートストラップします。 root で、インストールの root ディレクトリを変更し...トが2つの標準スクリプトと共にインストールされます。 altinstall と default_pip の両方を指定すると、 ValueError を起こします。 verbosity でブートストラップ操作からの sys.stdout への出力の冗長レベルをコントロールします。 引数 root 付きで 監査イベント ensurepip... - https://man.mtool.work/python/3.14/library/ensurepip.html
- unittest --- ユニットテストフレームワーク — Python 3.14.8 ドキュメント 8213
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 開発ツール » unittest --- ユニットテストフレームワーク テーマ 自動 ライト ダーク | unittest --- ユニットテストフレームワーク ¶ ソー
...cludes the execution of cleanup functions. Added in version 3.12. class unittest. TextTestResult ( stream , descriptions , verbosity , * , durations = None ) ¶ A concrete implementation of TestResult used by the TextTestRunner . Subclasses should accept *...オブジェクトを作らずにこのインスタンスを使用します。 class unittest. TextTestRunner ( stream = None , descriptions = True , verbosity = 1 , failfast = False , buffer = False , resultclass = None , warnings = None , * , tb_locals = False , durations = None...デフォルトで TextTestResult が使用されます。結果のクラスは以下の引数が渡されインスタンス化されます: stream , descriptions , verbosity run ( test ) ¶ このメソッドは TextTestRunner へのメインの公開インターフェースです。 このメソッドは TestSuite インスタンスあ... - https://man.mtool.work/python/3.14/library/unittest.html
- ensurepip --- pip インストーラーのブートストラップ — Python 3.14.8 ドキュメント 8213
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ソフトウェア・パッケージと配布 » ensurepip --- pip インストーラーのブートストラップ テーマ 自動 ライト ダーク | ensurepip --- pip イ
...返します。 ensurepip. bootstrap ( root = None , upgrade = False , user = False , altinstall = False , default_pip = False , verbosity = 0 ) ¶ 現在の環境あるいは指示された環境へ pip をブートストラップします。 root で、インストールの root ディレクトリを変更し...トが2つの標準スクリプトと共にインストールされます。 altinstall と default_pip の両方を指定すると、 ValueError を起こします。 verbosity でブートストラップ操作からの sys.stdout への出力の冗長レベルをコントロールします。 引数 root 付きで 監査イベント ensurepip... - https://man.mtool.work/python/3.14/library/ensurepip.html
- unittest --- ユニットテストフレームワーク — Python 3.14.8 ドキュメント 8213
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 開発ツール » unittest --- ユニットテストフレームワーク テーマ 自動 ライト ダーク | unittest --- ユニットテストフレームワーク ¶ ソー
...cludes the execution of cleanup functions. Added in version 3.12. class unittest. TextTestResult ( stream , descriptions , verbosity , * , durations = None ) ¶ A concrete implementation of TestResult used by the TextTestRunner . Subclasses should accept *...オブジェクトを作らずにこのインスタンスを使用します。 class unittest. TextTestRunner ( stream = None , descriptions = True , verbosity = 1 , failfast = False , buffer = False , resultclass = None , warnings = None , * , tb_locals = False , durations = None...デフォルトで TextTestResult が使用されます。結果のクラスは以下の引数が渡されインスタンス化されます: stream , descriptions , verbosity run ( test ) ¶ このメソッドは TextTestRunner へのメインの公開インターフェースです。 このメソッドは TestSuite インスタンスあ... - https://man.mtool.work/python/3.14/library/unittest.html
- optparse --- Parser for command line options — Python 3.14.8 ドキュメント 8127
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » コマンドラインインターフェースライブラリ » optparse --- Parser for command line options テーマ 自動 ライト ダーク | optparse --- Pa
...error with argparse (complaining that no value has been supplied for -o/--output , since -v is interpreted as meaning the verbosity flag) similarly, supplying -o -- gives output="--" and args=() when using optparse , but a usage error with argparse (also...インクリメントを行う前にゼロに設定されます。 以下はプログラム例です: parser . add_option ( "-v" , action = "count" , dest = "verbosity" ) The first time -v is seen on the command line, optparse does the equivalent of: options . verbosity = 0 options . verbo...sity += 1 以後、 -v が見つかるたびに options . verbosity += 1 "callback" [必須: callback ; 関連: type , nargs , callback_args , callback_kwargs ] callback に指定された関数を次のよ... - https://man.mtool.work/python/3.14/library/optparse.html
- optparse --- Parser for command line options — Python 3.14.8 ドキュメント 8127
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » コマンドラインインターフェースライブラリ » optparse --- Parser for command line options テーマ 自動 ライト ダーク | optparse --- Pa
...error with argparse (complaining that no value has been supplied for -o/--output , since -v is interpreted as meaning the verbosity flag) similarly, supplying -o -- gives output="--" and args=() when using optparse , but a usage error with argparse (also...インクリメントを行う前にゼロに設定されます。 以下はプログラム例です: parser . add_option ( "-v" , action = "count" , dest = "verbosity" ) The first time -v is seen on the command line, optparse does the equivalent of: options . verbosity = 0 options . verbo...sity += 1 以後、 -v が見つかるたびに options . verbosity += 1 "callback" [必須: callback ; 関連: type , nargs , callback_args , callback_kwargs ] callback に指定された関数を次のよ... - https://man.mtool.work/python/3.14/library/optparse.html
- test --- Regression tests package for Python — Python 3.14.8 ドキュメント 7901
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 開発ツール » test --- Regression tests package for Python テーマ 自動 ライト ダーク | test --- Regression tests package for Python
...test it with runningInSubprocess if needed. The subprocess inherits the enabled resources ( -u ), memory limit ( -M ) and verbosity ( -v ) of the parent test run, so that requires_resource() , requires() , bigmemtest() and the like behave consistently in... - https://man.mtool.work/python/3.14/library/test.html
- test --- Regression tests package for Python — Python 3.14.8 ドキュメント 7901
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 開発ツール » test --- Regression tests package for Python テーマ 自動 ライト ダーク | test --- Regression tests package for Python
...test it with runningInSubprocess if needed. The subprocess inherits the enabled resources ( -u ), memory limit ( -M ) and verbosity ( -v ) of the parent test run, so that requires_resource() , requires() , bigmemtest() and the like behave consistently in... - https://man.mtool.work/python/3.14/library/test.html