
email: Examples — Python 3.13.3 documentation
22 hours ago · Here are a few examples of how to use the email package to read, write, and send simple email messages, as well as more complex MIME messages. First, let’s see how to …
smtplib — SMTP protocol client — Python 3.13.3 documentation
2 days ago · SMTP. send_message (msg, from_addr = None, to_addrs = None, mail_options = (), rcpt_options = ()) ¶ This is a convenience method for calling sendmail() with the message …
Socket Programming HOWTO — Python 3.13.3 documentation
1 day ago · The sending code here is usable for almost any messaging scheme - in Python you send strings, and you can use len() to determine its length (even if it has embedded \0 …
tkinter.messagebox — Tkinter message prompts — Python 3.13.3 …
1 day ago · The message boxes are modal and will return a subset of (True, False, None, OK, CANCEL, YES, NO) based on the user’s selection. Common message box styles and layouts …
socket — Low-level networking interface — Python 3.13.3 …
Send normal and ancillary data to the socket, gathering the non-ancillary data from a series of buffers and concatenating it into a single message. The buffers argument specifies the non …
Logging HOWTO — Python 3.13.3 documentation
HTTPHandler instances send messages to an HTTP server using either GET or POST semantics. WatchedFileHandler instances watch the file they are logging to. If the file changes, it is closed …
Logging Cookbook — Python 3.13.3 documentation
You can use a QueueHandler subclass to send messages to other kinds of queues, for example a ZeroMQ ‘publish’ socket. In the example below,the socket is created separately and passed to …
email.parser: Parsing email messages — Python 3.13.3 …
22 hours ago · Message object structures can be created in one of two ways: they can be created from whole cloth by creating an EmailMessage object, adding headers using the dictionary …
multiprocessing — Process-based parallelism — Python 3.13.3 …
2 days ago · For passing messages one can use Pipe() (for a connection between two processes) or a queue (which allows multiple producers and consumers). The Queue, SimpleQueue and …
syslog — Unix syslog library routines — Python 3.13.3 …
3 days ago · A pure Python library that can speak to a syslog server is available in the logging.handlers module as SysLogHandler. The module defines the following functions: …