Results of 1 - 10 of about 32 for prog (0.010 sec.)
- Argparse チュートリアル — Python 3.14.8 ドキュメント 12517
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » コマンドラインインターフェースライブラリ » argparse --- コマンドラインオプションや引数、サブコマンド向けのパーサー » Argparse チュー
...d the very low level getopt (which specifically serves as an equivalent to the getopt() family of functions available to C programmers). While neither of those modules is covered directly in this guide, many of the core concepts in argparse first ori...ers. コンセプト ¶ ls コマンドを使って、このチュートリアルで私たちが学ぶ機能をいくつか見てみましょう: $ ls cpython devguide prog.py pypy rm-unused-function.patch $ ls pypy ctypes_configure demo dotviewer include lib_pypy lib-python ... $ ls -l total 2...na wena 4096 Feb 18 18:51 cpython drwxr-xr-x 4 wena wena 4096 Feb 8 12:04 devguide -rwxr-xr-x 1 wena wena 535 Feb 19 00:05 prog.py 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 --h... - https://man.mtool.work/python/3.14/howto/argparse.html
- Argparse チュートリアル — Python 3.14.8 ドキュメント 12517
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » コマンドラインインターフェースライブラリ » argparse --- コマンドラインオプションや引数、サブコマンド向けのパーサー » Argparse チュー
...d the very low level getopt (which specifically serves as an equivalent to the getopt() family of functions available to C programmers). While neither of those modules is covered directly in this guide, many of the core concepts in argparse first ori...ers. コンセプト ¶ ls コマンドを使って、このチュートリアルで私たちが学ぶ機能をいくつか見てみましょう: $ ls cpython devguide prog.py pypy rm-unused-function.patch $ ls pypy ctypes_configure demo dotviewer include lib_pypy lib-python ... $ ls -l total 2...na wena 4096 Feb 18 18:51 cpython drwxr-xr-x 4 wena wena 4096 Feb 8 12:04 devguide -rwxr-xr-x 1 wena wena 535 Feb 19 00:05 prog.py 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 --h... - https://man.mtool.work/python/3.14/howto/argparse.html
- argparse --- コマンドラインオプションや引数、サブコマンド向けのパーサー — Pytho... 12001
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » コマンドラインインターフェースライブラリ » argparse --- コマンドラインオプションや引数、サブコマンド向けのパーサー テーマ 自動 ライ
...解析についてより優しく説明しています。 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 modu...le 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 for command-line interfaces is built around an instance of argparse.Ar...tainer for argument specifications and has options that apply to the parser as whole: parser = argparse . ArgumentParser ( prog = 'ProgramName' , description = 'What the program does' , epilog = 'Text at the bottom of help' ) ArgumentParser.add_argum... - https://man.mtool.work/python/3.14/library/argparse.html
- argparse --- コマンドラインオプションや引数、サブコマンド向けのパーサー — Pytho... 12001
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » コマンドラインインターフェースライブラリ » argparse --- コマンドラインオプションや引数、サブコマンド向けのパーサー テーマ 自動 ライ
...解析についてより優しく説明しています。 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 modu...le 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 for command-line interfaces is built around an instance of argparse.Ar...tainer for argument specifications and has options that apply to the parser as whole: parser = argparse . ArgumentParser ( prog = 'ProgramName' , description = 'What the program does' , epilog = 'Text at the bottom of help' ) ArgumentParser.add_argum... - https://man.mtool.work/python/3.14/library/argparse.html
- optparse --- Parser for command line options — Python 3.14.8 ドキュメント 8296
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » コマンドラインインターフェースライブラリ » optparse --- Parser for command line options テーマ 自動 ライト ダーク | optparse --- Pa
...は実行時に決まります (通常は sys.argv[0] になります)。 背景 ¶ optparse was explicitly designed to encourage the creation of programs with straightforward command-line interfaces that follow the conventions established by the getopt() family of functio...読むべきでしょう。 オプション (option) an argument used to supply extra information to guide or customize the execution of a program. There are many different syntaxes for options; the traditional Unix syntax is a hyphen ("-") followed by a single lett...required options, but doesn't give you much help at it either. 例えば、下記のような架空のコマンドラインを考えてみましょう: prog - v -- report report . txt foo bar -v と --report はどちらもオプションです。 --report オプションが引数をとるとすれば、 rep... - https://man.mtool.work/python/3.14/library/optparse.html
- optparse --- Parser for command line options — Python 3.14.8 ドキュメント 8296
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » コマンドラインインターフェースライブラリ » optparse --- Parser for command line options テーマ 自動 ライト ダーク | optparse --- Pa
...は実行時に決まります (通常は sys.argv[0] になります)。 背景 ¶ optparse was explicitly designed to encourage the creation of programs with straightforward command-line interfaces that follow the conventions established by the getopt() family of functio...読むべきでしょう。 オプション (option) an argument used to supply extra information to guide or customize the execution of a program. There are many different syntaxes for options; the traditional Unix syntax is a hyphen ("-") followed by a single lett...required options, but doesn't give you much help at it either. 例えば、下記のような架空のコマンドラインを考えてみましょう: prog - v -- report report . txt foo bar -v と --report はどちらもオプションです。 --report オプションが引数をとるとすれば、 rep... - https://man.mtool.work/python/3.14/library/optparse.html
- Migrating optparse code to argparse — Python 3.14.8 ドキュメント 7732
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » コマンドラインインターフェースライブラリ » argparse --- コマンドラインオプションや引数、サブコマンド向けのパーサー » Migrating optp
...s を Namespace に置き換え、 optparse.OptionError と optparse.OptionValueError を ArgumentError に置き換える。 %default や %prog などの暗黙の引数を含む文字列を、 %(default)s や %(prog)s などの、通常の Python で辞書を使う場合のフォーマット文字列に置き換... - https://man.mtool.work/python/3.14/howto/argparse-optparse.html
- Migrating optparse code to argparse — Python 3.14.8 ドキュメント 7732
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » コマンドラインインターフェースライブラリ » argparse --- コマンドラインオプションや引数、サブコマンド向けのパーサー » Migrating optp
...s を Namespace に置き換え、 optparse.OptionError と optparse.OptionValueError を ArgumentError に置き換える。 %default や %prog などの暗黙の引数を含む文字列を、 %(default)s や %(prog)s などの、通常の Python で辞書を使う場合のフォーマット文字列に置き換... - https://man.mtool.work/python/3.14/howto/argparse-optparse.html
- curses --- 文字セル表示のターミナル処理 — Python 3.14.8 ドキュメント 7507
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » コマンドラインインターフェースライブラリ » curses --- 文字セル表示のターミナル処理 テーマ 自動 ライト ダーク | curses --- 文字セル表
...送出されます。多くの端末では、"可視 (通常)" モードは下線カーソルで、"非常に可視" モードはブロックカーソルです。 curses. def_prog_mode ( ) ¶ 現在の端末属性を、稼動中のプログラムが curses を使う際のモードである "プログラム" モードとして保存します。(この...モードの反対は、プログラムが curses を使わない "シェル" モードです。) その後 reset_prog_mode() を呼ぶとこのモードを復旧します。 curses. def_shell_mode ( ) ¶ 現在の端末属性を、稼動中のプログラムが curses を使って...character as a one-byte bytes object. Under Unix operating systems this is a property of the controlling tty of the curses program, and is not set by the curses library itself. curses. longname ( ) ¶ 現在の端末について記述している terminfo の長形式 n... - https://man.mtool.work/python/3.14/library/curses.html
- curses --- 文字セル表示のターミナル処理 — Python 3.14.8 ドキュメント 7507
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » コマンドラインインターフェースライブラリ » curses --- 文字セル表示のターミナル処理 テーマ 自動 ライト ダーク | curses --- 文字セル表
...送出されます。多くの端末では、"可視 (通常)" モードは下線カーソルで、"非常に可視" モードはブロックカーソルです。 curses. def_prog_mode ( ) ¶ 現在の端末属性を、稼動中のプログラムが curses を使う際のモードである "プログラム" モードとして保存します。(この...モードの反対は、プログラムが curses を使わない "シェル" モードです。) その後 reset_prog_mode() を呼ぶとこのモードを復旧します。 curses. def_shell_mode ( ) ¶ 現在の端末属性を、稼動中のプログラムが curses を使って...character as a one-byte bytes object. Under Unix operating systems this is a property of the controlling tty of the curses program, and is not set by the curses library itself. curses. longname ( ) ¶ 現在の端末について記述している terminfo の長形式 n... - https://man.mtool.work/python/3.14/library/curses.html