About 44,600 results
Open links in new tab
  1. datetime — Basic date and time types — Python 3.14.3 documentation

    datetime — Basic date and time types ¶ Source code: Lib/datetime.py The datetime module supplies classes for manipulating dates and times. While date and time arithmetic is supported, the focus of …

  2. DateTime Objects — Python 3.14.3 documentation

    2 days ago · Various date and time objects are supplied by the datetime module. Before using any of these functions, the header file datetime.h must be included in your source (note that this is not …

  3. Data Types — Python 3.14.3 documentation

    2 days ago · datetime — Basic date and time types Aware and naive objects Constants Available types Common properties Determining if an object is aware or naive timedelta objects Examples of usage: …

  4. zoneinfo — IANA time zone support — Python 3.14.3 documentation

    ZoneInfo is a concrete implementation of the datetime.tzinfo abstract base class, and is intended to be attached to tzinfo, either via the constructor, the datetime.replace method or datetime.astimezone:

  5. time — Time access and conversions — Python 3.12.12 documentation

    This module provides various time-related functions. For related functionality, see also the datetime and calendar modules. Although this module is always available, not all functions are available...

  6. Python Documentation contents — Python 3.14.3 documentation

    datetime objects Examples of usage: datetime time objects Examples of usage: time tzinfo objects timezone objects strftime() and strptime() behavior strftime() and strptime() format codes Technical …

  7. Logging HOWTO — Python 3.14.3 documentation

    Logging HOWTO ¶ Author: Vinay Sajip <vinay_sajip at red-dove dot com> This page contains tutorial information. For links to reference information and a logging cookbook, please see Other resources. …

  8. 事件循环 — Python 3.10.19 文档

    Mar 10, 2019 · importasyncioimportdatetimedefdisplay_date(end_time,loop):print(datetime.datetime.now())if(loop.time()+1.0)<end_time:loop.call_later(1,display_date,end_time,loop)else:loop.stop()loop=asyncio.get_event_loop()# …

  9. imaplib — IMAP4 protocol client — Python 3.14.3 documentation

    2 days ago · The date_time argument can be a number (int or float) representing seconds since epoch (as returned by time.time()), a 9-tuple representing local time an instance of time.struct_time (as …

  10. syslog — Unix syslog library routines — Python 3.14.3 documentation

    2 days ago · This module provides an interface to the Unix syslog library routines. Refer to the Unix manual pages for a detailed description of the syslog facility. Availability: Unix, not WASI, not iOS. …