per page, with , order by , clip by
Results of 1 - 10 of about 32 for substitute (0.008 sec.)
string --- 一般的な文字列操作 — Python 3.14.8 ドキュメント 11373
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » テキスト処理サービス » string --- 一般的な文字列操作 テーマ 自動 ライト ダーク | string --- 一般的な文字列操作 ¶ Source code: Lib/s ... ds of Template are: class string. Template ( template ) ¶ コンストラクタはテンプレート文字列になる引数を一つだけ取ります。 substitute ( mapping = {} , / , ** kwds ) ¶ テンプレート置換を行い、新たな文字列を生成して返します。 mapping はテンプレート中のプレー ... に対応させます。 mapping と kwds の両方が指定され、内容が重複した場合には、 kwds に指定したプレースホルダを優先します。 safe_substitute ( mapping = {} , / , ** kwds ) ¶ substitute() と同じですが、プレースホルダに対応するものを mapping や kwds から見つけられな ... かった場合に、 KeyError 例外を送出する代わりにもとのプレースホルダがそのまま入ります。また、 substitute() とは違い、規則外の書き方で $ を使った場合でも、 ValueError を送出せず単に $ を返します。 その他の例外も発生し得る一方で、 ...
https://man.mtool.work/python/3.14/library/string.html
11. Brief tour of the standard library --- part II — Python 3.14.8 ドキュメント 11373
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python チュートリアル » 11. Brief tour of the standard library --- part II テーマ 自動 ライト ダーク | 11. Brief tour of the standard library --- part II ¶ ツアー ... 体をエスケープできます: >>> from string import Template >>> t = Template ( '$ {village} folk send $$10 to $cause.' ) >>> t . substitute ( village = 'Nottingham' , cause = 'the ditch fund' ) 'Nottinghamfolk send $10 to the ditch fund.' substitute() メソッドは ... ンの場合、ユーザが入力するデータは不完全なことがあるので、欠落したデータがあるとプレースホルダをそのままにして出力する safe_substitute() メソッドを使う方が適切かもしれません: >>> t = Template ( 'Return the $item to $owner.' ) >>> d = dict ( item = 'unladen ... swallow' ) >>> t . substitute ( d ) Traceback (most recent call last): ... KeyError : 'owner' >>> t . safe_substitute ( d ) 'Return the unladen swallow ...
https://man.mtool.work/python/3.14/tutorial/stdlib2.html
string --- 一般的な文字列操作 — Python 3.14.8 ドキュメント 11373
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » テキスト処理サービス » string --- 一般的な文字列操作 テーマ 自動 ライト ダーク | string --- 一般的な文字列操作 ¶ Source code: Lib/s ... ds of Template are: class string. Template ( template ) ¶ コンストラクタはテンプレート文字列になる引数を一つだけ取ります。 substitute ( mapping = {} , / , ** kwds ) ¶ テンプレート置換を行い、新たな文字列を生成して返します。 mapping はテンプレート中のプレー ... に対応させます。 mapping と kwds の両方が指定され、内容が重複した場合には、 kwds に指定したプレースホルダを優先します。 safe_substitute ( mapping = {} , / , ** kwds ) ¶ substitute() と同じですが、プレースホルダに対応するものを mapping や kwds から見つけられな ... かった場合に、 KeyError 例外を送出する代わりにもとのプレースホルダがそのまま入ります。また、 substitute() とは違い、規則外の書き方で $ を使った場合でも、 ValueError を送出せず単に $ を返します。 その他の例外も発生し得る一方で、 ...
https://man.mtool.work/python/3.14/library/string.html
11. Brief tour of the standard library --- part II — Python 3.14.8 ドキュメント 11373
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python チュートリアル » 11. Brief tour of the standard library --- part II テーマ 自動 ライト ダーク | 11. Brief tour of the standard library --- part II ¶ ツアー ... 体をエスケープできます: >>> from string import Template >>> t = Template ( '$ {village} folk send $$10 to $cause.' ) >>> t . substitute ( village = 'Nottingham' , cause = 'the ditch fund' ) 'Nottinghamfolk send $10 to the ditch fund.' substitute() メソッドは ... ンの場合、ユーザが入力するデータは不完全なことがあるので、欠落したデータがあるとプレースホルダをそのままにして出力する safe_substitute() メソッドを使う方が適切かもしれません: >>> t = Template ( 'Return the $item to $owner.' ) >>> d = dict ( item = 'unladen ... swallow' ) >>> t . substitute ( d ) Traceback (most recent call last): ... KeyError : 'owner' >>> t . safe_substitute ( d ) 'Return the unladen swallow ...
https://man.mtool.work/python/3.14/tutorial/stdlib2.html
歴史とライセンス — Python 3.14.8 ドキュメント 11180
ナビゲーション 索引 モジュール | 前へ | Python » 3.14.8 Documentation » 歴史とライセンス テーマ 自動 ライト ダーク | 歴史とライセンス ¶ Python の歴史 ¶ Python was created in the early 1990s by Guido van Rossum at Stichting Mathematisch Cent ... .1 alone or in any derivative version prepared by Licensee. Alternately, in lieu of CNRI's License Agreement, Licensee may substitute the following text (omitting the quotes): "Python 1.6.1 is made available subject to the terms and conditions in CNRI's Li ... DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, ... DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, ...
https://man.mtool.work/python/3.14/license.html
歴史とライセンス — Python 3.14.8 ドキュメント 11180
ナビゲーション 索引 モジュール | 前へ | Python » 3.14.8 Documentation » 歴史とライセンス テーマ 自動 ライト ダーク | 歴史とライセンス ¶ Python の歴史 ¶ Python was created in the early 1990s by Guido van Rossum at Stichting Mathematisch Cent ... .1 alone or in any derivative version prepared by Licensee. Alternately, in lieu of CNRI's License Agreement, Licensee may substitute the following text (omitting the quotes): "Python 1.6.1 is made available subject to the terms and conditions in CNRI's Li ... DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, ... DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, ...
https://man.mtool.work/python/3.14/license.html
What's New in Python 2.4 — Python 3.14.8 ドキュメント 8602
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » What's New in Python 2.4 テーマ 自動 ライト ダーク | What's New in Python 2.4 ¶ 著者 : A.M. Kuchling この文書は 2005 年 3 月 30 日にリリー ... ing module that uses $ to indicate a substitution: >>> import string >>> t = string . Template ( '$page: $title' ) >>> t . substitute ({ 'page' : 2 , 'title' : 'The Best of Times' }) '2: The Best of Times' If a key is missing from the dictionary, the subst ... itute() method will raise a KeyError . There's also a safe_substitute() method that ignores missing keys: >>> t = string . Template ( '$page: $title' ) >>> t . safe_substitute ({ 'page' : 3 }) ... タ 整数 links classmethod 実装 内包 title 構文 meth func module letters 参考 変数 置換 print ユーザ テンプレート Best Times substitute デコレート deco 目次 What's New in Python 2.4 PEP 218: ビルトインの集合オブジェクト PEP 237: 長整数と整数を一体化していく ...
https://man.mtool.work/python/3.14/whatsnew/2.4.html
What's New in Python 2.4 — Python 3.14.8 ドキュメント 8199
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » What's New in Python 2.4 テーマ 自動 ライト ダーク | What's New in Python 2.4 ¶ 著者 : A.M. Kuchling この文書は 2005 年 3 月 30 日にリリー ... ing module that uses $ to indicate a substitution: >>> import string >>> t = string . Template ( '$page: $title' ) >>> t . substitute ({ 'page' : 2 , 'title' : 'The Best of Times' }) '2: The Best of Times' If a key is missing from the dictionary, the subst ... itute() method will raise a KeyError . There's also a safe_substitute() method that ignores missing keys: >>> t = string . Template ( '$page: $title' ) >>> t . safe_substitute ({ 'page' : 3 }) ...
https://man.mtool.work/python/3.14/whatsnew/2.4.html
索引 — Python 3.14.8 ドキュメント 7603
ナビゲーション 索引 モジュール | Python » 3.14.8 Documentation » 索引 テーマ 自動 ライト ダーク | Index – S S (re モジュール) (tkinter モジュール) S_ENFMT (stat モジュール) S_IEXEC (stat モジュール) S_IFBLK (stat モジュール) S_IFCHR (stat モ ... ジュール) S_IXOTH (stat モジュール) S_IXUSR (stat モジュール) safe (uuid.SafeUUID の属性) safe_path (sys.flags の属性) safe_substitute() (string.Template のメソッド) saferepr() (pprint モジュール) SafeUUID (uuid のクラス) same_files (filecmp.dircmp の属性) ... のメソッド) subscribe() (imaplib.IMAP4 のメソッド) Subscript (ast のクラス) subsequent_indent (textwrap.TextWrapper の属性) substitute() (string.Template のメソッド) substringData() (xml.dom.CharacterData のメソッド) subTest() (unittest.TestCase のメソッド) ...
https://man.mtool.work/python/3.14/genindex-S.html
tokenize --- Python ソース用のトークナイザー — Python 3.14.8 ドキュメント 7603
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python言語サービス » tokenize --- Python ソース用のトークナイザー テーマ 自動 ライト ダーク | tokenize --- Python ソース用のトークナ ... ます: from tokenize import tokenize , untokenize , NUMBER , STRING , NAME , OP from io import BytesIO def decistmt ( s ): """Substitute Decimals for floats in a string of statements. >>> from decimal import Decimal >>> s = 'print(+21.3e-5*-.1234/81.7)' >>> d ...
https://man.mtool.work/python/3.14/library/tokenize.html
PREV 1 2 3 4 NEXT