Python 3.6.5 ドキュメント 検索

phrase: max: clip:
target: order:
Results of 1 - 10 of about 128 for FORMAT (0.027 sec.)
6.1. string --- 一般的な文字列操作 — Python 3.6.5 ドキュメント 12856
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... 字列 (string) クラスには、 PEP 3101 で記述されている format() メソッドによって複雑な変数置換と値のフォーマット ... を行う機能があります。 string モジュールの Formatter クラスでは、組み込みの format() メソッドと同じ実 ... 成してカスタマイズすることができます。 class string. Formatter ¶ Formatter クラスは、以下のメソッドを持ちます: ... format ( format_string , *args , **kwargs ) ¶ 主要な API ...
https://man.plustar.jp/python/library/string.html - [similar]
13.4. lzma --- LZMA アルゴリズムを使用した圧縮 — Python 3.6.5 ドキュメント 11806
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... の読み書き ¶ lzma. open ( filename , mode="rb" , * , format=None , check=-1 , preset=None , filters=None , enc ... です。 読み込み用にファイルをオープンした場合、引数 format および filters は LZMADecompressor と同じ意味になり ... ないでください。 書き出し用にオープンした場合、引数 format 、 check 、 preset 、および filters は LZMACompres ... ss lzma. LZMAFile ( filename=None , mode="r" , * , format=None , check=-1 , preset=None , filters=None ) ¶ L ...
https://man.plustar.jp/python/library/lzma.html - [similar]
29.9. traceback --- スタックトレースの表示または取得 — Python 3.6.5 ドキュメン... 10353
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... 数は print_stack() と同じ意味を持ちます。 traceback. format_list ( extracted_list ) ¶ extract_tb() または extr ... は内部に改行を含んでいるかもしれません。 traceback. format_exception_only ( etype , value ) ¶ トレースバックの ... セージは、常にリストの最後の文字列です。 traceback. format_exception ( etype , value , tb , limit=None , chai ... は無視され、 value の型から推論されます。 traceback. format_exc ( limit=None , chain=True ) ¶ これは、 print_e ...
https://man.plustar.jp/python/library/traceback.html - [similar]
Logging クックブック — Python 3.6.5 ドキュメント 9120
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python HOWTO » Logg ... dler () ch . setLevel ( logging . ERROR ) # create formatter and add it to the handlers formatter = logging ... . Formatter ( ' %(asctime)s - %(name)s - %(levelname)s - %( ... message)s ' ) fh . setFormatter ( formatter ) ch . setFormatter ( formatter ) # ... logging . basicConfig ( level = logging . DEBUG , format = ' %(relativeCreated)6d %(threadName)s %(message) ...
https://man.plustar.jp/python/howto/logging-cookbook.html - [similar]
8.1. datetime --- 基本的な日付型および時間型 — Python 3.6.5 ドキュメント 8595
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... socalendar() == (2004, 1, 7) となります。 date. isoformat ( ) ¶ ISO 8601 形式、 'YYYY-MM-DD' の日付を表す文字 ... 列を返します。例えば、 date(2002, 12, 4).isoformat() == '2002-12-04' となります。 date. __str__ ( ) ¶ ... date オブジェクト d において、 str(d) は d.isoformat() と等価です。 date. ctime ( ) ¶ 日付を表す文字列を ... time(d.timetuple())) と等価です。 date. strftime ( format ) ¶ 明示的な書式文字列で制御された、日付を表現する ...
https://man.plustar.jp/python/library/datetime.html - [similar]
16.6. logging --- Python 用ロギング機能 — Python 3.6.5 ドキュメント 8595
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... の一部にすることもできます。以下の例を見てください: FORMAT = ' %(asctime)-15s %(clientip)s %(user)-8s %(messa ... ge)s ' logging . basicConfig ( format = FORMAT ) d = { 'clientip' : '192.168.0.1' , 'use ... ーがロギングシステムで使われているかについての詳細は Formatter のドキュメントを参照してください。) これらの属性 ... の属性辞書に含まれていることを期待した書式文字列で Formatter がセットアップされています。もしこれらが欠けてい ...
https://man.plustar.jp/python/library/logging.html - [similar]
7. 入力と出力 — Python 3.6.5 ドキュメント 8485
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python チュートリア ... ひとつの方法は フォーマット済み文字列リテラル や str.format() メソッドを利用することです。 string モジュールの ... ( 1 , 11 ): ... print ( ' {0:2d} {1:3d} {2:4d} ' . format ( x , x * x , x * x * x )) ... 1 1 1 2 4 8 3 9 27 ... '3.14159265359' . zfill ( 5 ) '3.14159265359' str.format() メソッドの基本的な使い方は次のようなものです: >> ... > print ( 'We are the {} who say " {} !"' . format ( 'knights' , 'Ni' )) We are the knights who say " ...
https://man.plustar.jp/python/tutorial/inputoutput.html - [similar]
Argparse チュートリアル — Python 3.6.5 ドキュメント 8314
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python HOWTO » Argp ... $ ls --help Usage: ls [OPTION]... [FILE]... List information about the FILEs (the current directory by defau ... verbose : print ( "the square of {} equals {} " . format ( args . square , answer )) else : print ( answer ... ity == 2 : print ( "the square of {} equals {} " . format ( args . square , answer )) elif args . verbosity ... == 1 : print ( " {} ^2 == {} " . format ( args . square , answer )) else : print ( answer ...
https://man.plustar.jp/python/howto/argparse.html - [similar]
Argument Clinic How-To — Python 3.6.5 ドキュメント 8314
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python HOWTO » Argu ... see the section below on default values for more information. Add a blank line below the parameters. What's ... ument Clinic easier. For each parameter, copy the "format unit" for that parameter from the PyArg_Parse() fo ... ecify that as its converter, as a quoted string. ("format unit" is the formal name for the one-to-three char ... acter substring of the format parameter that tells the argument parsing function ...
https://man.plustar.jp/python/howto/clinic.html - [similar]
13.6. tarfile --- tar アーカイブファイルの読み書き — Python 3.6.5 ドキュメント 8253
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... r フォーマット を参照してください。 tarfile. USTAR_FORMAT ¶ POSIX.1-1988 (ustar) フォーマット。 tarfile. GNU ... _FORMAT ¶ GNU tar フォーマット。 tarfile. PAX_FORMAT ¶ POS ... IX.1-2001 (pax) フォーマット。 tarfile. DEFAULT_FORMAT ¶ アーカイブを作成する際のデフォルトのフォーマット ... 。現在は GNU_FORMAT です。 参考 zipfile モジュール zipfile 標準モジュー ...
https://man.plustar.jp/python/library/tarfile.html - [similar]
PREV 1 2 3 4 5 6 7 8 9 10 NEXT