Python 3.6.5 ドキュメント 検索
Results of 11 - 20 of about 36 for date (0.637 sec.)
- 10. 標準ライブラリミニツアー — Python 3.6.5 ドキュメント 7734
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python チュートリア
...
要があることに注意してください。) 10.8. 日付と時刻 ¶ datetime モジュールは、日付や時刻を操作するためのクラス...
ンに対応したオブジェクトもサポートしています。 >>> # dates are easily constructed and formatted >>> from dat...
etime import date >>> now = date . today () >>> now datetime.date(20...
003 is a Tuesday on the 02 day of December.' >>> # dates support calendar arithmetic >>> birthday = date (...
- https://man.plustar.jp/python/tutorial/stdlib.html - [similar]
- What's New in Python 2.3 — Python 3.6.5 ドキュメント 7734
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » What's New in Pytho
...
す。変更可能な集合ではこれらのインプレイス版 union_update() と intersection_update() も使えます: >>> S1 = se...
S2 # Alternative notation Set([]) >>> S1 . union_update ( S2 ) >>> S1 Set([1, 2, 3, 4, 5, 6]) >>> It's als...
sion with the ungainly name symmetric_difference_update() . >>> S1 = sets . Set ([ 1 , 2 , 3 , 4 ]) >>> S2...
/tmp/example.zip Archive: /tmp/example.zip Length Date Time Name -------- ---- ---- ---- 8467 11-26-02 22...
- https://man.plustar.jp/python/whatsnew/2.3.html - [similar]
- 11. 標準ライブラリミニツアー --- その 2 — Python 3.6.5 ドキュメント 7607
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python チュートリア
...
= '%' >>> fmt = input ( 'Enter rename style ( %d -date %n-seqnum %f -format): ' ) Enter rename style (%d-...
rmat): Ashley_%n%f >>> t = BatchRename ( fmt ) >>> date = time . strftime ( ' %d %b%y' ) >>> for i , filen...
xt ( filename ) ... newname = t . substitute ( d = date , n = i , f = ext ) ... print ( ' {0} --> {1} ' ....
- https://man.plustar.jp/python/tutorial/stdlib2.html - [similar]
- 8.2. calendar --- 一般的なカレンダーに関する関数群 — Python 3.6.5 ドキュメント 7544
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...
付を表す引数は整数値で与えます。関連する機能として、 datetime と time モジュールも参照してください。 このモジ...
ュールで提供する関数とクラスのほとんどは datetime に依存しており、過去も未来も現代のグレゴリオ暦...
firstweekday が返す数字と同じになります。 itermonthdates ( year , month ) ¶ year 年 month (1--12) 月に対す...
った後の日のうち、週の欠けを埋めるために必要な日を ( datetime.date オブジェクトとして) 返します。 itermonthd...
- https://man.plustar.jp/python/library/calendar.html - [similar]
- 21.15. imaplib --- IMAP4 プロトコルクライアント — Python 3.6.5 ドキュメント 7544
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...
ーティリティ関数が定義されています: imaplib. Internaldate2tuple ( datestr ) ¶ Parse an IMAP4 INTERNALDATE st...
グからなるタプルに変換します。 imaplib. Time2Internaldate ( date_time ) ¶ Convert date_time to an IMAP4 INTE...
RNALDATE representation. The return value is a string in th...
YYY HH:MM:SS +HHMM" (including double-quotes). The date_time argument can be a number (int or float) repre...
- https://man.plustar.jp/python/library/imaplib.html - [similar]
- 18.5.3. タスクとコルーチン — Python 3.6.5 ドキュメント 7480
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...
、毎秒表示するコルーチンの例: import asyncio import datetime async def display_date ( loop ): end_time = lo...
op . time () + 5.0 while True : print ( datetime . datetime . now ()) if ( loop . time () + 1.0...
() # Blocking call which returns when the display_date() coroutine is done loop . run_until_complete ( di...
splay_date ( loop )) loop . close () 参考 The display the cur...
- https://man.plustar.jp/python/library/asyncio-task.html - [similar]
- 19.4. mailbox --- 様々な形式のメールボックス操作 — Python 3.6.5 ドキュメント 7480
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...
お好みのメッセージファクトリを使うこともできます。 update ( arg ) ¶ 引数 arg は key から message へのマッピン...
dd ( message ) ¶ __setitem__ ( key , message ) ¶ update ( arg ) ¶ 警告 これらのメソッドは一意的なファイル名...
ている場合は現在の "info" は書き換えられません。 get_date ( ) ¶ メッセージの配送日時をエポックからの秒数を表...
わす浮動小数点数で返します。 set_date ( date ) ¶ メッセージの配送日時を date にセットしま...
- https://man.plustar.jp/python/library/mailbox.html - [similar]
- 18.5.1. 基底イベントループ — Python 3.6.5 ドキュメント 7353
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...
、イベントループを停止します。 import asyncio import datetime def display_date ( end_time , loop ): print (...
datetime . datetime . now ()) if ( loop . time () + 1.0 ) < end_ti...
me : loop . call_later ( 1 , display_date , end_time , loop ) else : loop . stop () loop = a...
event_loop () # Schedule the first call to display_date() end_time = loop . time () + 5.0 loop . call_soon...
- https://man.plustar.jp/python/library/asyncio-eventloop.html - [similar]
- 21.26. xmlrpc.client --- XML-RPC クライアントアクセス — Python 3.6.5 ドキュメン... 7353
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...
ding=None , verbose=False , allow_none=False , use_datetime=False , use_builtin_types=False , * , context=...
n. The use_builtin_types flag can be used to cause date/time values to be presented as datetime.datetime o...
d as bytes objects; this flag is false by default. datetime.datetime , bytes and bytearray objects may be...
passed to calls. The obsolete use_datetime flag is similar to use_builtin_types but it ap...
- https://man.plustar.jp/python/library/xmlrpc.client.html - [similar]
- 16.7. logging.config --- ロギングの環境設定 — Python 3.6.5 ドキュメント 7227
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...
設定辞書から、 (デフォルトが None の) キー format と datefmt を検索し、それらが Formatter インスタンスを構成...
asctime)s %(levelname)-8s %(name)-15s %(message)s' datefmt : '%Y-%m-%d %H:%M:%S' custom : () : my.package....
ime)s %(levelname)-8s %(name)-15s %(message)s ' , 'datefmt' : '%Y-%m- %d %H:%M:%S' } を持ち、これらの辞書が...
format = F1 %(asctime)s %(levelname)s %(message)s datefmt = class = logging.Formatter The format entry is...
- https://man.plustar.jp/python/library/logging.config.html - [similar]