Python 3.6.5 ドキュメント 検索

phrase: max: clip:
target: order:
Results of 1 - 10 of about 16 for indent (0.023 sec.)
19.2. json --- JSON エンコーダおよびデコーダ — Python 3.6.5 ドキュメント 12736
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... . dumps ({ '4' : 5 , '6' : 7 }, sort_keys = True , indent = 4 )) { "4": 5, "6": 7 } JSON のデコーディング: > ... check_circular=True , allow_nan=True , cls=None , indent=None , separators=None , default=None , sort_keys= ... なもの ( NaN , Infinity , -Infinity ) が使われます。 indent が非負の整数または文字列であれば、JSON の配列要素と ... ト) では最もコンパクトな表現が選択されます。正の数のindentはレベル毎に、指定した数のスペースでインデントします ...
https://man.plustar.jp/python/library/json.html - [similar]
DTrace と SystemTap で CPython を測定する — Python 3.6.5 ドキュメント 11835
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python HOWTO » DTra ... n invocations are not going to be listed: self int indent; python$target:::function-entry /copyinstr(arg1) = ... :", timestamp, 15, probename); printf("%*s", self->indent, ""); printf("%s:%s:%d\n", basename(copyinstr(arg0 ... )), copyinstr(arg1), arg2); self->indent++; } python$target:::function-return /self->trace/ ... { self->indent--; printf("%d\t%*s:", timestamp, 15, probename); p ...
https://man.plustar.jp/python/howto/instrumentation.html - [similar]
6.4. textwrap --- テキストの折り返しと詰め込み — Python 3.6.5 ドキュメント 10657
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... edent ( s ))) # prints 'hello\n world\n' textwrap. indent ( text , prefix , predicate=None ) ¶ text の中の選 ... 加します。 例えば: >>> s = 'hello \n\n \n world' >>> indent ( s , ' ' ) ' hello\n\n \n world' 省略可能な predi ... の行にも prefix を追加するのは簡単です: >>> print ( indent ( s , '+ ' , lambda line : True )) + hello + + + w ... 。したがって、例えば wrapper = TextWrapper ( initial_indent = "* " ) はこれと同じです wrapper = TextWrapper () ...
https://man.plustar.jp/python/library/textwrap.html - [similar]
8.11. pprint --- データ出力の整然化 — Python 3.6.5 ドキュメント 10535
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... スが定義されています: class pprint. PrettyPrinter ( indent=1 , width=80 , depth=None , stream=None , * , comp ... 用します。再帰的なレベルごとに加えるインデントの量は indent で設定できます;デフォルト値は1です。他の値にすると ... ( 0 , stuff [:]) >>> pp = pprint . PrettyPrinter ( indent = 4 ) >>> pp . pprint ( stuff ) [ ['spam', 'eggs', ... ット関数も提供しています: pprint. pformat ( object , indent=1 , width=80 , depth=None , * , compact=False ) ¶ ...
https://man.plustar.jp/python/library/pprint.html - [similar]
20.7. xml.dom.minidom --- 最小限の DOM の実装 — Python 3.6.5 ドキュメント 8976
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... m : ... # Work with dom. Node. writexml ( writer , indent="" , addindent="" , newl="" ) ¶ XML を writer オブ ... ite() に該当するメソッドを持たなければなりません。 indent 引数には現在のノードのインデントを指定します。 add ... ことはおそらく正しくありません。 Node. toprettyxml ( indent="" , newl="" , encoding="" ) ¶ 文書の整形されたバー ... ジョンを返します。 indent はインデントを行うための文字で、デフォルトはタブで ...
https://man.plustar.jp/python/library/xml.dom.minidom.html - [similar]
25.5. IDLE — Python 3.6.5 ドキュメント 8196
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... t メニュー (Shell ウィンドウ、Editor ウィンドウ) ¶ Indent Region [領域をインデント] 選択された行を右へインデ ... かタブを使うかを切り替えるダイアログを開きます。 New Indent Width [新しいインデント幅] インデント幅を変更するダ ... 設定 (preference) を変更出来ます: fonts [フォント], indentation [字下げ/インデント], keybindings [キーバインド ... After a block-opening statement, the next line is indented by 4 spaces (in the Python Shell window by one t ...
https://man.plustar.jp/python/library/idle.html - [similar]
2. 字句解析 — Python 3.6.5 ドキュメント 8196
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 言語リファレ ... せん)。 連続する行における各々のインデントレベルは、 INDENT および DEDENT トークンを生成するために使われます。 ... も大きければ、インデントレベル値はスタックに積まれ、INDENT トークンが一つ生成されます。インデントレベル値がス ... ラーになります: def perm ( l ): # error: first line indented for i in range ( len ( l )): # error: not indent ... erm ( l [: i ] + l [ i + 1 :]) # error: unexpected indent for x in p : r . append ( l [ i : i + 1 ] + x ) re ...
https://man.plustar.jp/python/reference/lexical_analysis.html - [similar]
32.7. tokenize --- Pythonソースのためのトークナイザ — Python 3.6.5 ドキュメント 8057
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... 1,15-1,16: OP ':' 1,16-1,17: NEWLINE '\n' 2,0-2,4: INDENT ' ' 2,4-2,9: NAME 'print' 2,9-2,10: OP '(' 2,10-2, ... 5-1,16: COLON ':' 1,16-1,17: NEWLINE '\n' 2,0-2,4: INDENT ' ' 2,4-2,9: NAME 'print' 2,9-2,10: LPAR '(' 2,10- ...
https://man.plustar.jp/python/library/tokenize.html - [similar]
32.5. token --- Python 解析木と共に使われる定数 — Python 3.6.5 ドキュメント 7936
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... . NUMBER ¶ token. STRING ¶ token. NEWLINE ¶ token. INDENT ¶ token. DEDENT ¶ token. LPAR ¶ token. RPAR ¶ toke ...
https://man.plustar.jp/python/library/token.html - [similar]
10. 完全な文法仕様 — Python 3.6.5 ドキュメント 7676
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 言語リファレ ... test [ 'as' NAME ]] suite : simple_stmt | NEWLINE INDENT stmt + DEDENT test : or_test [ 'if' or_test 'else' ...
https://man.plustar.jp/python/reference/grammar.html - [similar]
PREV 1 2 NEXT