per page, with , order by , clip by
Results of 1 - 10 of about 56 for pprint (0.014 sec.)
pprint --- データの整形表示 — Python 3.14.8 ドキュメント 14896
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » データ型 » pprint --- データの整形表示 テーマ 自動 ライト ダーク | pprint --- データの整形表示 ¶ ソースコード: Lib/pprint.py The pprint ... サポートが追加されました。 バージョン 3.10 で変更: dataclasses.dataclass の pretty-print サポートが追加されました。 関数 ¶ pprint. pp ( object , stream = None , indent = 1 , width = 80 , depth = None , * , compact = False , sort_dicts = False , undersc ... タの中で値を調査するために print() 関数の代わりに使用されることがあります。Tips: さらに、スコープ内で使用するために print = pprint.pp を再代入することができます)。 パラメータ : object -- The object to be printed. stream ( file-like object | None) -- A f ... eの場合、整数は``_``で3桁区切りされて表示されます。そうでなければアンダースコアは表示されません(デフォルト)。 >>> import pprint >>> stuff = [ 'spam' , 'eggs' , 'lumberjack' , 'knights' , 'ni' ] >>> stuff . insert ( 0 , stuff ) >>> pprint . pp ( stuff ...
https://man.mtool.work/python/3.14/library/pprint.html
pprint --- データの整形表示 — Python 3.14.8 ドキュメント 14896
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » データ型 » pprint --- データの整形表示 テーマ 自動 ライト ダーク | pprint --- データの整形表示 ¶ ソースコード: Lib/pprint.py The pprint ... サポートが追加されました。 バージョン 3.10 で変更: dataclasses.dataclass の pretty-print サポートが追加されました。 関数 ¶ pprint. pp ( object , stream = None , indent = 1 , width = 80 , depth = None , * , compact = False , sort_dicts = False , undersc ... タの中で値を調査するために print() 関数の代わりに使用されることがあります。Tips: さらに、スコープ内で使用するために print = pprint.pp を再代入することができます)。 パラメータ : object -- The object to be printed. stream ( file-like object | None) -- A f ... eの場合、整数は``_``で3桁区切りされて表示されます。そうでなければアンダースコアは表示されません(デフォルト)。 >>> import pprint >>> stuff = [ 'spam' , 'eggs' , 'lumberjack' , 'knights' , 'ni' ] >>> stuff . insert ( 0 , stuff ) >>> pprint . pp ( stuff ...
https://man.mtool.work/python/3.14/library/pprint.html
11. Brief tour of the standard library --- part II — Python 3.14.8 ドキュメント 7720
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python チュートリアル » 11. Brief tour of the standard library --- part II テーマ 自動 ライト ダーク | 11. Brief tour of the standard library --- part II ¶ ツアー ... >> import reprlib >>> reprlib . repr ( set ( 'supercalifragilisticexpialidocious' )) "{'a', 'c', 'd', 'e', 'f', 'g', ...}" pprint モジュールは、組み込み型やユーザ定義型をわかりやすく表示するための洗練された制御手段を提供しています。表示結果が複数行にわ ... 場合は、 "pretty printer" と呼ばれるものが改行やインデントを追加して、データ構造がより明確になるように印字します: >>> import pprint >>> t = [[[[ 'black' , 'cyan' ], 'white' , [ 'green' , 'red' ]], [[ 'magenta' , ... 'yellow' ], 'blue' ]]] ... >>> pprint ... . pprint ( t , width = 30 ) [[[['black', 'cyan'], 'white', ['green', 'red']], [['magenta', 'yellow'], 'blue']]] textwrap モジュール ...
https://man.mtool.work/python/3.14/tutorial/stdlib2.html
What's New In Python 3.8 — Python 3.14.8 ドキュメント 7661
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » What's New In Python 3.8 テーマ 自動 ライト ダーク | What's New In Python 3.8 ¶ 編集者 : Raymond Hettinger This article explains the new f ... enabled support for reading and writing NSKeyedArchiver-encoded binary plists. (Contributed by Jon Janzen in bpo-26707 .) pprint ¶ The pprint module added a sort_dicts parameter to several functions. By default, those functions continue to sort dictio ... rted. This can be useful for comparison to JSON inputs during debugging. In addition, there is a convenience new function, pprint.pp() that is like pprint.pprint() but with sort_dicts defaulting to False : >>> from pprint import pprint , pp >>> d = dic ... >>> pp ( d , width = 40 ) # Original order {'source': 'input.txt', 'operation': 'filter', 'destination': 'output.txt'} >>> pprint ( d , width = 40 ) # Keys sorted alphabetically {'destination': 'output.txt', 'operation': 'filter', 'source': 'input.txt' ...
https://man.mtool.work/python/3.14/whatsnew/3.8.html
What's New In Python 3.8 — Python 3.14.8 ドキュメント 7661
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » What's New In Python 3.8 テーマ 自動 ライト ダーク | What's New In Python 3.8 ¶ 編集者 : Raymond Hettinger This article explains the new f ... enabled support for reading and writing NSKeyedArchiver-encoded binary plists. (Contributed by Jon Janzen in bpo-26707 .) pprint ¶ The pprint module added a sort_dicts parameter to several functions. By default, those functions continue to sort dictio ... rted. This can be useful for comparison to JSON inputs during debugging. In addition, there is a convenience new function, pprint.pp() that is like pprint.pprint() but with sort_dicts defaulting to False : >>> from pprint import pprint , pp >>> d = dic ... >>> pp ( d , width = 40 ) # Original order {'source': 'input.txt', 'operation': 'filter', 'destination': 'output.txt'} >>> pprint ( d , width = 40 ) # Keys sorted alphabetically {'destination': 'output.txt', 'operation': 'filter', 'source': 'input.txt' ...
https://man.mtool.work/python/3.14/whatsnew/3.8.html
bisect --- 配列二分法アルゴリズム — Python 3.14.8 ドキュメント 7514
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » データ型 » bisect --- 配列二分法アルゴリズム テーマ 自動 ライト ダーク | bisect --- 配列二分法アルゴリズム ¶ ソースコード: Lib/bise ... >>> from collections import namedtuple >>> from operator import attrgetter >>> from bisect import bisect , insort >>> from pprint import pprint >>> Movie = namedtuple ( 'Movie' , ( 'name' , 'released' , 'director' )) >>> movies = [ ... Movie ( 'Jaws' , ... ning sort order >>> romance = Movie ( 'Love Story' , 1970 , 'Hiller' ) >>> insort ( movies , romance , key = by_year ) >>> pprint ( movies ) [Movie(name='The Birds', released=1963, director='Hitchcock'), Movie(name='Love Story', released=1970, director ...
https://man.mtool.work/python/3.14/library/bisect.html
11. Brief tour of the standard library --- part II — Python 3.14.8 ドキュメント 7514
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python チュートリアル » 11. Brief tour of the standard library --- part II テーマ 自動 ライト ダーク | 11. Brief tour of the standard library --- part II ¶ ツアー ... >> import reprlib >>> reprlib . repr ( set ( 'supercalifragilisticexpialidocious' )) "{'a', 'c', 'd', 'e', 'f', 'g', ...}" pprint モジュールは、組み込み型やユーザ定義型をわかりやすく表示するための洗練された制御手段を提供しています。表示結果が複数行にわ ... 場合は、 "pretty printer" と呼ばれるものが改行やインデントを追加して、データ構造がより明確になるように印字します: >>> import pprint >>> t = [[[[ 'black' , 'cyan' ], 'white' , [ 'green' , 'red' ]], [[ 'magenta' , ... 'yellow' ], 'blue' ]]] ... >>> pprint ... . pprint ( t , width = 30 ) [[[['black', 'cyan'], 'white', ['green', 'red']], [['magenta', 'yellow'], 'blue']]] textwrap モジュール ...
https://man.mtool.work/python/3.14/tutorial/stdlib2.html
bisect --- 配列二分法アルゴリズム — Python 3.14.8 ドキュメント 7514
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » データ型 » bisect --- 配列二分法アルゴリズム テーマ 自動 ライト ダーク | bisect --- 配列二分法アルゴリズム ¶ ソースコード: Lib/bise ... >>> from collections import namedtuple >>> from operator import attrgetter >>> from bisect import bisect , insort >>> from pprint import pprint >>> Movie = namedtuple ( 'Movie' , ( 'name' , 'released' , 'director' )) >>> movies = [ ... Movie ( 'Jaws' , ... ning sort order >>> romance = Movie ( 'Love Story' , 1970 , 'Hiller' ) >>> insort ( movies , romance , key = by_year ) >>> pprint ( movies ) [Movie(name='The Birds', released=1963, director='Hitchcock'), Movie(name='Love Story', released=1970, director ...
https://man.mtool.work/python/3.14/library/bisect.html
索引 — Python 3.14.8 ドキュメント 7381
ナビゲーション 索引 モジュール | Python » 3.14.8 Documentation » 索引 テーマ 自動 ライト ダーク | Index – P p (pdb command) P_ALL (os モジュール) P_DETACH (os モジュール) P_NOWAIT (os モジュール) P_NOWAITO (os モジュール) P_OVERLAY (os モジ ... _CAN (socket モジュール) PF_DIVERT (socket モジュール) PF_PACKET (socket モジュール) PF_RDS (socket モジュール) pformat() (pprint モジュール) (pprint.PrettyPrinter のメソッド) pgettext() (gettext モジュール) (gettext.GNUTranslations のメソッド) (gettex ... ction pow() (math モジュール) (operator モジュール) power 演算 power() (decimal.Context のメソッド) pp (pdb command) pp() (pprint モジュール) pprint module pprint() (pprint モジュール) (pprint.PrettyPrinter のメソッド) prcal() (calendar モジュール) pre ... ソッド) PrepareProtocol (sqlite3 のクラス) PRESET_DEFAULT (lzma モジュール) PRESET_EXTREME (lzma モジュール) PrettyPrinter (pprint のクラス) prev() (tkinter.ttk.Treeview のメソッド) previousSibling (xml.dom.Node の属性) print 組み込み関数 print() built- ...
https://man.mtool.work/python/3.14/genindex-P.html
What's New in Python 2.1 — Python 3.14.8 ドキュメント 7381
ナビゲーション 索引 モジュール | 次へ | 前へ | 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の新機 ... data structure ... L = [ 1 , 2 , 3 ] >>> L . append ( L ) >>> L # Show Python's default output [1, 2, 3, [...]] >>> # Use pprint.pprint() as the display function ... import sys , pprint >>> sys . displayhook = pprint . pprint >>> L [1, 2, 3, <Recursio ...
https://man.mtool.work/python/3.14/whatsnew/2.1.html
PREV 1 2 3 4 5 6 NEXT