Python 3.6.5 ドキュメント 検索

phrase: max: clip:
target: order:
Results of 1 - 10 of about 36 for date (0.033 sec.)
8.1. datetime --- 基本的な日付型および時間型 — Python 3.6.5 ドキュメント 15119
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... リ » 8. データ型 » 8.1. datetime --- 基本的な日付型および時間型 ¶ ソースコード: ... Lib/datetime.py datetime モジュールでは、日付や時間データを ... オブジェクトを必要とするアプリケーションのために、 datetime と time オブジェクトは追加のタイムゾーン情報の ... ただ一つの具象 tzinfo クラスである timezone クラスが datetime モジュールで提供されています。 timezone クラス ...
https://man.plustar.jp/python/library/datetime.html - [similar]
26.6. unittest.mock --- 入門 — Python 3.6.5 ドキュメント 10856
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... list 26.6.3.2. 部分的なモック ¶ テストによっては、 datetime.date.today() の呼び出しを既知の date を返すよう ... ことがありました。しかし、テスト対象のコードが新しい date オブジェクトを生成するのを妨げたくはありません。不 ... 運にも、 datetime.date は C で書かれています。したがって、静的な ... date.today() メソッドを単にモンキーパッチすることはでき ...
https://man.plustar.jp/python/library/unittest.mock-examples.html - [similar]
DateTime オブジェクト — Python 3.6.5 ドキュメント 10602
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python/C API リファ ... ュアル » 具象オブジェクト (concrete object) レイヤ » DateTime オブジェクト ¶ datetime モジュールでは、様々な ... 下に示す関数を使う場合には、あらかじめヘッダファイル datetime.h をソースに include し ( Python.h はこのファイ ... ルを include しません)、 PyDateTime_IMPORT マクロを、通常はモジュール初期化関数から ... ります。このマクロは以下のマクロで使われる静的変数 PyDateTimeAPI に C 構造体へのポインタを入れます。 型チェッ ...
https://man.plustar.jp/python/c-api/datetime.html - [similar]
21.16. nntplib --- NNTP プロトコルクライアント — Python 3.6.5 ドキュメント 9731
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... 1091 Re: Commit privileges for Łukasz Langa 1092 Updated ssh key 1093 Re: Updated ssh key 1094 Re: Updated ... sl.HAS_SNI を参照してください)。 NNTP. newgroups ( date , * , file=None ) ¶ Send a NEWGROUPS command. The ... date argument should be a datetime.date or datetime.datetime object. Return a pai ... presenting the groups that are new since the given date . If file is supplied, though, then groups will be ...
https://man.plustar.jp/python/library/nntplib.html - [similar]
19.1.6. email.headerregistry: カスタムヘッダーオブジェクト — Python 3.6.5 ドキ... 9667
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... 追加の属性はありません。 class email.headerregistry. DateHeader ¶ RFC 5322 specifies a very specific format ... for dates within email headers. The DateHeader parser recog ... nizes that date format, as well as recognizing a number of variant ... e wild". このヘッダ型は以下の属性も提供しています: datetime ¶ If the header value can be recognized as a v ...
https://man.plustar.jp/python/library/email.headerregistry.html - [similar]
18.5.6. サブプロセス — Python 3.6.5 ドキュメント 8986
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... ッドで作成されます: import asyncio import sys class DateProtocol ( asyncio . SubprocessProtocol ): def __in ... . set_result ( True ) @asyncio . coroutine def get_date ( loop ): code = 'import datetime; print(datetime. ... # Create the subprocess controlled by the protocol DateProtocol, # redirect the standard output into a pip ... e create = loop . subprocess_exec ( lambda : DateProtocol ( exit_future ), sys . executable , '-c' , ...
https://man.plustar.jp/python/library/asyncio-subprocess.html - [similar]
12.6. sqlite3 --- SQLite データベースに対する DB-API 2.0 インタフェース — Pytho... 8479
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... Create table c . execute ( '''CREATE TABLE stocks (date text, trans text, symbol text, qty real, price rea ... ム名はその最初の単語だけです。すなわち、もし 'as "x [datetime]"' のようなものを SQL の中で使っていたとすると ... . cursor () c . execute ( '''create table stocks (date text, trans text, symbol text, qty real, price rea ... > len ( r ) 5 >>> r [ 2 ] 'RHAT' >>> r . keys () ['date', 'trans', 'symbol', 'qty', 'price'] >>> r [ 'qty' ...
https://man.plustar.jp/python/library/sqlite3.html - [similar]
19.1.14. email.utils: 多方面のユーティリティ — Python 3.6.5 ドキュメント 8162
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... altime ( dt=None ) ¶ Return local time as an aware datetime object. If called without arguments, return cu ... rrent time. Otherwise dt argument should be a datetime instance, and it is converted to the local tim ... ccs + resent_tos + resent_ccs ) email.utils. parsedate ( date ) ¶ RFC 2822 の規則に基づいて日付の解析を試 ... れた形式に従っていないものがあるので、その場合 parsedate() は正しく推測しようとします。 date は "Mon, 20 No ...
https://man.plustar.jp/python/library/email.util.html - [similar]
21.22. http.server --- HTTP サーバ — Python 3.6.5 ドキュメント 8051
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... ten to the internal buffer, followed by Server and Date headers. The values for these two headers are pick ... ed up from the version_string() and date_time_string() methods, respectively. If the server ... server_version と sys_version の属性が含まれます。 date_time_string ( timestamp=None ) ¶ Returns the date ... ader. If timestamp is omitted, it uses the current date and time. 出力は 'Sun, 06 Nov 1994 08:49:37 GMT' の ...
https://man.plustar.jp/python/library/http.server.html - [similar]
13.5. zipfile --- ZIP アーカイブの処理 — Python 3.6.5 ドキュメント 7861
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... です。 class zipfile. ZipInfo ( filename='NoName' , date_time=(1980 , 1 , 1 , 0 , 0 , 0) ) ¶ アーカイブ内の ... e はアーカイブメンバのフルネームでなければならず、 date_time はファイルが最後に変更された日時を表す 6 個の ... tance. If it's an instance, at least the filename, date, and time must be given. If it's a name, the date ... and time is set to the current date and time. The archive must be opened with mode 'w' ...
https://man.plustar.jp/python/library/zipfile.html - [similar]
PREV 1 2 3 4 NEXT