Python 3.6.5 ドキュメント 検索

phrase: max: clip:
target: order:
Results of 11 - 20 of about 98 for time (0.054 sec.)
What's New In Python 3.2 — Python 3.6.5 ドキュメント 7200
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » What's New in Pytho ... 5s : %(message)s " }, "full" : { "format" : " %(asctime)s %(name)-15s %(levelname)-8s %(message)s " } }, " ... ています。これが何を意味するかと言えば、 os.stat() , time.gmtime() , sys.version_info が返すような C 構造体が ... ommand line: $ export PYTHONWARNINGS = 'ignore::RuntimeWarning::,once::UnicodeWarning::' (Suggested by Bar ... クがハングしたり遅延したりしうるのであれば、バリアを timeout 付きで作ることができます。全ての前任タスクがバリ ...
https://man.plustar.jp/python/whatsnew/3.2.html - [similar]
18.5.1. 基底イベントループ — Python 3.6.5 ドキュメント 7108
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... 時計 (訳注: 巻き戻ることのない時計) です。これは通常 time.time() とは異なる時計です。 注釈 タイムアウト (相対 ... る callback を準備します。 時刻は AbstractEventLoop.time() を参照します。 このメソッドの振る舞いは call_lat ... s.partial を使用してください 。 AbstractEventLoop. time ( ) ¶ 現在の時刻を float 値で返します。時刻はイベン ... 従った整数でなければなりません。 reuse_address は、 TIME_WAIT 状態にあるローカルソケットを、その状態が自然に ...
https://man.plustar.jp/python/library/asyncio-eventloop.html - [similar]
Logging クックブック — Python 3.6.5 ドキュメント 6965
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python HOWTO » Logg ... handlers formatter = logging . Formatter ( ' %(asctime)s - %(name)s - %(levelname)s - %(message)s ' ) fh ... ングの例です: import logging import threading import time def worker ( arg ): while not arg [ 'stop' ]: logg ... ing . debug ( 'Hi from myfunc' ) time . sleep ( 0.5 ) def main (): logging . basicConfig ... True : try : logging . debug ( 'Hello from main' ) time . sleep ( 0.75 ) except KeyboardInterrupt : info [ ...
https://man.plustar.jp/python/howto/logging-cookbook.html - [similar]
19.4. mailbox --- 様々な形式のメールボックス操作 — Python 3.6.5 ドキュメント 6965
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... および末尾の改行は含まれません。 set_from ( from_ , time_=None ) ¶ "From " 行を from_ にセットします。 from ... まない形で指定しなければなりません。利便性のために、 time_ を指定して適切に整形して from_ に追加させることが ... できます。 time_ を指定する場合、それは time.struct_time インスタン ... ス、 time.strftime() に渡すのに適したタプル、または True (こ ...
https://man.plustar.jp/python/library/mailbox.html - [similar]
What's New In Python 3.6 — Python 3.6.5 ドキュメント 6925
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » What's New in Pytho ... ve been updated to work with the new protocol. datetime モジュールで 地域時間の曖昧さ回避 がサポートされま ... た状況では地域時計が表示する (あるいは Python の datetime インスタンスが格納する) 情報では、時間内の特定の瞬 ... じ二つの瞬間を区別するために、新たな fold 属性を datetime.datetime インスタンスならびに datetime.time クラス ... に追加しました。 >>> u0 = datetime ( 2016 , 11 , 6 , 4 , tzinfo = timezone . utc ) >> ...
https://man.plustar.jp/python/whatsnew/3.6.html - [similar]
ライブラリと拡張 FAQ — Python 3.6.5 ドキュメント 6873
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python よくある質問 ... な時間のスリープを加えることです: import threading , time def thread_task ( name , n ): for i in range ( n ) ... hread_task , args = ( str ( i ), i )) T . start () time . sleep ( 10 ) # <---------------------------! しか ... ープを加えることです: def thread_task ( name , n ): time . sleep ( 0.001 ) # <--------------------! for i i ... hread_task , args = ( str ( i ), i )) T . start () time . sleep ( 10 ) time.sleep() の良い遅延時間を推測し ...
https://man.plustar.jp/python/faq/library.html - [similar]
21.22. http.server --- HTTP サーバ — Python 3.6.5 ドキュメント 6873
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... s are picked up from the version_string() and date_time_string() methods, respectively. If the server does ... r_version と sys_version の属性が含まれます。 date_time_string ( timestamp=None ) ¶ Returns the date and t ... ime given by timestamp (which must be None or in the format returned ... by time.time() ), formatted for a message header. If times ...
https://man.plustar.jp/python/library/http.server.html - [similar]
9.6. random --- 擬似乱数を生成する — Python 3.6.5 ドキュメント 6782
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... of a biased coin that settles on heads 60% of the time. >>> trial = lambda : choices ( 'HT' , cum_weights ... dev average_arrival_interval = 5.6 average_service_time = 5.0 stdev_service_time = 0.5 num_waiting = 0 arr ... = service_end if num_waiting else arrival service_time = gauss ( average_service_time , stdev_service_tim ... e ) service_end = service_start + service_time starts . append ( service_start ) waits = [ start ...
https://man.plustar.jp/python/library/random.html - [similar]
8.2. calendar --- 一般的なカレンダーに関する関数群 — Python 3.6.5 ドキュメント 6690
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... 表す引数は整数値で与えます。関連する機能として、 datetimetime モジュールも参照してください。 このモジュー ... ルで提供する関数とクラスのほとんどは datetime に依存しており、過去も未来も現代のグレゴリオ暦を利 ... 後の日のうち、週の欠けを埋めるために必要な日を ( datetime.date オブジェクトとして) 返します。 itermonthdays2 ... month 月の週のリストを返します。週は全て七つの datetime.date オブジェクトからなるリストです。 monthdays2ca ...
https://man.plustar.jp/python/library/calendar.html - [similar]
16.6. logging --- Python 用ロギング機能 — Python 3.6.5 ドキュメント 6690
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... もできます。以下の例を見てください: FORMAT = ' %(asctime)-15s %(clientip)s %(user)-8s %(message)s ' logging ... s a whole, as well as a format string for the date/time portion of a message. If no fmt is specified, '%(m ... gs を使って処理されます。書式化された文字列が '(asctime)' を含むなら、 formatTime() が呼び出され、イベント ... ) スタック情報が例外情報の後に追加されます。 formatTime ( record , datefmt=None ) ¶ This method should be ...
https://man.plustar.jp/python/library/logging.html - [similar]
PREV 1 2 3 4 5 6 7 8 9 10 NEXT