Results of 1 - 10 of about 14 for fname (0.009 sec.)
- logging.config --- ログ記録の環境設定 — Python 3.14.8 ドキュメント 12393
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 汎用オペレーティングシステムサービス » logging.config --- ログ記録の環境設定 テーマ 自動 ライト ダーク | logging.config --- ログ記録
...Config() could be called exactly as in the default, uncustomized state. Added in version 3.2. logging.config. fileConfig ( fname , defaults = None , disable_existing_loggers = True , encoding = None ) ¶ ログ記録の環境設定を configparser 形式ファイルか...。 It will raise FileNotFoundError if the file doesn't exist and RuntimeError if the file is invalid or empty. パラメータ : fname -- A filename, or a file-like object, or an instance derived from RawConfigParser . If a RawConfigParser -derived instance...d, it is used as is. Otherwise, a ConfigParser is instantiated, and the configuration read by it from the object passed in fname . If that has a readline() method, it is assumed to be a file-like object and read using read_file() ; otherwise, it is as... - https://man.mtool.work/python/3.14/library/logging.config.html
- logging.config --- ログ記録の環境設定 — Python 3.14.8 ドキュメント 10940
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 汎用オペレーティングシステムサービス » logging.config --- ログ記録の環境設定 テーマ 自動 ライト ダーク | logging.config --- ログ記録
...Config() could be called exactly as in the default, uncustomized state. Added in version 3.2. logging.config. fileConfig ( fname , defaults = None , disable_existing_loggers = True , encoding = None ) ¶ ログ記録の環境設定を configparser 形式ファイルか...。 It will raise FileNotFoundError if the file doesn't exist and RuntimeError if the file is invalid or empty. パラメータ : fname -- A filename, or a file-like object, or an instance derived from RawConfigParser . If a RawConfigParser -derived instance...d, it is used as is. Otherwise, a ConfigParser is instantiated, and the configuration read by it from the object passed in fname . If that has a readline() method, it is assumed to be a file-like object and read using read_file() ; otherwise, it is as... - https://man.mtool.work/python/3.14/library/logging.config.html
- contextlib --- with 文コンテキスト用ユーティリティ — Python 3.14.8 ドキュメント 10467
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python ランタイムサービス » contextlib --- with 文コンテキスト用ユーティリティ テーマ 自動 ライト ダーク | contextlib --- with 文コ
...数のファイルを1つの with 文で簡単に扱うことができます: with ExitStack () as stack : files = [ stack . enter_context ( open ( fname )) for fname in filenames ] # All opened files will automatically be closed at the end of # the with statement, even if at...ルを "all or nothing" に開く処理を次のように書けます: with ExitStack () as stack : files = [ stack . enter_context ( open ( fname )) for fname in filenames ] # Hold onto the close method, but don't call it yet. close_files = stack . pop_all () . close... - https://man.mtool.work/python/3.14/library/contextlib.html
- contextlib --- with 文コンテキスト用ユーティリティ — Python 3.14.8 ドキュメント 10467
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python ランタイムサービス » contextlib --- with 文コンテキスト用ユーティリティ テーマ 自動 ライト ダーク | contextlib --- with 文コ
...数のファイルを1つの with 文で簡単に扱うことができます: with ExitStack () as stack : files = [ stack . enter_context ( open ( fname )) for fname in filenames ] # All opened files will automatically be closed at the end of # the with statement, even if at...ルを "all or nothing" に開く処理を次のように書けます: with ExitStack () as stack : files = [ stack . enter_context ( open ( fname )) for fname in filenames ] # Hold onto the close method, but don't call it yet. close_files = stack . pop_all () . close... - https://man.mtool.work/python/3.14/library/contextlib.html
- difflib --- 差分の計算の補助 — Python 3.14.8 ドキュメント 9505
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » テキスト処理サービス » difflib --- 差分の計算の補助 テーマ 自動 ライト ダーク | difflib --- 差分の計算の補助 ¶ ソースコード: Lib/di
...out ( __doc__ ) return 0 # open a file & return the file object; gripe and return 0 if it # couldn't be opened def fopen ( fname ): try : return open ( fname ) except IOError as detail : return fail ( "couldn't open " + fname + ": " + str ( detail ))... - https://man.mtool.work/python/3.14/library/difflib.html
- difflib --- 差分の計算の補助 — Python 3.14.8 ドキュメント 9505
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » テキスト処理サービス » difflib --- 差分の計算の補助 テーマ 自動 ライト ダーク | difflib --- 差分の計算の補助 ¶ ソースコード: Lib/di
...out ( __doc__ ) return 0 # open a file & return the file object; gripe and return 0 if it # couldn't be opened def fopen ( fname ): try : return open ( fname ) except IOError as detail : return fail ( "couldn't open " + fname + ": " + str ( detail ))... - https://man.mtool.work/python/3.14/library/difflib.html
- Unicode HOWTO — Python 3.14.8 ドキュメント 8542
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » Unicode HOWTO テーマ 自動 ライト ダーク | Unicode HOWTO ¶ Release : 1.12 この HOWTO 文書は、文字データの表現のための Unicode 仕様の Python における
...only want to examine or modify the ASCII parts, you can open the file with the surrogateescape error handler: with open ( fname , 'r' , encoding = "ascii" , errors = "surrogateescape" ) as f : data = f . read () # make changes to the string 'data' wi...th open ( fname + '.new' , 'w' , encoding = "ascii" , errors = "surrogateescape" ) as f : f . write ( data ) The surrogateescape error han... - https://man.mtool.work/python/3.14/howto/unicode.html
- Unicode HOWTO — Python 3.14.8 ドキュメント 8052
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » Unicode HOWTO テーマ 自動 ライト ダーク | Unicode HOWTO ¶ Release : 1.12 この HOWTO 文書は、文字データの表現のための Unicode 仕様の Python における
...only want to examine or modify the ASCII parts, you can open the file with the surrogateescape error handler: with open ( fname , 'r' , encoding = "ascii" , errors = "surrogateescape" ) as f : data = f . read () # make changes to the string 'data' wi...th open ( fname + '.new' , 'w' , encoding = "ascii" , errors = "surrogateescape" ) as f : f . write ( data ) The surrogateescape error han... - https://man.mtool.work/python/3.14/howto/unicode.html
- プログラミング FAQ — Python 3.14.8 ドキュメント 7579
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python よくある質問 » プログラミング FAQ テーマ 自動 ライト ダーク | プログラミング FAQ ¶ 一般的な質問 ¶ ブレークポイントやステップ実行ができる、ソースコードレベ
.... f = getattr ( foo_instance , 'do_' + opname ) f () locals() を使って関数名を決める方法: def myFunc (): print ( "hello" ) fname = "myFunc" f = locals ()[ fname ] f () 文字列から後端の改行を取り除く Perl の chomp() に相当するものはありますか? ¶ S.rstr... - https://man.mtool.work/python/3.14/faq/programming.html
- プログラミング FAQ — Python 3.14.8 ドキュメント 7579
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python よくある質問 » プログラミング FAQ テーマ 自動 ライト ダーク | プログラミング FAQ ¶ 一般的な質問 ¶ ブレークポイントやステップ実行ができる、ソースコードレベ
.... f = getattr ( foo_instance , 'do_' + opname ) f () locals() を使って関数名を決める方法: def myFunc (): print ( "hello" ) fname = "myFunc" f = locals ()[ fname ] f () 文字列から後端の改行を取り除く Perl の chomp() に相当するものはありますか? ¶ S.rstr... - https://man.mtool.work/python/3.14/faq/programming.html