per page, with , order by , clip by
Results of 1 - 10 of about 25 for regex (0.006 sec.)
fnmatch --- Unix のファイル名パターンマッチ — Python 3.14.8 ドキュメント 12702
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ファイルとディレクトリへのアクセス » fnmatch --- Unix のファイル名パターンマッチ テーマ 自動 ライト ダーク | fnmatch --- Unix のファ ... ame, and vice-versa. Finally, note that @functools.lru_cache with a maxsize of 32768 is used to cache the (typed) compiled regex patterns in the following functions: fnmatch() , fnmatchcase() , filter() , filterfalse() . fnmatch. fnmatch ( name , pat ... a regular expression for using with re.match() . The pattern is expected to be a str . 例: >>> import fnmatch , re >>> >>> regex = fnmatch . translate ( '*.txt' ) >>> regex '(?s:.*\\.txt)\\z' >>> reobj = re . compile ( regex ) >>> reobj . match ( 'foo ... ル形式のパス展開。 関連キーワード fnmatch pat マッチ モジュール pattern txt names re match Unix パターン seq filename string regex name os シェル 任意 パス 前のトピックへ glob --- Unix 形式のパス名のパターン展開 次のトピックへ linecache --- テキストライ ...
https://man.mtool.work/python/3.14/library/fnmatch.html
fnmatch --- Unix のファイル名パターンマッチ — Python 3.14.8 ドキュメント 12503
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ファイルとディレクトリへのアクセス » fnmatch --- Unix のファイル名パターンマッチ テーマ 自動 ライト ダーク | fnmatch --- Unix のファ ... ame, and vice-versa. Finally, note that @functools.lru_cache with a maxsize of 32768 is used to cache the (typed) compiled regex patterns in the following functions: fnmatch() , fnmatchcase() , filter() , filterfalse() . fnmatch. fnmatch ( name , pat ... a regular expression for using with re.match() . The pattern is expected to be a str . 例: >>> import fnmatch , re >>> >>> regex = fnmatch . translate ( '*.txt' ) >>> regex '(?s:.*\\.txt)\\z' >>> reobj = re . compile ( regex ) >>> reobj . match ( 'foo ... 参考 glob モジュール Unix シェル形式のパス展開。 関連キーワード fnmatch マッチ pattern names match Unix パターン filename regex シェル 任意 glob filter fnmatchcase 大文字 小文字 import カード 固有 展開 bytes functions cache filterfalse path 前のトピッ ...
https://man.mtool.work/python/3.14/library/fnmatch.html
unittest --- ユニットテストフレームワーク — Python 3.14.8 ドキュメント 9846
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 開発ツール » unittest --- ユニットテストフレームワーク テーマ 自動 ライト ダーク | unittest --- ユニットテストフレームワーク ¶ ソー ... のエラーメッセージとして使われます。 ( longMessage も参照してください)。 msg キーワード引数は assertRaises() 、 assertRaisesRegex() 、 assertWarns() 、 assertWarnsRegex() には、そのメソッドをコンテキストマネージャとして使った場合にのみ使えます。 assert ... とが出来ます: メソッド 確認事項 初出 assertRaises(exc, fun, *args, **kwds) fun(*args, **kwds) が exc を送出する assertRaisesRegex(exc, r, fun, *args, **kwds) fun(*args, **kwds) が exc を送出してメッセージが正規表現 r とマッチする 3.1 assertWarns(warn, ... fun, *args, **kwds) fun(*args, **kwds) が warn を送出する 3.2 assertWarnsRegex(warn, r, fun, *args, **kwds) fun(*args, **kwds) が warn を送出してメッセージが正規表現 r とマッチする 3.2 assertLogs(logge ...
https://man.mtool.work/python/3.14/library/unittest.html
unittest --- ユニットテストフレームワーク — Python 3.14.8 ドキュメント 9846
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 開発ツール » unittest --- ユニットテストフレームワーク テーマ 自動 ライト ダーク | unittest --- ユニットテストフレームワーク ¶ ソー ... のエラーメッセージとして使われます。 ( longMessage も参照してください)。 msg キーワード引数は assertRaises() 、 assertRaisesRegex() 、 assertWarns() 、 assertWarnsRegex() には、そのメソッドをコンテキストマネージャとして使った場合にのみ使えます。 assert ... とが出来ます: メソッド 確認事項 初出 assertRaises(exc, fun, *args, **kwds) fun(*args, **kwds) が exc を送出する assertRaisesRegex(exc, r, fun, *args, **kwds) fun(*args, **kwds) が exc を送出してメッセージが正規表現 r とマッチする 3.1 assertWarns(warn, ... fun, *args, **kwds) fun(*args, **kwds) が warn を送出する 3.2 assertWarnsRegex(warn, r, fun, *args, **kwds) fun(*args, **kwds) が warn を送出してメッセージが正規表現 r とマッチする 3.2 assertLogs(logge ...
https://man.mtool.work/python/3.14/library/unittest.html
What's New in Python 2.1 — Python 3.14.8 ドキュメント 9647
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » What's New in Python 2.1 テーマ 自動 ライト ダーク | What's New in Python 2.1 ¶ 著者 : A.M. Kuchling はじめに ¶ この記事はPython 2.1の新機 ... らがサポート対象外にしたい古い機能を非推奨と知らしめるのにこのフレームワークを利用できます。 For example, in Python 2.1 the regex module is deprecated, so importing it causes a warning to be printed: >>> import regex __main__:1: DeprecationWarning: the ... regex module is deprecated; please use the re module >>> 警告は warnings.warn() 関数を呼び出すことで発行できます: warnings . war ... ied to the message or to the module name in order to suppress a warning. For example, you may have a program that uses the regex module and not want to spare the time to convert it to use the re module right now. The warning can be suppressed by calli ...
https://man.mtool.work/python/3.14/whatsnew/2.1.html
What's New in Python 2.1 — Python 3.14.8 ドキュメント 9647
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » What's New in Python 2.1 テーマ 自動 ライト ダーク | What's New in Python 2.1 ¶ 著者 : A.M. Kuchling はじめに ¶ この記事はPython 2.1の新機 ... らがサポート対象外にしたい古い機能を非推奨と知らしめるのにこのフレームワークを利用できます。 For example, in Python 2.1 the regex module is deprecated, so importing it causes a warning to be printed: >>> import regex __main__:1: DeprecationWarning: the ... regex module is deprecated; please use the re module >>> 警告は warnings.warn() 関数を呼び出すことで発行できます: warnings . war ... ied to the message or to the module name in order to suppress a warning. For example, you may have a program that uses the regex module and not want to spare the time to convert it to use the re module right now. The warning can be suppressed by calli ...
https://man.mtool.work/python/3.14/whatsnew/2.1.html
glob --- Unix 形式のパス名のパターン展開 — Python 3.14.8 ドキュメント 9265
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ファイルとディレクトリへのアクセス » glob --- Unix 形式のパス名のパターン展開 テーマ 自動 ライト ダーク | glob --- Unix 形式のパス名 ... n for use with re.match() . The path specification can contain shell-style wildcards. 例えば: >>> import glob , re >>> >>> regex = glob . translate ( '**/*.txt' , recursive = True , include_hidden = True ) >>> regex '(?s:(?:.+/)?[^/]*\\.txt)\\z' >>> r ... eobj = re . compile ( regex ) >>> reobj . match ( 'foo/bar/baz.txt' ) <re.Match object; span=(0, 15), match='foo/bar/baz.txt'> fnmatch.translate() と違 ...
https://man.mtool.work/python/3.14/library/glob.html
glob --- Unix 形式のパス名のパターン展開 — Python 3.14.8 ドキュメント 9265
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ファイルとディレクトリへのアクセス » glob --- Unix 形式のパス名のパターン展開 テーマ 自動 ライト ダーク | glob --- Unix 形式のパス名 ... n for use with re.match() . The path specification can contain shell-style wildcards. 例えば: >>> import glob , re >>> >>> regex = glob . translate ( '**/*.txt' , recursive = True , include_hidden = True ) >>> regex '(?s:(?:.+/)?[^/]*\\.txt)\\z' >>> r ... eobj = re . compile ( regex ) >>> reobj . match ( 'foo/bar/baz.txt' ) <re.Match object; span=(0, 15), match='foo/bar/baz.txt'> fnmatch.translate() と違 ...
https://man.mtool.work/python/3.14/library/glob.html
compileall --- Python ライブラリをバイトコンパイルする — Python 3.14.8 ドキュメ... 8501
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python言語サービス » compileall --- Python ライブラリをバイトコンパイルする テーマ 自動 ライト ダーク | compileall --- Python ライブ ... aths recorded in the .pyc files. Use -p / to make the paths absolute. This option can be used with -s but not with -d . -x regexregex を使って、コンパイル候補のそれぞれのファイルのフルパスを検索し、regex がマッチしたファイルを除外します。 -i list ¶ ...
https://man.mtool.work/python/3.14/library/compileall.html
compileall --- Python ライブラリをバイトコンパイルする — Python 3.14.8 ドキュメ... 8501
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python言語サービス » compileall --- Python ライブラリをバイトコンパイルする テーマ 自動 ライト ダーク | compileall --- Python ライブ ... aths recorded in the .pyc files. Use -p / to make the paths absolute. This option can be used with -s but not with -d . -x regexregex を使って、コンパイル候補のそれぞれのファイルのフルパスを検索し、regex がマッチしたファイルを除外します。 -i list ¶ ...
https://man.mtool.work/python/3.14/library/compileall.html
PREV 1 2 3 NEXT