
copy — Shallow and deep copy operations — Python 3.13.3 …
2 days ago · A shallow copy constructs a new compound object and then (to the extent possible) inserts references into it to the objects found in the original. A deep copy constructs a new …
shutil — High-level file operations — Python 3.13.3 documentation
Copy the contents (no metadata) of the file named src to a file named dst and return dst in the most efficient way possible. src and dst are path-like objects or path names given as strings. …
contextvars — Context Variables — Python 3.13.3 documentation
3 days ago · contextvars. copy_context ¶ Returns a copy of the current Context object. The following snippet gets a copy of the current context and prints all variables and their values …
xml.etree.ElementTree — The ElementTree XML API - Python
3 days ago · Parses an XML section from a string constant. This function can be used to embed “XML literals” in Python code. text is a string containing XML data. parser is an optional parser …
aifc — Read and write AIFF and AIFC files - Python
Mar 9, 2022 · Objects returned by open() when a file is opened for reading have the following methods:. aifc.getnchannels ¶ Return the number of audio channels (1 for mono, 2 for stereo). …