About 400 results
Open links in new tab
  1. datetime — Basic date and time types — Python 3.14.0 …

    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 …

  2. time — Time access and conversions — Python 3.14.0 …

    The number returned by time() may be converted into a more common time format (i.e. year, month, day, hour, etc…) in UTC by passing it to gmtime() function or in local time by passing it …

  3. Logging HOWTO — Python 3.14.0 documentation

    The default format for date/time display (shown above) is like ISO8601 or RFC 3339. If you need more control over the formatting of the date/time, provide a datefmt argument to basicConfig, …

  4. logging — Logging facility for Python — Python 3.14.0 …

    In the case of {}-formatting, you can specify formatting flags by placing them after the attribute name, separated from it with a colon. For example: a placeholder of {msecs:03.0f} would …

  5. zoneinfo — IANA time zone support — Python 3.14.0 …

    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 …

  6. Logging Cookbook — Python 3.14.0 documentation

    In Python 3.2, the Formatter gained a style keyword parameter which, while defaulting to % for backward compatibility, allowed the specification of { or $ to support the formatting approaches …

  7. logging.config — Logging configuration — Python 3.14.0 …

    2 days ago · The second, with id default, has a longer format and also defines the time format explicitly, and will result in a logging.Formatter initialized with those two format strings.

  8. locale — Internationalization services — Python 3.14.0 …

    3 days ago · The language code has the same format as a locale name, but without encoding and @ -modifier. The language code and encoding may be None if their values cannot be …

  9. string — Common string operations — Python 3.14.0 …

    4 days ago · The Formatter class in the string module allows you to create and customize your own string formatting behaviors using the same implementation as the built-in format() method.

  10. DateTime Objects — Python 3.14.0 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 …