Results of 1 - 10 of about 37 for chars (0.014 sec.)
- shlex --- 単純な字句解析 — Python 3.14.8 ドキュメント 13781
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Unix-specific services » shlex --- 単純な字句解析 テーマ 自動 ライト ダーク | shlex --- 単純な字句解析 ¶ ソースコード: Lib/shlex.py
...lex module defines the following class: class shlex. shlex ( instream = None , infile = None , posix = False , punctuation_chars = False ) ¶ A shlex instance or subclass instance is a lexical analyzer object. The initialization argument, if present, s...When operating in POSIX mode, shlex will try to be as close as possible to the POSIX shell parsing rules. The punctuation_chars argument provides a way to make the behaviour even closer to how real shells parse. This can take a number of values: the...o a non-empty string of characters, those characters will be used as the punctuation characters. Any characters in the wordchars attribute that appear in punctuation_chars will be removed from wordchars . See Improved Compatibility with Shells for mor... - https://man.mtool.work/python/3.14/library/shlex.html
- shlex --- 単純な字句解析 — Python 3.14.8 ドキュメント 13670
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Unix-specific services » shlex --- 単純な字句解析 テーマ 自動 ライト ダーク | shlex --- 単純な字句解析 ¶ ソースコード: Lib/shlex.py
...lex module defines the following class: class shlex. shlex ( instream = None , infile = None , posix = False , punctuation_chars = False ) ¶ A shlex instance or subclass instance is a lexical analyzer object. The initialization argument, if present, s...When operating in POSIX mode, shlex will try to be as close as possible to the POSIX shell parsing rules. The punctuation_chars argument provides a way to make the behaviour even closer to how real shells parse. This can take a number of values: the...o a non-empty string of characters, those characters will be used as the punctuation characters. Any characters in the wordchars attribute that appear in punctuation_chars will be removed from wordchars . See Improved Compatibility with Shells for mor... - https://man.mtool.work/python/3.14/library/shlex.html
- argparse --- コマンドラインオプションや引数、サブコマンド向けのパーサー — Pytho... 10166
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » コマンドラインインターフェースライブラリ » argparse --- コマンドラインオプションや引数、サブコマンド向けのパーサー テーマ 自動 ライ
...one , usage = None , description = None , epilog = None , parents = [] , formatter_class = argparse.HelpFormatter , prefix_chars = '-' , fromfile_prefix_chars = None , argument_default = None , conflict_handler = 'error' , add_help = True , allow_abbr...ブジェクトのリストで、このオブジェクトの引数が追加されます formatter_class - ヘルプ出力をカスタマイズするためのクラス prefix_chars - オプションの引数の prefix になる文字集合 (デフォルト: '-') fromfile_prefix_chars - 追加の引数を読み込むファイルの prefix...OG [-h] [--foo int] float positional arguments: float options: -h, --help show this help message and exit --foo int prefix_chars ¶ Most command-line options will use - as the prefix, e.g. -f/--foo . Parsers that need to support different or additional... - https://man.mtool.work/python/3.14/library/argparse.html
- argparse --- コマンドラインオプションや引数、サブコマンド向けのパーサー — Pytho... 10166
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » コマンドラインインターフェースライブラリ » argparse --- コマンドラインオプションや引数、サブコマンド向けのパーサー テーマ 自動 ライ
...one , usage = None , description = None , epilog = None , parents = [] , formatter_class = argparse.HelpFormatter , prefix_chars = '-' , fromfile_prefix_chars = None , argument_default = None , conflict_handler = 'error' , add_help = True , allow_abbr...ブジェクトのリストで、このオブジェクトの引数が追加されます formatter_class - ヘルプ出力をカスタマイズするためのクラス prefix_chars - オプションの引数の prefix になる文字集合 (デフォルト: '-') fromfile_prefix_chars - 追加の引数を読み込むファイルの prefix...OG [-h] [--foo int] float positional arguments: float options: -h, --help show this help message and exit --foo int prefix_chars ¶ Most command-line options will use - as the prefix, e.g. -f/--foo . Parsers that need to support different or additional... - https://man.mtool.work/python/3.14/library/argparse.html
- 組み込み型 — Python 3.14.8 ドキュメント 8713
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python built-ins reference » 組み込み型 テーマ 自動 ライト ダーク | 組み込み型 ¶ 以下のセクションでは、インタプリタに組み込まれている標準型について記述します。 主
...The lowercasing algorithm used is described in section 3.13 'Default Case Folding' of the Unicode Standard . str. lstrip ( chars = None , / ) ¶ 文字列の先頭の文字を除去したコピーを返します。引数 chars は除去される文字の集合を指定する文字列です。 chars...が省略されるか None の場合、空白文字が除去されます。 chars 文字列は接頭辞ではなく、その値に含まれる文字の組み合わせ全てがはぎ取られます: >>> ' spacious ' . lstrip () 'spacious ' >>>...ator. Except for splitting from the right, rsplit() behaves like split() which is described in detail below. str. rstrip ( chars = None , / ) ¶ Return a copy of the string with trailing characters removed. The chars argument is a string specifying the... - https://man.mtool.work/python/3.14/builtins/stdtypes.html
- 組み込み型 — Python 3.14.8 ドキュメント 8303
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python built-ins reference » 組み込み型 テーマ 自動 ライト ダーク | 組み込み型 ¶ 以下のセクションでは、インタプリタに組み込まれている標準型について記述します。 主
...The lowercasing algorithm used is described in section 3.13 'Default Case Folding' of the Unicode Standard . str. lstrip ( chars = None , / ) ¶ 文字列の先頭の文字を除去したコピーを返します。引数 chars は除去される文字の集合を指定する文字列です。 chars...が省略されるか None の場合、空白文字が除去されます。 chars 文字列は接頭辞ではなく、その値に含まれる文字の組み合わせ全てがはぎ取られます: >>> ' spacious ' . lstrip () 'spacious ' >>>...ator. Except for splitting from the right, rsplit() behaves like split() which is described in detail below. str. rstrip ( chars = None , / ) ¶ Return a copy of the string with trailing characters removed. The chars argument is a string specifying the... - https://man.mtool.work/python/3.14/builtins/stdtypes.html
- Unicode HOWTO — Python 3.14.8 ドキュメント 8208
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » Unicode HOWTO テーマ 自動 ライト ダーク | Unicode HOWTO ¶ Release : 1.12 この HOWTO 文書は、文字データの表現のための Unicode 仕様の Python における
...): def NFD ( s ): return unicodedata . normalize ( 'NFD' , s ) return NFD ( s1 ) == NFD ( s2 ) single_char = 'ê' multiple_chars = ' \N{LATIN SMALL LETTER E}\N{COMBINING CIRCUMFLEX ACCENT} ' print ( 'length of first string=' , len ( single_char )) pri...nt ( 'length of second string=' , len ( multiple_chars )) print ( compare_strs ( single_char , multiple_chars )) 実行すると、このように出力されます: $ python compare-strs.py len..., s ) return NFD ( NFD ( s1 ) . casefold ()) == NFD ( NFD ( s2 ) . casefold ()) # Example usage single_char = 'ê' multiple_chars = ' \N{LATIN CAPITAL LETTER E}\N{COMBINING CIRCUMFLEX ACCENT} ' print ( compare_caseless ( single_char , multiple_chars ))... - https://man.mtool.work/python/3.14/howto/unicode.html
- Unicode HOWTO — Python 3.14.8 ドキュメント 8208
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » Unicode HOWTO テーマ 自動 ライト ダーク | Unicode HOWTO ¶ Release : 1.12 この HOWTO 文書は、文字データの表現のための Unicode 仕様の Python における
...): def NFD ( s ): return unicodedata . normalize ( 'NFD' , s ) return NFD ( s1 ) == NFD ( s2 ) single_char = 'ê' multiple_chars = ' \N{LATIN SMALL LETTER E}\N{COMBINING CIRCUMFLEX ACCENT} ' print ( 'length of first string=' , len ( single_char )) pri...nt ( 'length of second string=' , len ( multiple_chars )) print ( compare_strs ( single_char , multiple_chars )) 実行すると、このように出力されます: $ python compare-strs.py len..., s ) return NFD ( NFD ( s1 ) . casefold ()) == NFD ( NFD ( s2 ) . casefold ()) # Example usage single_char = 'ê' multiple_chars = ' \N{LATIN CAPITAL LETTER E}\N{COMBINING CIRCUMFLEX ACCENT} ' print ( compare_caseless ( single_char , multiple_chars ))... - https://man.mtool.work/python/3.14/howto/unicode.html
- tkinter --- Tcl/Tk の Python インターフェース — Python 3.14.8 ドキュメント 7892
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Graphical user interfaces with Tk » tkinter --- Tcl/Tk の Python インターフェース テーマ 自動 ライト ダーク | tkinter --- Tcl/Tk の
...f 1.0 leaves the coordinate unchanged). delete ( * tagOrIds ) ¶ Delete each of the items given by the tagOrIds arguments. dchars ( tagOrId , first , / ) ¶ dchars ( tagOrId , first , last , / ) Delete from each of the items given by tagOrId the charact...n embedded image or window, or @x,y (the character covering pixel coordinates x , y in the widget). A modifier such as '+5 chars' , '-3 lines' , 'linestart' , 'lineend' , 'wordstart' or 'wordend' adjusts the index relative to its base; several modifie...rs may be combined and are applied from left to right, for example 'insert wordstart - 1 c' . insert ( index , chars , * args ) ¶ Insert the string chars just before the character at index (if index is 'end' , just before the final newline... - https://man.mtool.work/python/3.14/library/tkinter.html
- Pending removal in future versions — Python 3.14.8 ドキュメント 7577
- ナビゲーション 索引 モジュール | Python » 3.14.8 Documentation » Pending removal in future versions テーマ 自動 ライト ダーク | Pending removal in future versions ¶ The following APIs will be removed in the future, although there is current
...ing argument groups and nesting mutually exclusive groups are deprecated. Passing the undocumented keyword argument prefix_chars to add_argument_group() is now deprecated. The argparse.FileType type converter is deprecated. builtins : Generators: thro... - https://man.mtool.work/python/3.14/deprecations/pending-removal-in-future.html