per page, with , order by , clip by
Results of 1 - 10 of about 15 for localtime (0.008 sec.)
time --- 時刻データへのアクセスと変換 13567
time --- 時刻データへのアクセスと変換 このモジュールでは、時刻に関するさまざまな関数を提供します。関連した機能について、 datetime , calendar モジュールも参照してください。 このモジュールは常に利用可能ですが、すべての関数がすべてのプラットフ ... 。また sleep() にはゼロでない端数を与えることができます (Unix の select() があれば、それを使って実装しています)。 gmtime() , localtime() , strptime() が返す時刻値、および asctime() , mktime() , strftime() がとる時刻値は 9 個の整数からなるシーケンスです。 gm ... time() , localtime() , strptime() の戻り値は個々の値を属性名で取得することもできます。 これらのオブジェクトについての解説は struct_time を参照 ... してください: 対象 変換先 関数 エポックからの秒数 UTC の struct_time gmtime() エポックからの秒数 ローカル時間の struct_time localtime() UTC の struct_time エポックからの秒数 calendar.timegm() ローカル時間の struct_time エポックからの秒数 mktime() 関数 time ...
https://man.mtool.work/python/3.14/library/time.html
email.utils: 各種ユーティリティ 12191
email.utils : 各種ユーティリティ ソースコード: Lib/email/utils.py email.utils モジュールには、いくつかの便利なユーティリティがあります: email.utils. localtime ( dt = None ) Return local time as an aware datetime object. If called without ar ... guments, return the current time. Otherwise the dt argument should be a datetime instance, and it is converted to the local time zone according to the system time zone database. If dt is naive (that is, dt.tzinfo is None ), it is assumed to be in loc ... のタプルを UTC のタイムスタンプ (エポックからの秒数) に変換します。与えられた時間帯が None である場合、時間帯として現地時間 (localtime) が仮定されます。 email.utils. formatdate ( timeval = None , localtime = False , usegmt = False ) Returns a date string as ... 2001 01 : 08 : 47 - 0000 Optional timeval , if given, is a floating-point time value as accepted by time.gmtime() and time.localtime() , otherwise the current time is used. Optional localtime is a flag that when True , interprets timeval , and returns a d ...
https://man.mtool.work/python/3.14/library/email.utils.html
datetime --- 基本的な日付と時間の型 9840
datetime --- 基本的な日付と時間の型 ソースコード: Lib/datetime.py datetime モジュールは、日付や時刻を操作するためのクラスを提供しています。 日付や時刻に対する算術がサポートされている一方、実装では出力のフォーマットや操作のための効率的な属性 ... mp ) time.time() の返り値などの POSIX timestamp に対応するローカルな日付を返します。 timestamp がプラットフォームの C 関数 localtime() がサポートする値の範囲から外れていた場合、 OverflowError を送出するかもしれません。また localtime() 呼び出しが失敗した場 ... なシステムでは、うるう秒は fromtimestamp() では無視されます。 バージョン 3.3 で変更: timestamp がプラットフォームの C 関数 localtime() のサポートする値の範囲から外れていた場合、 ValueError ではなく OverflowError を送出するようになりました。 localtime() の ... ) datetime.date(2002, 12, 26) 汎用関数 copy.replace() も date オブジェクトをサポートしています。 date. timetuple ( ) time.localtime() が返すような time.struct_time を返します。 時分秒が 0 で、 DST フラグが -1 です。 d.timetuple() は次の式と等価です: time ...
https://man.mtool.work/python/3.14/library/datetime.html
Python 3.14 で削除予定 8464
Python 3.14 で削除予定 argparse : argparse.BooleanOptionalAction の type 、 choices 、 metavar パラメータは非推奨となり、3.14 で削除されます。 (Nikita Sobolev が gh-92248 で貢献しました。) ast :以下の機能は Python 3.8 からドキュメントで非推 ... nWarning を出すようになりました。 (Serhiy Storchaka と Guido van Rossum が gh-100160 で貢献しました。) email : email.utils.localtime() の isdst パラメータは非推奨になりました。 (Alan Williams が gh-72346 で貢献しました。) importlib.abc の非推奨のクラス: i ...
https://man.mtool.work/python/3.14/deprecations/pending-removal-in-3.14.html
email.headerregistry: カスタムヘッダーオブジェクト 8324
email.headerregistry : カスタムヘッダーオブジェクト ソースコード: Lib/email/headerregistry.py Added in version 3.6: [ 1 ] ヘッダーは str のカスタマイズされたサブクラスで表現されます。 与えられたヘッダーを表現するために使用される特定のクラス ... タイムスタンプとして解釈され、結果として -0000 というタイムゾーンを持つ値になります。 もっと便利なのは utils モジュールの localtime() 関数を使用することです。 msg [ 'Date' ] = utils . localtime () この例では、現在のタイムゾーンオフセットを使用して、日付ヘ ...
https://man.mtool.work/python/3.14/library/email.headerregistry.html
What's New in Python 2.1 8063
What's New in Python 2.1 著者 : A.M. Kuchling はじめに この記事はPython 2.1の新機能について説明します。Python 2.1には Python 2.0ほど多くの変更点はありませんが、楽しい驚きがあります。2.1はPythonの拡張計画(PEP)を使い動かす最初のリリースであ ... れのフレームでの関数の引数とローカル変数の列挙も行う拡張トレースバックの表示をしていました。 time モジュールの asctime() や localtime() などの関数には、エポックからの経過秒数を表す浮動小数点数の引数が必要でした。 これらの関数は現在時刻を扱うために使われるこ ... ば、ログファイルのエントリーには現在時刻の文字列がよく必要になります。 Python 2.1 では、従来必要だった長い time.asctime(time.localtime(time.time())) の代わりに time.asctime() を使えます。 この変更は Thomas Wouters により提案され、実装されました。 ftplib モジ ...
https://man.mtool.work/python/3.14/whatsnew/2.1.html
What's New In Python 3.3 8063
What's New In Python 3.3 この記事では 3.2 と比較した Python 3.3 の新機能を解説します。 Python 3.3 は2012年9月29日にリリースされました。全詳細については 変更履歴 をご覧ください。 参考 PEP 398 - Python 3.3 リリーススケジュール 概要 -- リリース ... addresses [ 0 ] . username 'foo' >>> m [ 'to' ] . addresses [ 0 ] . display_name 'Éric' >>> m [ 'Date' ] = email . utils . localtime () >>> m [ 'Date' ] . datetime datetime.datetime(2012, 5, 25, 21, 39, 24, 465484, tzinfo=datetime.timezone(datetime.timede ... : email ヘッダの日付文字列を aware な datetime に変換します。オフセットが -0000 の場合は、naive な datetime に変換します。 localtime() : 引数なしで呼び出すと、ローカル timezone を使った aware な datetime として現在ローカル時間を返します。aware な datetime ... ムスタンプが範囲外の場合に、 ValueError ではなく OverflowError を送出するようになりました。また、C 関数の gmtime() あるいは localtime() が失敗した場合には OSError を送出するようになりました。 インポートで使われるデフォルトのファインダが、特定のディレクトリ ...
https://man.mtool.work/python/3.14/whatsnew/3.3.html
Logging HOWTO 7924
Logging HOWTO Author : Vinay Sajip <vinay_sajip at red-dove dot com> このページはチュートリアルです。レファレンスやロギングクックブックは、 その他のリソース を参照してください。 基本 logging チュートリアル logging は、あるソフトウェアが実行 ... lname)s - %(message)s ' フォーマッタは設定可能な関数を使って、レコードの作成時刻をタプルに変換します。 デフォルトでは time.localtime() が使われます。 特定のフォーマッタインスタンスで変更するには、その converter 属性を time.localtime() または time.gmtime() ...
https://man.mtool.work/python/3.14/howto/logging.html
logging --- Python 用のログ記録手段 7924
logging --- Python 用のログ記録手段 ソースコード: Lib/logging/__init__.py Important このページには、リファレンス情報だけが含まれています。チュートリアルは、以下のページを参照してください 基本チュートリアル 上級チュートリアル ロギングクックブ ... 結果の文字列が返されます。 この関数は、ユーザが設定できる関数を使って、生成時刻をタプルに変換します。デフォルトでは、 time.localtime() が使われます。特定のフォーマッタインスタンスに対してこれを変更するには、 converter 属性を time.localtime() や time.gmtim ...
https://man.mtool.work/python/3.14/library/logging.html
imaplib --- IMAP4 プロトコルクライアント 7784
imaplib --- IMAP4 プロトコルクライアント ソースコード: Lib/imaplib.py このモジュールは、IMAP4 サーバへの接続をカプセル化する IMAP4 、 IMAP4_SSL 、 IMAP4_stream の 3 クラスを定義します。 これらは RFC 3501 で定義された IMAP4rev1 クライアントプ ... す数値 (int または float、 time.time() の戻り値)、ローカル時刻を表す 9 要素のタプル、 time.struct_time のインスタンス ( time.localtime() の戻り値)、 datetime.datetime の aware なインスタンス、またはダブルクォートで囲んだ文字列を指定できます。 最後の場合、文 ...
https://man.mtool.work/python/3.14/library/imaplib.html
PREV 1 2 NEXT