per page, with , order by , clip by
Results of 1 - 10 of about 188 for usage (0.037 sec.)
argparse --- コマンドラインオプションや引数、サブコマンド向けのパーサー — Pytho... 12439
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » コマンドラインインターフェースライブラリ » argparse --- コマンドラインオプションや引数、サブコマンド向けのパーサー テーマ 自動 ライ ... nd argparse will figure out how to parse those out of sys.argv . The argparse module also automatically generates help and usage messages. The module will also issue errors when users give the program invalid arguments. The argparse module's support f ... e to argparse , see Upgrading Optparse Code . ArgumentParser オブジェクト ¶ class argparse. ArgumentParser ( prog = None , usage = None , description = None , epilog = None , parents = [] , formatter_class = argparse.HelpFormatter , prefix_chars = '-' ... すが、簡単に言うと: prog - The name of the program (default: generated from the __main__ module attributes and sys.argv[0] ) usage - プログラムの利用方法を記述する文字列 (デフォルト: パーサーに追加された引数から生成されます) description - 引数のヘルプの ...
https://man.mtool.work/python/3.14/library/argparse.html
argparse --- コマンドラインオプションや引数、サブコマンド向けのパーサー — Pytho... 12439
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » コマンドラインインターフェースライブラリ » argparse --- コマンドラインオプションや引数、サブコマンド向けのパーサー テーマ 自動 ライ ... nd argparse will figure out how to parse those out of sys.argv . The argparse module also automatically generates help and usage messages. The module will also issue errors when users give the program invalid arguments. The argparse module's support f ... e to argparse , see Upgrading Optparse Code . ArgumentParser オブジェクト ¶ class argparse. ArgumentParser ( prog = None , usage = None , description = None , epilog = None , parents = [] , formatter_class = argparse.HelpFormatter , prefix_chars = '-' ... すが、簡単に言うと: prog - The name of the program (default: generated from the __main__ module attributes and sys.argv[0] ) usage - プログラムの利用方法を記述する文字列 (デフォルト: パーサーに追加された引数から生成されます) description - 引数のヘルプの ...
https://man.mtool.work/python/3.14/library/argparse.html
optparse --- Parser for command line options — Python 3.14.8 ドキュメント 10578
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » コマンドラインインターフェースライブラリ » optparse --- Parser for command line options テーマ 自動 ライト ダーク | optparse --- Pa ... . For example (amongst other differences): supplying -o -v gives output="-v" and verbose=False when using optparse , but a usage 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 complaining that no value has been supplied for -o/--output , since -- is interpreted as termina ... he command line. optparse allows users to specify options in the conventional GNU/POSIX syntax, and additionally generates usage and help messages for you. Here's an example of using optparse in a simple script: from optparse import OptionParser ... p ...
https://man.mtool.work/python/3.14/library/optparse.html
optparse --- Parser for command line options — Python 3.14.8 ドキュメント 10578
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » コマンドラインインターフェースライブラリ » optparse --- Parser for command line options テーマ 自動 ライト ダーク | optparse --- Pa ... . For example (amongst other differences): supplying -o -v gives output="-v" and verbose=False when using optparse , but a usage 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 complaining that no value has been supplied for -o/--output , since -- is interpreted as termina ... he command line. optparse allows users to specify options in the conventional GNU/POSIX syntax, and additionally generates usage and help messages for you. Here's an example of using optparse in a simple script: from optparse import OptionParser ... p ...
https://man.mtool.work/python/3.14/library/optparse.html
Argparse チュートリアル — Python 3.14.8 ドキュメント 10151
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » コマンドラインインターフェースライブラリ » argparse --- コマンドラインオプションや引数、サブコマンド向けのパーサー » Argparse チュー ... drwxr-xr-x 14 wena wena 4096 Feb 7 00:59 pypy -rw-r--r-- 1 wena wena 741 Feb 18 01:01 rm-unused-function.patch $ ls --help Usage: ls [OPTION]... [FILE]... List information about the FILEs (the current directory by default). Sort entries alphabetically ... se . ArgumentParser () parser . parse_args () 下記がこのコードを実行した結果です: $ python prog.py $ python prog.py --help usage: prog.py [-h] options: -h, --help show this help message and exit $ python prog.py --verbose usage: prog.py [-h] prog.py: ... error: unrecognized arguments: --verbose $ python prog.py foo usage: prog.py [-h] prog.py: error: unrecognized arguments: foo こんなことが起こりました: オプションなしでスクリプトを実行した結 ...
https://man.mtool.work/python/3.14/howto/argparse.html
Argparse チュートリアル — Python 3.14.8 ドキュメント 10151
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » コマンドラインインターフェースライブラリ » argparse --- コマンドラインオプションや引数、サブコマンド向けのパーサー » Argparse チュー ... drwxr-xr-x 14 wena wena 4096 Feb 7 00:59 pypy -rw-r--r-- 1 wena wena 741 Feb 18 01:01 rm-unused-function.patch $ ls --help Usage: ls [OPTION]... [FILE]... List information about the FILEs (the current directory by default). Sort entries alphabetically ... se . ArgumentParser () parser . parse_args () 下記がこのコードを実行した結果です: $ python prog.py $ python prog.py --help usage: prog.py [-h] options: -h, --help show this help message and exit $ python prog.py --verbose usage: prog.py [-h] prog.py: ... error: unrecognized arguments: --verbose $ python prog.py foo usage: prog.py [-h] prog.py: error: unrecognized arguments: foo こんなことが起こりました: オプションなしでスクリプトを実行した結 ...
https://man.mtool.work/python/3.14/howto/argparse.html
データ型 — Python 3.14.8 ドキュメント 7424
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » データ型 テーマ 自動 ライト ダーク | データ型 ¶ この章で解説されるモジュールは日付や時間、型が固定された配列、ヒープキュー、両端キュ ... ve objects 定数 Available types Common properties Determining if an object is aware or naive timedelta objects Examples of usage: timedelta date objects Examples of usage: date datetime objects Examples of usage: datetime time objects Examples of usag ... and decorators 注釈 graphlib --- グラフ構造を操作する機能 例外 関連キーワード オブジェクト objects データ クラス Examples usage サポート レシピ モジュール 配列 data types datetime time configuration 抽象 基底 日付 時間 キュー 前のトピックへ codecs -- ...
https://man.mtool.work/python/3.14/library/datatypes.html
変更履歴 — Python 3.14.8 ドキュメント 7424
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » 変更履歴 テーマ 自動 ライト ダーク | 変更履歴 ¶ Python next ¶ Release date: XXXX-XX-XX セキュリティ ¶ gh-157265 : In tarfile , when extrac ... te that decompressors without needs_input and two-argument decompress() are vulnerable to CVE 2026-15310 . gh-157159 : The usage message printed by python -m tabnanny when no arguments are given now suggests python -m instead of the source file. gh-12 ... rom hanging on Windows if stdin is redirected to a pipe in an interactive session. This is helpful for testing interactive usage of tkinter from a script, for example as part of the cpython test suite. macOS ¶ gh-153711 : On macOS, do not attempt to u ... andard library types now document the meaning of their type parameters. gh-109503 : Fix documentation for shutil.move() on usage of os.rename() since nonatomic move might be used even if the files are on the same filesystem. Patch by Fang Li テスト ¶ ...
https://man.mtool.work/python/3.14/whatsnew/changelog.html
データ型 — Python 3.14.8 ドキュメント 7424
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » データ型 テーマ 自動 ライト ダーク | データ型 ¶ この章で解説されるモジュールは日付や時間、型が固定された配列、ヒープキュー、両端キュ ... ve objects 定数 Available types Common properties Determining if an object is aware or naive timedelta objects Examples of usage: timedelta date objects Examples of usage: date datetime objects Examples of usage: datetime time objects Examples of usag ... der_ 名のサポート Utilities and decorators 注釈 graphlib --- グラフ構造を操作する機能 例外 関連キーワード objects Examples usage サポート レシピ types datetime time configuration 抽象 基底 日付 時間 キュー 列挙型 used hold 基本的 naive timedelta date ...
https://man.mtool.work/python/3.14/library/datatypes.html
compression.zstd --- Compression compatible with the Zstandard format — Python ... 6209
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » データ圧縮とアーカイブ » compression.zstd --- Compression compatible with the Zstandard format テーマ 自動 ライト ダーク | compress ... use when compressing data, expressed as power of two, 1 << window_log bytes. This parameter greatly influences the memory usage of compression. Higher values require more memory but gain better compression values. A value of zero causes the value to ... be selected automatically. hash_log ¶ Size of the initial probe table, as a power of two. The resulting memory usage is 1 << (hash_log+2) bytes. Larger tables improve compression ratio of strategies <= dfast , and improve compression speed ... ue to be selected automatically. chain_log ¶ Size of the multi-probe search table, as a power of two. The resulting memory usage is 1 << (chain_log+2) bytes. Larger tables result in better and slower compression. This parameter has no effect for the f ...
https://man.mtool.work/python/3.14/library/compression.zstd.html
PREV 1 2 3 4 5 6 7 8 9 10 NEXT