About 471 results
Open links in new tab
  1. Event Loop — Python 3.13.3 documentation

    The event loop is the core of every asyncio application. Event loops run asynchronous tasks and callbacks, perform network IO operations, and run subprocesses. Application developers …

  2. signal — Set handlers for asynchronous events - Python

    2 days ago · Source code: Lib/signal.py This module provides mechanisms to use signal handlers in Python. General rules: The signal.signal() function allows defining custom handlers to be …

  3. threading — Thread-based parallelism — Python 3.13.3 …

    1 day ago · Event Objects¶ This is one of the simplest mechanisms for communication between threads: one thread signals an event and other threads wait for it. An event object manages an …

  4. sched — Event scheduler — Python 3.13.3 documentation

    1 day ago · The sched module defines a class which implements a general purpose event scheduler: class sched. scheduler (timefunc = time.monotonic, delayfunc = time.sleep) ¶ The …

  5. asyncio — Asynchronous I/O — Python 3.13.3 documentation

    create and manage event loops, which provide asynchronous APIs for networking, running subprocesses, handling OS signals, etc; implement efficient protocols using transports; bridge …

  6. 37.7. autoGIL — Global Interpreter Lock handling in event ... - Python

    Feb 7, 2018 · autoGIL — Global Interpreter Lock handling in event loops¶. The autoGIL module provides a function installAutoGIL() that automatically locks and unlocks Python’s Global …

  7. 8. Errors and Exceptions — Python 3.13.3 documentation

    2 days ago · The most common pattern for handling Exception is to print or log the exception and then re-raise it (allowing a caller to handle the exception as well): import sys try : f = open ( …

  8. tkinter — Python interface to Tcl/Tk — Python 3.13.3 documentation

    2 days ago · Tcl/Tk applications are normally event-driven, meaning that after initialization, the interpreter runs an event loop (i.e. Tk.mainloop()) and responds to events. Because it is single …

  9. Logging HOWTO — Python 3.13.3 documentation

    The logging package is designed to swallow exceptions which occur while logging in production. This is so that errors which occur while handling logging events - such as logging …

  10. Runners — Python 3.13.3 documentation

    1 day ago · They are built on top of an event loop with the aim to simplify async code usage for common wide-spread scenarios. Running an asyncio Program. Runner context manager. …

Refresh