per page, with , order by , clip by
Results of 1 - 10 of about 504 for argument (0.060 sec.)
argparse --- コマンドラインオプションや引数、サブコマンド向けのパーサー — Pytho... 10348
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » コマンドラインインターフェースライブラリ » argparse --- コマンドラインオプションや引数、サブコマンド向けのパーサー テーマ 自動 ライ ... ow their command line applications behave may find it doesn't provide the necessary level of control. Refer to Choosing an argument parsing library for alternatives to consider when argparse doesn't support behaviors that the application requires (such a ... s entirely disabling support for interspersed options and positional arguments, or accepting option parameter values that start with - even when they correspond to another defined option). チュートリア ... 説明しています。 The argparse module makes it easy to write user-friendly command-line interfaces. The program defines what arguments it requires, and argparse will figure out how to parse those out of sys.argv . The argparse module also automatically gen ...
https://man.mtool.work/python/3.14/library/argparse.html
argparse --- コマンドラインオプションや引数、サブコマンド向けのパーサー — Pytho... 10348
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » コマンドラインインターフェースライブラリ » argparse --- コマンドラインオプションや引数、サブコマンド向けのパーサー テーマ 自動 ライ ... ow their command line applications behave may find it doesn't provide the necessary level of control. Refer to Choosing an argument parsing library for alternatives to consider when argparse doesn't support behaviors that the application requires (such a ... s entirely disabling support for interspersed options and positional arguments, or accepting option parameter values that start with - even when they correspond to another defined option). チュートリア ... 説明しています。 The argparse module makes it easy to write user-friendly command-line interfaces. The program defines what arguments it requires, and argparse will figure out how to parse those out of sys.argv . The argparse module also automatically gen ...
https://man.mtool.work/python/3.14/library/argparse.html
変更履歴 — Python 3.14.8 ドキュメント 8702
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » 変更履歴 テーマ 自動 ライト ダーク | 変更履歴 ¶ Python next ¶ Release date: XXXX-XX-XX セキュリティ ¶ gh-157265 : In tarfile , when extrac ... sions above INT_MAX . gh-156793 : asyncio : loop.start_tls() and loop.create_connection() now validate the server_hostname argument if an ssl.SSLContext is passed with check_hostname set to True . gh-156793 : ssl.SSLContext.wrap_bio() now validates its s ... erver_side , server_hostname and session arguments similar to ssl.SSLContext.wrap_socket() . In particular, a context with check_hostname enabled and no server_hostname pas ... coded to UTF-8 (such as lone surrogates) while -X importtime is enabled. gh-155752 : Fix a crash when a types.GenericAlias argument gains a __typing_subst__ hook after the alias parameters have been cached. gh-155504 : Fix a crash when thread state creat ...
https://man.mtool.work/python/3.14/whatsnew/changelog.html
Argparse チュートリアル — Python 3.14.8 ドキュメント 7990
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » コマンドラインインターフェースライブラリ » argparse --- コマンドラインオプションや引数、サブコマンド向けのパーサー » Argparse チュー ... に動作するかわかります。 基礎 ¶ (ほとんど)何もしない、とても簡単な例から始めましょう: import argparse parser = argparse . ArgumentParser () parser . parse_args () 下記がこのコードを実行した結果です: $ python prog.py $ python prog.py --help usage: prog.p ... ns: -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 こんなことが起こりました: ... ージも、プログラムで指示することなく出力できます。 位置引数の入門 ¶ 以下に例を示します: import argparse parser = argparse . ArgumentParser () parser . add_argument ( "echo" ) args = parser . parse_args () print ( args . echo ) このコードを実行してみましょ ...
https://man.mtool.work/python/3.14/howto/argparse.html
Argparse チュートリアル — Python 3.14.8 ドキュメント 7990
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » コマンドラインインターフェースライブラリ » argparse --- コマンドラインオプションや引数、サブコマンド向けのパーサー » Argparse チュー ... に動作するかわかります。 基礎 ¶ (ほとんど)何もしない、とても簡単な例から始めましょう: import argparse parser = argparse . ArgumentParser () parser . parse_args () 下記がこのコードを実行した結果です: $ python prog.py $ python prog.py --help usage: prog.p ... ns: -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 こんなことが起こりました: ... ージも、プログラムで指示することなく出力できます。 位置引数の入門 ¶ 以下に例を示します: import argparse parser = argparse . ArgumentParser () parser . add_argument ( "echo" ) args = parser . parse_args () print ( args . echo ) このコードを実行してみましょ ...
https://man.mtool.work/python/3.14/howto/argparse.html
compression.zstd --- Compression compatible with the Zstandard format — Python ... 7919
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » データ圧縮とアーカイブ » compression.zstd --- Compression compatible with the Zstandard format テーマ 自動 ライト ダーク | compress ... rs = None , newline = None ) ¶ Open a Zstandard-compressed file in binary or text mode, returning a file object . The file argument can be either a file name (given as a str , bytes or path-like object), in which case the named file is opened, or it can ... be an existing file object to read from or write to. The mode argument can be either 'rb' for reading (default), 'wb' for overwriting, 'ab' for appending, or 'xb' for exclusive creation. These ... x' respectively. You may also open in text mode with 'rt' , 'wt' , 'at' , and 'xt' respectively. When reading, the options argument can be a dictionary providing advanced decompression parameters; see DecompressionParameter for detailed information about ...
https://man.mtool.work/python/3.14/library/compression.zstd.html
compression.zstd --- Compression compatible with the Zstandard format — Python ... 7919
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » データ圧縮とアーカイブ » compression.zstd --- Compression compatible with the Zstandard format テーマ 自動 ライト ダーク | compress ... rs = None , newline = None ) ¶ Open a Zstandard-compressed file in binary or text mode, returning a file object . The file argument can be either a file name (given as a str , bytes or path-like object), in which case the named file is opened, or it can ... be an existing file object to read from or write to. The mode argument can be either 'rb' for reading (default), 'wb' for overwriting, 'ab' for appending, or 'xb' for exclusive creation. These ... x' respectively. You may also open in text mode with 'rt' , 'wt' , 'at' , and 'xt' respectively. When reading, the options argument can be a dictionary providing advanced decompression parameters; see DecompressionParameter for detailed information about ...
https://man.mtool.work/python/3.14/library/compression.zstd.html
getopt --- C-style parser for command line options — Python 3.14.8 ドキュメント 6740
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Superseded Modules » getopt --- C-style parser for command line options テーマ 自動 ライト ダーク | getopt --- C-style parser for c ... ird party modules on PyPI, or else as features in the argparse module. This module helps scripts to parse the command line arguments in sys.argv . It supports the same conventions as the Unix getopt() function (including the special meanings of arguments ... form ' - ' and ' -- '). Long options similar to those supported by GNU software may be used as well via an optional third argument. Users who are unfamiliar with the Unix getopt() function should consider using the argparse module instead. Users who are ... le writing less code and getting better help and error messages should consider using the optparse module. See Choosing an argument parsing library for additional details. このモジュールは2つの関数と1つの例外を提供しています: getopt. getopt ( args , shor ...
https://man.mtool.work/python/3.14/library/getopt.html
getopt --- C-style parser for command line options — Python 3.14.8 ドキュメント 6701
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Superseded Modules » getopt --- C-style parser for command line options テーマ 自動 ライト ダーク | getopt --- C-style parser for c ... ird party modules on PyPI, or else as features in the argparse module. This module helps scripts to parse the command line arguments in sys.argv . It supports the same conventions as the Unix getopt() function (including the special meanings of arguments ... form ' - ' and ' -- '). Long options similar to those supported by GNU software may be used as well via an optional third argument. Users who are unfamiliar with the Unix getopt() function should consider using the argparse module instead. Users who are ... le writing less code and getting better help and error messages should consider using the optparse module. See Choosing an argument parsing library for additional details. このモジュールは2つの関数と1つの例外を提供しています: getopt. getopt ( args , shor ...
https://man.mtool.work/python/3.14/library/getopt.html
optparse --- Parser for command line options — Python 3.14.8 ドキュメント 5989
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » コマンドラインインターフェースライブラリ » optparse --- Parser for command line options テーマ 自動 ライト ダーク | optparse --- Pa ... rser for command line options ¶ ソースコード: Lib/optparse.py Choosing an argument parsing library ¶ The standard library includes three argument parsing libraries: getopt : a module that closely mirrors t ... that provides more functionality by default, at the expense of reduced application flexibility in controlling exactly how arguments are processed. In the absence of more specific argument parsing design constraints, argparse is the recommended choice fo ... ckwards compatibility reasons. However, it also serves a niche use case as a tool for prototyping and testing command line argument handling in getopt -based C applications. optparse should be considered as an alternative to argparse in the following cas ...
https://man.mtool.work/python/3.14/library/optparse.html
PREV 1 2 3 4 5 6 7 8 9 10 NEXT