per page, with , order by , clip by
Results of 1 - 10 of about 68 for newlines (0.011 sec.)
subprocess --- サブプロセス管理 — Python 3.14.8 ドキュメント 14239
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 並行実行 » subprocess --- サブプロセス管理 テーマ 自動 ライト ダーク | subprocess --- サブプロセス管理 ¶ ソースコード: Lib/subproce ... lse , cwd = None , timeout = None , check = False , encoding = None , errors = None , text = None , env = None , universal_newlines = None , ** other_popen_kwargs ) ¶ args で指定されたコマンドを実行します。コマンドの完了を待って、 CompletedProcess インス ... ンされます。 その際には指定された encoding および errors が使われるか、デフォルトの io.TextIOWrapper になります。 universal_newlines 引数は text 引数と等価であり、後方互換性のために提供されています。そうでない場合、デフォルトでこれらのファイルオブジェクト ... ) Added in version 3.5. バージョン 3.6 で変更: encoding と error が引数に追加されました。 バージョン 3.7 で変更: universal_newlines 引数のよりわかりやすい名前として、 text 引数が追加されました。 capture_output 引数が追加されました。 バージョン 3.12 で変更 ...
https://man.mtool.work/python/3.14/library/subprocess.html
subprocess --- サブプロセス管理 — Python 3.14.8 ドキュメント 13743
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 並行実行 » subprocess --- サブプロセス管理 テーマ 自動 ライト ダーク | subprocess --- サブプロセス管理 ¶ ソースコード: Lib/subproce ... lse , cwd = None , timeout = None , check = False , encoding = None , errors = None , text = None , env = None , universal_newlines = None , ** other_popen_kwargs ) ¶ args で指定されたコマンドを実行します。コマンドの完了を待って、 CompletedProcess インス ... ンされます。 その際には指定された encoding および errors が使われるか、デフォルトの io.TextIOWrapper になります。 universal_newlines 引数は text 引数と等価であり、後方互換性のために提供されています。そうでない場合、デフォルトでこれらのファイルオブジェクト ... ) Added in version 3.5. バージョン 3.6 で変更: encoding と error が引数に追加されました。 バージョン 3.7 で変更: universal_newlines 引数のよりわかりやすい名前として、 text 引数が追加されました。 capture_output 引数が追加されました。 バージョン 3.12 で変更 ...
https://man.mtool.work/python/3.14/library/subprocess.html
io --- ストリームを扱うコアツール — Python 3.14.8 ドキュメント 10282
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 汎用オペレーティングシステムサービス » io --- ストリームを扱うコアツール テーマ 自動 ライト ダーク | io --- ストリームを扱うコアツー ... readinto , readinto1 TextIOBase IOBase detach , read , readline , write IOBase から継承したメソッド、 encoding , errors , newlines I/O Base Classes ¶ class io. IOBase ¶ The abstract base class for all I/O classes. 継承先のクラスが選択的にオーバライドでき ... デコードするとき、また文字列をバイト列にエンコードするときに使われます。 errors ¶ このエンコーダやデコーダのエラー設定です。 newlines ¶ 文字列、文字列のタプル、または None で、改行がどのように読み換えられるかを指定します。実装や内部コンストラクタのフラグに ... いずれかです。これは以下のように動作します: ストリームからの入力を読み込んでいるとき、もし newline が None ならば universal newlines モードが有効になります。入力中の行は '\n' , '\r' , または '\r\n' のいずれで終わってもよく、それらは呼び出し元に返される前に ...
https://man.mtool.work/python/3.14/library/io.html
io --- ストリームを扱うコアツール — Python 3.14.8 ドキュメント 10282
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 汎用オペレーティングシステムサービス » io --- ストリームを扱うコアツール テーマ 自動 ライト ダーク | io --- ストリームを扱うコアツー ... readinto , readinto1 TextIOBase IOBase detach , read , readline , write IOBase から継承したメソッド、 encoding , errors , newlines I/O Base Classes ¶ class io. IOBase ¶ The abstract base class for all I/O classes. 継承先のクラスが選択的にオーバライドでき ... デコードするとき、また文字列をバイト列にエンコードするときに使われます。 errors ¶ このエンコーダやデコーダのエラー設定です。 newlines ¶ 文字列、文字列のタプル、または None で、改行がどのように読み換えられるかを指定します。実装や内部コンストラクタのフラグに ... いずれかです。これは以下のように動作します: ストリームからの入力を読み込んでいるとき、もし newline が None ならば universal newlines モードが有効になります。入力中の行は '\n' , '\r' , または '\r\n' のいずれで終わってもよく、それらは呼び出し元に返される前に ...
https://man.mtool.work/python/3.14/library/io.html
Logging クックブック — Python 3.14.8 ドキュメント 8055
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » Logging クックブック テーマ 自動 ライト ダーク | Logging クックブック ¶ Author : Vinay Sajip <vinay_sajip at red-dove dot com> このページは、過去に ... ): self . logger = logger self . level = level def write ( self , message ): if message != ' \n ' : # avoid printing bare newlines, if you like self . logger . log ( self . level , message ) def flush ( self ): # doesn't actually do anything, but might ... example, the last three lines above). To get around this problem, you need to buffer things and only output log lines when newlines are seen. Let's use a slightly better implementation of LoggerWriter : class BufferingLoggerWriter ( LoggerWriter ): def _ ... iter/main.py", line 52, in main WARNING:demo: 1/0 WARNING:demo:ZeroDivisionError: division by zero How to uniformly handle newlines in logging output ¶ Usually, messages that are logged (say to console or file) consist of a single line of text. However, ...
https://man.mtool.work/python/3.14/howto/logging-cookbook.html
difflib --- 差分の計算の補助 — Python 3.14.8 ドキュメント 7800
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » テキスト処理サービス » difflib --- 差分の計算の補助 テーマ 自動 ライト ダーク | difflib --- 差分の計算の補助 ¶ ソースコード: Lib/di ... 、差分(を表す文字列からなるシーケンス)を生成します。 Each sequence must contain individual single-line strings ending with newlines. Such sequences can be obtained from the readlines() method of file-like objects. The generated delta also consists of new ... イル) を生成するために使います。テーブルは完全差分モード、コンテキスト差分モードのいずれでも生成できます。 警告 The trailing newlines get stripped before the diff, so the result can be incomplete. See gh-71896 for details. このクラスのコンストラクタは以下の ... mple ¶ This example compares two texts. First we set up the texts, sequences of individual single-line strings ending with newlines (such sequences can also be obtained from the readlines() method of file-like objects): >>> text1 = ''' 1. Beautiful is be ...
https://man.mtool.work/python/3.14/library/difflib.html
2. 字句解析 — Python 3.14.8 ドキュメント 7800
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python 言語リファレンス » 2. 字句解析 テーマ 自動 ライト ダーク | 2. 字句解析 ¶ A Python program is read by a parser . Input to the parser is a stream of tokens ... e the literal, if they are of the same kind ( ' or " ) used at the start: """This string has "quotes" inside.""" Unescaped newlines are also allowed and retained: '''This triple-quoted string continues on the next line.''' 2.5.2. String prefixes ¶ String ... ingchar | stringescapeseq stringchar : <any source_character , except backslash and newline> longstringitem : stringitem | newline stringescapeseq : "\" <any source_character > Note that as in all lexical definitions, whitespace is significant. In partic ... string literals. This means that escape sequences are decoded (except when a literal is also marked as a raw string), and newlines are possible in triple-quoted f-strings: >>> name = 'Galahad' >>> favorite_color = 'blue' >>> print ( f ' { name } : \t { ...
https://man.mtool.work/python/3.14/reference/lexical_analysis.html
difflib --- 差分の計算の補助 — Python 3.14.8 ドキュメント 7800
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » テキスト処理サービス » difflib --- 差分の計算の補助 テーマ 自動 ライト ダーク | difflib --- 差分の計算の補助 ¶ ソースコード: Lib/di ... 、差分(を表す文字列からなるシーケンス)を生成します。 Each sequence must contain individual single-line strings ending with newlines. Such sequences can be obtained from the readlines() method of file-like objects. The generated delta also consists of new ... イル) を生成するために使います。テーブルは完全差分モード、コンテキスト差分モードのいずれでも生成できます。 警告 The trailing newlines get stripped before the diff, so the result can be incomplete. See gh-71896 for details. このクラスのコンストラクタは以下の ... mple ¶ This example compares two texts. First we set up the texts, sequences of individual single-line strings ending with newlines (such sequences can also be obtained from the readlines() method of file-like objects): >>> text1 = ''' 1. Beautiful is be ...
https://man.mtool.work/python/3.14/library/difflib.html
2. 字句解析 — Python 3.14.8 ドキュメント 7800
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python 言語リファレンス » 2. 字句解析 テーマ 自動 ライト ダーク | 2. 字句解析 ¶ A Python program is read by a parser . Input to the parser is a stream of tokens ... e the literal, if they are of the same kind ( ' or " ) used at the start: """This string has "quotes" inside.""" Unescaped newlines are also allowed and retained: '''This triple-quoted string continues on the next line.''' 2.5.2. String prefixes ¶ String ... ingchar | stringescapeseq stringchar : <any source_character , except backslash and newline> longstringitem : stringitem | newline stringescapeseq : "\" <any source_character > Note that as in all lexical definitions, whitespace is significant. In partic ... string literals. This means that escape sequences are decoded (except when a literal is also marked as a raw string), and newlines are possible in triple-quoted f-strings: >>> name = 'Galahad' >>> favorite_color = 'blue' >>> print ( f ' { name } : \t { ...
https://man.mtool.work/python/3.14/reference/lexical_analysis.html
11. Brief tour of the standard library --- part II — Python 3.14.8 ドキュメント 7559
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python チュートリアル » 11. Brief tour of the standard library --- part II テーマ 自動 ライト ダーク | 11. Brief tour of the standard library --- part II ¶ ツアー ... doc = """The wrap() method is just like fill() except that it returns ... a list of strings instead of one big string with newlines to separate ... the wrapped lines.""" ... >>> print ( textwrap . fill ( doc , width = 40 )) The wrap() method is just like ... fill() except that it returns a list of strings instead of one big string with newlines to separate the wrapped lines. locale モジュールは、文化により異なるデータ表現形式のデータベースにアクセスします。 locale ...
https://man.mtool.work/python/3.14/tutorial/stdlib2.html
PREV 1 2 3 4 5 6 7 NEXT