id int64 0 2.72k | content stringlengths 5 4.1k | language stringclasses 4
values | embedding unknown |
|---|---|---|---|
300 | levels writing to sys stderr to say what level it s about to log at and then actually logging a message at that level You can pass a parameter to foo which if true will log at ERROR and CRITICAL levels otherwise it only logs at DEBUG INFO and WARNING levels The script just arranges to decorate foo with a decorator whi... | en | "WzAuMDM0MjIwODEwOTc5NjA0NzIsLTAuMDM3MzAyODQ0MjI2MzYwMzIsLTAuMDQ5MjIwNDY1MTIzNjUzNDEsMC4wNzM3MTYzNzIyNTE1MTA2MiwtMC4wMTMwOTkwODU1Mzk1NzkzOTEsLTAuMDkwOTM2NTQxNTU3MzEyMDEsMC4wNDQ0Njk3ODEyMTk5NTkyNiwwLjA0OTExNjAwMDUzMzEwMzk0LC0wLjA1NTQyMzAxMzg2NTk0NzcyLDAuMDI3OTU5OTI5Nzc5MTcxOTQ0LC0wLjAzMzM2MDA0MTY3Nzk1MTgxLC0wLjA0NTczODM... |
301 | lf fromaddr fromaddr if isinstance toaddrs str toaddrs toaddrs self toaddrs toaddrs self subject subject self setFormatter logging Formatter asctime s levelname 5s message s def flush self if len self buffer 0 try smtp smtplib SMTP self mailhost self mailport smtp starttls smtp login self username self password msg Fro... | en | "WzAuMDM3MTUyMzMxMzIyNDMxNTY0LC0wLjA1ODc2NzAyNDQyNzY1MjM2LDAuMDA4MDM2NzcxNzg5MTkzMTUzLC0wLjAwODAyODYxODk5MTM3NDk3LDAuMDAzOTMxMDAyNjkxMzg4MTMsLTAuMDU4MDI1NzE3NzM1MjkwNTMsMC4wODI2NDM2MjA2Njk4NDE3NywtMC4wNDE0Mjg1MTc1NTAyMzAwMjYsLTAuMDA3ODg5NzM4MzA2NDAzMTYsMC4wNzE3OTMzNzczOTk0NDQ1OCwwLjAxNjQ2OTIwODUyMzYzMTA5NiwtMC4wNDY5NzI... |
302 | the manager to close the handler for you on block exit you could do this if you don t need the handler any more To illustrate how it works we can add the following block of code to the above if __name__ __main__ logger logging getLogger foo logger addHandler logging StreamHandler logger setLevel logging INFO logger inf... | en | "WzAuMDE3NjIzNjE2MzgyNDc5NjY4LC0wLjAyODMxODgxODY1ODU5MDMxNywwLjAwMDY0MjMzNTk3MzY4MDAxOTQsMC4wNDA3MjU1NDQwOTUwMzkzNywwLjA2OTgzODM1MjUwMTM5MjM2LC0wLjA2MjU0MTc2MDUwNDI0NTc2LDAuMDcyNzE1MzY0Mzk2NTcyMTEsLTAuMDE1MTczMDI2MzYwNTcxMzg0LDAuMDA0OTU3NjkwMzY5MzM3Nzk3LDAuMDM0MTc5MzYzMzk5NzQ0MDM0LDAuMDU3NTg2ODI2Mzg0MDY3NTM1LC0wLjA3NzM... |
303 | rtlib import_module options command cmd getattr mod command except ImportError AttributeError print Unable to find the code for command s options command return 1 Could get fancy here and load configuration from file or dictionary logging basicConfig level options log_level format levelname s name s message s cmd optio... | en | "Wy0wLjA1Mjg1NTA3ODEzMDk2MDQ2NCwtMC4wNjIzODgyMTUyMTQwMTQwNSwtMC4wNzIzNzQxMzUyNTU4MTM2LDAuMDA5OTc0NjEwMDYwNDUzNDE1LDAuMDQ2NDUzNTI0MzgwOTIyMzIsLTAuMDg4ODAzNTM3MTg5OTYwNDgsMC4wNjMyNzgzMzIzNTI2MzgyNCwwLjAyODEzMDY0NDkzMjM4OTI2LC0wLjA1NDk1MzM4ODg2OTc2MjQyLDAuMDUxNzYwNTc2NjY1NDAxNDYsMC4wNDA3MjU3ODYyMzg5MDg3NywwLjA1MTA1MjY0ODU... |
304 | t except ImportError try from PySide2 import QtCore QtGui QtWidgets Signal QtCore Signal Slot QtCore Slot except ImportError from PyQt5 import QtCore QtGui QtWidgets Signal QtCore pyqtSignal Slot QtCore pyqtSlot logger logging getLogger __name__ Signals need to be contained in a QObject or subclass in order to be corre... | en | "Wy0wLjAyODU3MTc0OTEwNjA0OTUzOCwtMC4wMDMzNzI3ODQ5MzY4MDA1OTksLTAuMDI0MzE1NjU4OTU2NzY2MTMsMC4wMDQ1MDQ5NDg4NTQ0NDY0MTEsLTAuMDc3NzA4NDE1Njg3MDg0MiwtMC4wMzI0NDkxNzgzOTc2NTU0OSwwLjA2MjM3NjkwODk1Nzk1ODIyLDAuMDI0NTgxMzI5ODk3MDQ2MDksMC4wMzgzNDUzMDcxMTE3NDAxMSwwLjAwODU5MzA1OTE0NDkxNDE1LDAuMDMyODU4NzQwNTM4MzU4NjksLTAuMDI0MDIyNjk... |
305 | clicked connect self manual_update self clear_button clicked connect self clear_display Start a new worker thread and connect the slots for the worker self start_thread self work_button clicked connect self worker start Once started the button should be disabled self work_button clicked connect lambda self work_button ... | en | "Wy0wLjA0NDExNTQ1MDIzMzIyMTA1NCwtMC4wMzk3MDk5NzAzNTUwMzM4NzUsLTAuMDkxODkxOTQ0NDA4NDE2NzUsMC4wMTk3MTkyOTUyMDM2ODU3NiwtMC4xMDE4NTEyMDI1NDc1NTAyLC0wLjAyOTQyMzQyNDk3NDA4MzksMC4wNDI1NDAwMTc1MTU0MjA5MTQsLTAuMDY0MjUwMzY0ODk5NjM1MzEsLTAuMDQyMzY0NTQ1MTY2NDkyNDYsMC4wMjQzMzU4MzUxMjkwMjI2LDAuMDM1NjM3MzI2NTM4NTYyNzc1LC0wLjAxODA0MjU... |
306 | structured data using something like this sd foo 12345 bar baz baz bozz fizz r buzz foo 54321 rab baz zab bozz zzif r buzz extra structured_data sd i 1 logger debug Message d i extra extra How to treat a logger like an output stream Sometimes you need to interface to a third party API which expects a file like object t... | en | "WzAuMDA0MTY2ODY1MjU1NjgzNjYwNSwtMC4wMDQwOTc1NTg1NTc5ODcyMTMsLTAuMDY5Mjg1Mjk1OTAzNjgyNzEsMC4wMzkwOTM4MjU5NjYxMTk3NjYsLTAuMDI2OTcwOTk3NDUyNzM1OSwtMC4xMTM1MTQ0NDU3MjIxMDMxMiwwLjA4Njg4MjAzMjQ1NDAxMzgyLDAuMDUzMDkxMTM4NjAxMzAzMSwtMC4wNTYyNTgxNDU3MTk3NjY2MiwwLjAzMzM4NDk3ODc3MTIwOTcyLDAuMDMwMzk5MzMxODIyOTkxMzcsLTAuMDMyODMzMDA... |
307 | same log file multiple times On Windows you will generally not be able to open the same file multiple times as this will lead to a file is in use by another process error However on POSIX platforms you ll not get any errors if you open the same file multiple times This could be done accidentally for example by Adding a... | en | "Wy0wLjA0NDYxNTQ5OTY3NTI3Mzg5NSwtMC4wNzE0NDUwNDA0MDQ3OTY2LC0wLjA1NTM4MzA1MjY3NjkxNjEyLC0wLjAwMzM1MDg2MTM3MDU2MzUwNywwLjAxODk3NTA2OTc0NjM3NTA4NCwtMC4wNzY4NjQ2ODIxMzc5NjYxNiwwLjAyNDgyMzkwNTkwMDEyMDczNSwwLjAxNjkzMDIwMDE1OTU0OTcxMywwLjEwOTMxMzcxODk3NDU5MDMsMC4wMjQ3OTU3NzgwOTU3MjIyLDAuMDI4OTExMDI0MzMyMDQ2NTEsMC4wNTgxNjQxODY... |
308 | pyclbr Python module browser support Source code Lib pyclbr py The pyclbr module provides limited information about the functions classes and methods defined in a Python coded module The information is sufficient to implement a module browser The information is extracted from the Python source code rather than by impor... | en | "Wy0wLjA4OTAzNjQxOTk4NzY3ODUzLC0wLjA1NjUyNDUwMDI1MDgxNjM0NSwtMC4xMjc3NTcxMDIyNTEwNTI4NiwtMC4wMDM4MTc5MTU5MTY0NDI4NzEsMC4wMzAzNDI0OTUwNjg5MDc3MzgsLTAuMDU5ODQxMDA2OTk0MjQ3NDM3LDAuMDIzODQxOTkwMTU3OTYxODQ1LDAuMDMxNTg3NDYyODcyMjY2NzcsLTAuMDcxMDg2Njc0OTI4NjY1MTYsLTAuMDkzNzE3ODg3OTk3NjI3MjYsMC4wNDE5NDI5OTg3NjY4OTkxMSwwLjAzOTc... |
309 | Bytes Objects These functions raise TypeError when expecting a bytes parameter and called with a non bytes parameter type PyBytesObject This subtype of PyObject represents a Python bytes object PyTypeObject PyBytes_Type Part of the Stable ABI This instance of PyTypeObject represents the Python bytes type it is the same... | en | "Wy0wLjA0Mzc4MDMyMzExNzk3MTQyLC0wLjAyNzA3NDIyMzM4NDI2MTEzLDAuMDAzNjcxODIzNzY3OTQ1MTcwNCwwLjA0NDExNTE4NTczNzYwOTg2LC0wLjAyNzg4MTExMzgxMjMyNzM4NSwtMC4wODQ4MTA1OTIyMzQxMzQ2NywwLjEyMzc5NTIxODc2NTczNTYzLDAuMDA5NDY0MTg1Njg0OTE5MzU3LC0wLjA3ODIxMzg0MDcyMzAzNzcyLC0wLjAzNTU4Mjg1MTYxODUyODM2NiwtMC4wNzAxMTU4NzE3Mjc0NjY1OCwtMC4wMTQ... |
310 | the end not counted in length The data must not be modified in any way unless the object was just created using PyBytes_FromStringAndSize NULL size It must not be deallocated If obj is not a bytes object at all PyBytes_AsStringAndSize returns 1 and raises TypeError Changed in version 3 5 Previously TypeError was raise... | en | "Wy0wLjAwNDk2MDEwMjAyOTE0NDc2NCwtMC4wMDM5OTI3NDUxODcxMzM1NTEsLTAuMDM0MzAxNTQ1NDcwOTUyOTksLTAuMDA3MTE0NjI5MjYxMTk1NjYsLTAuMDgyOTg2MzE3NTc0OTc3ODcsLTAuMDgwMTU2NzIxMTc0NzE2OTUsMC4wODIzNzk3NjU4MDg1ODIzLDAuMDczMTg1MTAxMTUxNDY2MzcsLTAuMDQzNjk2OTQzNjcwNTExMjQ2LDAuMDI3ODkxMTY2NTA4MTk3Nzg0LDAuMDE2MDY3MzYzMzIxNzgxMTYsMC4wMjE4NjM... |
311 | 3 An Informal Introduction to Python In the following examples input and output are distinguished by the presence or absence of prompts and to repeat the example you must type everything after the prompt when the prompt appears lines that do not begin with a prompt are output from the interpreter Note that a secondary ... | en | "Wy0wLjA4MjE5OTgyNjgzNjU4NiwtMC4wMTY0NDU3NzY0NDc2NTM3NywwLjAxNzc5MTgzMTg2NTkwNjcxNSwwLjAyMjYyMjk2NTI3NjI0MTMwMiwtMC4wNTUyMDUxOTk4Njc0ODY5NTQsLTAuMDc1MDYzMzU1MjY3MDQ3ODgsMC4wNDI1NjAwNDA5NTA3NzUxNDYsMC4wMzQ5MDExNTcwMjE1MjI1MiwwLjA0NzA4NTg4NDk1ODUwNTYzLDAuMDAxNTA0NDQ0ODY2NDQxMTkwMiwwLjAwMTk5MjM2NzIwODAwMzk5OCwtMC4wMDA4OTk... |
312 | ey said Isn t they said Isn t they said In the Python shell the string definition and output string can look different The print function produces a more readable output by omitting the enclosing quotes and by printing escaped and special characters s First line nSecond line n means newline s without print special char... | en | "Wy0wLjA1NTk1OTQwNzI0MDE1MjM2LDAuMDE1MDQyNDgzODA2NjEwMTA3LC0wLjAxODcwODIwMTEyNTI2NDE2OCwwLjA3NDE2MTgzNTAxNDgyMDEsLTAuMDg5NTI5ODY0NDkwMDMyMiwtMC4wNTMxMDA2MDQ1NjM5NTE0OSwwLjAzNzE2NTA2ODA4OTk2MjAwNiwwLjAwMjEyMjQ3NTA2NzE1MzU3MywtMC4wMjU0NzA5MDEyODA2NDE1NTYsMC4wMzA4MDE2MzE1MTAyNTc3MiwwLjAyMDc0ODg3MDQ0NzI3ODAyMywtMC4wMzQwMjQ... |
313 | 42 the word only has 6 characters Traceback most recent call last File stdin line 1 in module IndexError string index out of range However out of range slice indexes are handled gracefully when used for slicing word 4 42 on word 42 Python strings cannot be changed they are immutable Therefore assigning to an indexed p... | en | "WzAuMDAwOTQ1NDU1MTAzNjQ2OTYzOCwtMC4wMzAzODc1NTI0NTUwNjc2MzUsMC4wMjg0NzY5Nzc3MjA4NTY2NjcsMC4wMjU0MTM2ODY0MDk1OTI2MywtMC4xMDM2MDkxOTY4NDE3MTY3NywtMC4wMDg5ODAxMjIzOTQ4NTk3OSwwLjAyNzg2Mjc0NDQwNTg2NTY3LDAuMTExMzkyODI1ODQxOTAzNjksLTAuMDI5Mzk0Njg5OTQ3MzY2NzE0LDAuMDA3NTk4NjEwMTI5MjA3MzczLDAuMDIzNjkwNzAyMzkzNjUxMDEsMC4wNTg3NjU... |
314 | ll evaluated first before any of the assignments take place The right hand side expressions are evaluated from the left to the right The while loop executes as long as the condition here a 10 remains true In Python like in C any non zero integer value is true zero is false The condition may also be a string or list val... | en | "Wy0wLjAyMjMxNDA0MTg1Mjk1MTA1LDAuMDc4MTI2NDQ1NDEyNjM1OCwtMC4wMTEwMzA4NTQ2NTcyOTIzNjYsMC4wMDgwMzgyNDIzNDc1Mzg0NzEsLTAuMDUxOTQ4NjAzMjQyNjM1NzMsLTAuMDczMDEzMTQxNzUxMjg5MzcsLTAuMDE2ODU4NjcyNzIzMTc0MDk1LDAuMDU0MTc0ODg1MTUzNzcwNDUsLTAuMDI5NzUxMTM4NzYxNjM5NTk1LDAuMDE0NDk3Njk1NDkwNzE3ODg4LDAuMDAyMDY3NDI1NTIxMDkwNjI2NywtMC4wMjI... |
315 | Subprocesses Source code Lib asyncio subprocess py Lib asyncio base_subprocess py This section describes high level async await asyncio APIs to create and manage subprocesses Here s an example of how asyncio can run a shell command and obtain its result import asyncio async def run cmd proc await asyncio create_subproc... | en | "Wy0wLjA3MDIwOTk1MDIwODY2Mzk0LC0wLjAyMjk2OTcwMjI1ODcwNjA5MywtMC4xMTIzNDQ1MTgzMDM4NzExNSwwLjExMDUyNzE4MDEzNTI1MDA5LDAuMDAzMTQ2Nzg2OTQxMjE1Mzk2LC0wLjA3MTQ5NTM2MTYyNjE0ODIyLC0wLjEwMTk3NjQ1NDI1Nzk2NTA5LDAuMDI4OTcxMzUzNTQ1Nzg0OTUsLTAuMDEyNzI0MjM4NDQ3ODQ0OTgyLC0wLjA2MTA2OTEyMzQ0Njk0MTM3NiwtMC4wMjU0ODkyOTExNzYxOTk5MTMsLTAuMDY... |
316 | g busy loop the universal_newlines parameter is not supported This class is not thread safe See also the Subprocess and Threads section coroutine wait Wait for the child process to terminate Set and return the returncode attribute Note This method can deadlock when using stdout PIPE or stderr PIPE and the child process... | en | "Wy0wLjAzNDE4OTMzMjI3NjU4MjcyLC0wLjA3ODg3OTIyMjI3MzgyNjYsLTAuMDUxMDQ5NzE2NzcwNjQ4OTU2LC0wLjA0MDY4OTY5MTkwMTIwNjk3LC0wLjA4NDcyNjI1MTY2MTc3NzUsLTAuMDc4NDY2NjUzODIzODUyNTQsMC4wMjYwMDM2NDU3MzI5OTg4NDgsMC4wNDM1MTM4MzA3NTExODA2NSwtMC4wNTE4NjU3NjAyMzY5Nzg1MywwLjAwNzU4NjUyOTk0NDA5MjAzNSwwLjAxMTE1Nzg4OTg1MDQzNzY0MSwtMC4wMzMyOTM... |
317 | cii rstrip Wait for the subprocess exit await proc wait return line date asyncio run get_date print f Current date date See also the same example written using low level APIs | en | "Wy0wLjA3OTU4NDAwMjQ5NDgxMjAxLC0wLjAwMjQzOTY1OTA4ODg1MDAyMTQsLTAuMTM2MzAyNTQ1NjY2Njk0NjQsMC4wNTg5MTc2ODI2MTc5MDI3NTYsLTAuMDI2NjE4NzM3NzI3NDAzNjQsLTAuMDMyNzc2MzgxODIwNDQwMjksLTAuMTA4NTU5MTM5MDcyODk1MDUsMC4wNzg2MzE5ODIyMDcyOTgyOCwwLjAxMjM5NTgxNDk5MjQ4NzQzLC0wLjAzMjIyODM4Nzg5MjI0NjI0NiwtMC4wMjM0ODE2NTQwMDMyNjI1MiwtMC4wOTI... |
318 | chunk Read IFF chunked data Source code Lib chunk py Deprecated since version 3 11 will be removed in version 3 13 The chunk module is deprecated see PEP 594 for details This module provides an interface for reading files that use EA IFF 85 chunks 1 This format is used in at least the Audio Interchange File Format AIFF... | en | "Wy0wLjA3MjI3Nzg2NjMwMzkyMDc1LDAuMDEyNTI5NDY4MTYzODQ3OTIzLC0wLjAzNTEzNjY0MDA3MTg2ODg5NiwtMC4xMDA2MjE4NTY3NDkwNTc3NywwLjAzNzE1MTg2OTM4NjQzNDU1NSwtMC4wNDM5MDMwNTY1MzIxNDQ1NDcsMC4wMDM2Njc4MjI4MDYxNjQ2MjIzLDAuMDI1OTg5MTU4MDc5MDI4MTMsLTAuMDM4MDc4NTgzNzc2OTUwODM2LC0wLjAxODY0ODQ0MTg4MDk0MTM5LDAuMDI5NzI5ODgwMzkyNTUxNDIyLC0wLjA... |
319 | ensurepip Bootstrapping the pip installer New in version 3 4 Source code Lib ensurepip The ensurepip package provides support for bootstrapping the pip installer into an existing Python installation or virtual environment This bootstrapping approach reflects the fact that pip is an independent project with its own rele... | en | "Wy0wLjA4MDk2NzUzMDYwODE3NzE5LC0wLjAxMzg3NjkyNDI5MTI1MzA5LDAuMDA4ODg2NDg1MzYwNTYyODAxLDAuMDA0MjI3NDM0NzUwNjQ2MzUzLDAuMDY0MjU2MTk4NzA0MjQyNywtMC4wNTQ2MzYyNjIzNTcyMzQ5NTUsLTAuMDA3MjQ4Mzk0NjU2OTI2MzkzNSwwLjA1ODI1MTA2NDI3MDczNDc5LC0wLjA1MDY5OTEyMjI1MDA4MDExLC0wLjA0MjA5MzIzMjI3NDA1NTQ4LDAuMDQ1NzUzOTc0NDY3NTE1OTQ1LC0wLjA0Mzg... |
320 | effects to be avoided Note The bootstrapping process may install additional modules required by pip but other software should not assume those dependencies will always be present by default as the dependencies may be removed in a future version of pip | en | "Wy0wLjA1NTA4NDY3MTgyNTE3MDUyLDAuMDAxNzg0NDE1NTY2MzYyNDQwNiwwLjA0NzI3NjM3NzY3NzkxNzQ4LDAuMDI4MzQxMzYwMzkwMTg2MzEsMC4wOTM2MjA5MTEyNDA1Nzc3LC0wLjAxOTIyNDQyOTUwMzA4MzIzLC0wLjA2NzgwOTQ5OTgwMDIwNTIzLDAuMDA5OTI2Njk5MTAxOTI0ODk2LC0wLjAzODcyOTYzNDEzNTk2MTUzLC0wLjA5NDgzNDM1MDA0OTQ5NTcsMC4wNDUwNDgxMTAxODcwNTM2OCwwLjA3ODE2OTcxMDk... |
321 | posix The most common POSIX system calls This module provides access to operating system functionality that is standardized by the C Standard and the POSIX standard a thinly disguised Unix interface Availability Unix Do not import this module directly Instead import the module os which provides a portable version of th... | en | "Wy0wLjA1NDExNDY1NDY2MDIyNDkxNSwwLjAzNzA1NTgzODg1MzEyMDgwNCwtMC4wNTgyMjAzMzgwNzYzNTMwNywtMC4wMzg3NzQ4NzQwNjEzNDYwNTQsLTAuMDAzODMzMTE5NzU3NDczNDY4OCwtMC4xMTk4MTgyNDA0MDQxMjkwMywwLjAwNjcxMjgxNjY1NTYzNTgzNCwwLjExODM3MzEyNTc5MTU0OTY4LDAuMDM2MjQ1MzM0ODkzNDY1MDQsLTAuMDM2ODY3NTczODU3MzA3NDM0LDAuMDM4MDM1MjQzNzQ5NjE4NTMsMC4wNzQ... |
322 | 5 Using Python on a Mac Author Bob Savage bobsavage mac com Python on a Mac running macOS is in principle very similar to Python on any other Unix platform but there are a number of additional features such as the integrated development environment IDE and the Package Manager that are worth pointing out 5 1 Getting and... | en | "Wy0wLjAwNjY5MTMyOTE4MTE5NDMwNSwtMC4wMjE3NDMyOTE5ODg5Njg4NSwwLjA0NDI4MDY5NjY2MDI4MDIzLDAuMDIwNDEwNjgxMTQzNDAzMDUzLDAuMDc4OTE2ODk5ODU5OTA1MjQsLTAuMTExMzg1NzQwMzM5NzU2MDEsLTAuMDExNTg4MzQyNDg3ODEyMDQyLDAuMDIzMzQ0MjU5NzA5MTE5Nzk3LC0wLjAxNjUwNzE0NTAxNzM4NTQ4MywtMC4wMDgwMTM5MjQ1ODM3OTI2ODYsMC4wMDc1MTAyMDEwNzQxODI5ODcsMC4wMzM... |
323 | introduction to using IDLE can be found at https www hashcollision org hkn python idle_intro index html 5 3 Installing Additional Python Packages This section has moved to the Python Packaging User Guide 5 4 GUI Programming There are several options for building GUI applications on the Mac with Python PyObjC is a Pyth... | en | "Wy0wLjA1OTc4MDcwOTQ0NTQ3NjUzLC0wLjAwODM3NTA2MTY3NTkwNjE4MSwtMC4wNTQyMTUzMzQzNTU4MzExNDYsLTAuMDAxODk0MDY1NjQ0NTkyMDQ2NywwLjAwNTAwODkzMzYwMDAzODI5LC0wLjA4OTg0NjAyOTg3NzY2MjY2LDAuMDMwOTcwMzA4OTI5NjgxNzc4LDAuMDc2MTY2NjU5NTkzNTgyMTUsLTAuMDE3NTYwMTg5NTg5ODU4MDU1LC0wLjAxMTI5MzYyMDgwMjQ2MjEwMSwwLjAyMzE0MDc5OTI1NDE3OSwtMC4wMjA... |
324 | curses Terminal handling for character cell displays Source code Lib curses The curses module provides an interface to the curses library the de facto standard for portable advanced terminal handling While curses is most widely used in the Unix environment versions are available for Windows DOS and possibly other syste... | en | "Wy0wLjAxMzkzMjgxMDE2NDk4ODA0MSwtMC4wMzgxNjQ3NjgzNjgwMDU3NSwtMC4wNTMyNzc0OTk5NzM3NzM5NTYsLTAuMDA1MjI5NDU0OTUzMjIzNDY3LC0wLjE0MjExMDA5NDQyODA2MjQ0LDAuMDAyMzQ1NTk5MDAxMjczNTEzLDAuMDA4MjY4NTA1MzM0ODU0MTI2LDAuMDc4NzA1NTc5MDQyNDM0NjksMC4wMDc2NDgwMjU2MzkzNTUxODMsLTAuMDQyNDEzMDk2ODc0OTUyMzE2LDAuMDI3NDExMjQ4NTM0OTE3ODMsLTAuMDQ... |
325 | virtual screen may be updated by a noutrefresh call after write operations such as addstr have been performed on a window The normal refresh call is simply noutrefresh followed by doupdate if you have to update multiple windows you can speed performance and perhaps reduce screen flicker by issuing noutrefresh calls on... | en | "Wy0wLjAyNTAxOTA3NTcyMTUwMjMwNCwtMC4wMTg0MzYyNDc0ODI4OTU4NSwtMC4wMTc1NTM3NzgzNjUyNTQ0MDIsLTAuMDQyOTcyMzY3MjU2ODc5ODA3LC0wLjExMDI5MTYzNzQ4MDI1ODk0LDAuMDQyNzA3ODI2OTQyMjA1NDMsMC4wNzEyOTYwMjEzNDIyNzc1MywtMC4wMDc0MjEzNDU5MTU2NDUzNjEsMC4wNTkxODc0ODMwNDI0Nzg1NiwtMC4wMzA3ODkyMTUxMTc2OTI5NDcsMC4wNDI1Mjk0ODIzOTQ0NTY4NiwtMC4wMzI... |
326 | n and blue components The value of color_number must be between 0 and COLORS 1 Each of r g b must be a value between 0 and 1000 When init_color is used all occurrences of that color on the screen immediately change to the new definition This function is a no op on most terminals it is active only if can_change_color re... | en | "WzAuMDExNDczNDQwNTY1MTY4ODU4LDAuMDAyNTA5MDA4NjI3Mzg0OTAxLC0wLjA4MTYyMTI5NjcwMzgxNTQ2LC0wLjAzNDUzNDE4OTg1MDA5MTkzNCwtMC4wNjkxOTYyOTg3MTg0NTI0NSwwLjAyNzY5NTIzMTEzOTY1OTg4LDAuMDk4MjA0Mzc0MzEzMzU0NDksMC4wNjczMjE1NjEyNzY5MTI2OSwtMC4wMTExNDgwODAyMjk3NTkyMTYsLTAuMDY1MTM1ODA2Nzk4OTM0OTQsLTAuMDU0NDUxNzcxMDgwNDkzOTMsLTAuMDQ5NDk... |
327 | from the specified position to the lower right corner of the screen curses nl Enter newline mode This mode translates the return key into newline on input and translates newline into return and line feed on output Newline mode is initially on curses nocbreak Leave cbreak mode Return to normal cooked mode with line buff... | en | "Wy0wLjAyNjQ0NjY3OTYwNzAzMzczLC0wLjA2NTM1MjUyMTgzNjc1NzY2LC0wLjAzMjE5NDY1NTM4ODU5MzY3NCwtMC4wMjY5NTM4OTgzNzAyNjU5NiwtMC4xMDk0NDc2NTgwNjE5ODEyLDAuMDI5NDcyMzMyNDQ3NzY3MjU4LDAuMDI3ODI5NTU5NTE5ODg2OTcsMC4wMDMwODU1MjU0NzM1Nzk3NjQ0LDAuMDEzNDM0ODc5NDgxNzkyNDUsLTAuMDYwNjkyOTE3NTU1NTcwNiwwLjA3NzQ5ODM2MTQ2ODMxNTEyLC0wLjA0NTYwNDE... |
328 | ptor for sys stdout will be used curses start_color Must be called if the programmer wants to use colors and before any other color manipulation routine is called It is good practice to call this routine right after initscr start_color initializes eight basic colors black red green yellow blue magenta cyan and white an... | en | "WzAuMDUzMDc0MTg0ODA1MTU0OCwtMC4wNTI0NTYyMDc1NzM0MTM4NSwtMC4wNzAwNjc4NTI3MzU1MTk0MSwtMC4wNjYwMjk4OTg4MjIzMDc1OSwtMC4wNTIxNTQ0MzY3MDc0OTY2NCwwLjAyODczOTI2NDIzNDkwMDQ3NSwwLjA5NzgzNjU5ODc1MzkyOTE0LDAuMDQ2NTQzNDM3OTg3NTY1OTk0LC0wLjAwOTIyMTAxMzYzNTM5Njk1NywtMC4wMzMxMTA0NDM1MDI2NjQ1NjYsLTAuMDAxODEwNjI5NTAyODcwMTQyNSwtMC4wNjA... |
329 | he terminal to a sane state before re raising the exception and generating a traceback The callable object func is then passed the main window stdscr as its first argument followed by any other arguments passed to wrapper Before calling func wrapper turns on cbreak mode turns off echo enables the terminal keypad and in... | en | "WzAuMDI0ODI4MTA5ODkwMjIyNTUsLTAuMDA3MDYxMTkyNzY1ODMxOTQ3LC0wLjA2NTI3ODExMjg4ODMzNjE4LDAuMDY2NjYyMDM1ODgyNDcyOTksLTAuMDQ3NTcxMjA4MzI4MDA4NjUsMC4wNjEyMTc0MDg2MjcyNzE2NSwwLjA2NTc5MzQ2OTU0ODIyNTQsMC4wNzk3MDAyOTExNTY3Njg4LC0wLjA1NzkyODc4NTY4MTcyNDU1LC0wLjAyNjgzNTMwNTYxNjI1OTU3NSwwLjAxMzAyNjgxNjc3MDQzNDM4LC0wLjAzNTcxMTczNTQ... |
330 | 1 the attribute will be set on all the characters to the end of the line This function moves cursor to position y x if supplied The changed line will be touched using the touchline method so that the contents will be redisplayed by the next window refresh window clear Like erase but also cause the whole window to be r... | en | "Wy0wLjA3MDM3NjE5NTAxMzUyMzEsLTAuMDA1NjMzMTg4NDExNTkzNDM3LC0wLjAxOTk3MTk3MjMzMTQwNDY4NiwtMC4wMjQwNzQ5MjUxMDk3NDQwNzIsLTAuMDU4NDcyMzY1MTQwOTE0OTIsMC4wMDk0MzExODI0MDY4NDI3MDksMC4xMDM2NDAxMzE2NTIzNTUyLDAuMDAxNTgxMzkwODUzOTcxMjQzLDAuMDExMDMyODc3NDg5OTI0NDMsLTAuMDE0MjY4NzgwMTI3MTY3NzAyLDAuMDAxMTM3ODA2Njg0NzEwMDg1NCwwLjAwMDY... |
331 | repeated calls to wrefresh This option is disabled by default window inch y x Return the character at the given position in the window The bottom 8 bits are the character proper and upper bits are the attributes window insch ch attr window insch y x ch attr Paint character ch at y x with attributes attr moving the lin... | en | "Wy0wLjA1ODAxMjczNTA5ODYwMDM5LC0wLjAzNzU5NjEzNjMzMTU1ODIzLDAuMDI5MjUzOTg3NTk1NDM4OTU3LDAuMDA4NzU1OTI2MDQyNzk1MTgxLC0wLjEwMTg2MjI3NDExMDMxNzIzLDAuMDIzODg3MjYxNzQ4MzEzOTA0LDAuMDYyMTE1MTQwMjU5MjY1OSwwLjAxOTk0MTIwNTE1ODgyOTY5LDAuMDE1NjAzNzkwMDU5Njg1NzA3LC0wLjA1Mzk1NDQwMzg0NzQ1NTk4LDAuMDM1NjE0Mjg1NjE4MDY2NzksMC4wMjE4OTU1NTI... |
332 | ol Overwrite the window on top of destwin The windows need not be the same size in which case only the overlapping region is copied This copy is destructive which means that the current background character overwrites the old contents of destwin To get fine grained control over the copied region the second form of over... | en | "Wy0wLjAyNTQ4OTc4MTA1MTg3NDE2LDAuMDI1OTQwNDgzNDM1OTg4NDI2LC0wLjAyMzYwMzU1NDgxNTA1Mzk0LDAuMDE1MTQzODIzODA5OTIxNzQxLC0wLjAwODM1NDM0NTMzNjU1NjQzNSwtMC4wMDgzODA2ODEyNzYzMjE0MTEsMC4wNjcwMDQ1NDY1MjMwOTQxOCwwLjA1MTk4NzY2NjYzNjcwNTQsMC4wMTMxNDUyMTc2NzE5OTAzOTUsLTAuMDI0MTMxNzM5NTEyMDg1OTE1LC0wLjAwOTAwNTQxMjQ1OTM3MzQ3NCwwLjAxNzg... |
333 | d of that time window touchline start count changed Pretend count lines have been changed starting with line start If changed is supplied it specifies whether the affected lines are marked as having been changed changed True or unchanged changed False window touchwin Pretend the whole window has been changed for purpos... | en | "Wy0wLjAxMTE5ODE5NDY5NzQ5OTI3NSwwLjAxNjA0NDExOTM3Mjk2MzkwNSwtMC4wMjQ1MTk5OTI5OTIyODE5MTQsMC4wMDQxNDcwMTE3ODY2OTkyOTUsLTAuMDc3MDU5ODk0ODAwMTg2MTYsMC4wMzc3Njg1MDE3ODgzNzc3NiwwLjA0ODExODQxNjIxOTk0OTcyLDAuMDU0NDc1MzUyMTY4MDgzMTksMC4wMjE5MjAxMjQwNjg4NTYyNCwtMC4wMzIxODMzNzE0ODQyNzk2MywtMC4wMTExNTA3MjE0NjA1ODA4MjYsLTAuMDI2NjY... |
334 | d curses KEY_A3 Upper right of keypad curses KEY_B2 Center of keypad curses KEY_C1 Lower left of keypad curses KEY_C3 Lower right of keypad curses KEY_BTAB Back tab curses KEY_BEG Beg beginning curses KEY_CANCEL Cancel curses KEY_CLOSE Close curses KEY_COMMAND Cmd command curses KEY_COPY Copy curses KEY_CREATE Create c... | en | "Wy0wLjAzMTcwMTY3NjU0NzUyNzMxLC0wLjA3ODMzNDA1NTg0MDk2OTA5LC0wLjAyNTIyMzk3NDEzODQ5ODMwNiwtMC4wMTkyNDIxNjE4ODQ5MDM5MDgsLTAuMDc5ODcwNTk2NTI4MDUzMjgsMC4wMjMzMTEwNjkyMzUyMDU2NSwwLjAyNzA1OTA5MTI1NTA2ODc4LDAuMDIzMDIwMjMwMjMzNjY5MjgsLTAuMDI4MzA3MDAyMDM3NzYzNTk2LDAuMDQzNTUxNTM0NDE0MjkxMzgsMC4wMzI3MjU1MzUzMzMxNTY1ODYsLTAuMDE0MDU... |
335 | es ACS_SSSS alternate name for crossover or big plus curses ACS_STERLING pound sterling curses ACS_TTEE top tee curses ACS_UARROW up arrow curses ACS_ULCORNER upper left corner curses ACS_URCORNER upper right corner curses ACS_VLINE vertical line The following table lists mouse button constants used by getmouse Mouse b... | en | "Wy0wLjAyNzIwMjUxODY1Njg0OTg2LC0wLjA4MDQ4Nzg5OTQ4MjI1MDIxLC0wLjA1MTA2MDY5MTQ3NTg2ODIyNSwwLjAxMzU0ODk5MzUwNTUzNzUxLC0wLjAzNTkwMDQ2NjE0NDA4NDkzLDAuMDc2OTE3NDY5NTAxNDk1MzYsMC4wNjk1MDcyNDg2OTk2NjUwNywwLjAxNTM5ODk0NzUyMjA0NDE4MiwtMC4wMTgzNzIzNDM4NTMxMTYwMzUsMC4wNTA4MTgyMjM1MDYyMTIyMzQsMC4wMjkxNDEyNDcyNzI0OTE0NTUsLTAuMDM0OTk... |
336 | Control F KEY_UP Control P KEY_DOWN Control N KEY_BACKSPACE Control h All other keystrokes are treated as a command to insert the given character and move right with line wrapping gather Return the window contents as a string whether blanks in the window are included is affected by the stripspaces member stripspaces T... | en | "Wy0wLjAxNDIxNTczNzU4MTI1MzA1MiwtMC4wMTI5MjAzNjY2MDAxNTU4MywtMC4wNjA5MTk5ODE0NDk4NDI0NSwwLjA2NjI1OTg5ODI0NTMzNDYzLC0wLjA3OTc2MjA0MTU2ODc1NjEsMC4wMzg5MzI5NzUzODE2MTI3OCwwLjA2MTMzMTUzMjg5NTU2NTAzLDAuMDI1NjAxNTIyOTk3MDIxNjc1LDAuMDEzMTM3MDY2NzM2ODE3MzYsMC4wNDY3OTExMDY0NjI0Nzg2NCwwLjA1Mzg4MDU3OTc2OTYxMTM2LDAuMDE4NTY4MjkyMjY... |
337 | inspect Inspect live objects Source code Lib inspect py The inspect module provides several useful functions to help get information about live objects such as modules classes methods functions tracebacks frame objects and code objects For example it can help you examine the contents of a class retrieve the source code... | en | "Wy0wLjA5MTQ5NzEzODE0MjU4NTc1LC0wLjAwMzIxNzEzODgxNTY3MTIwNTUsLTAuMDgyMjgzNTI2NjU5MDExODQsMC4wMjg1Mzg3NTA0ODQ1ODU3NjIsMC4wNjIyNzA4ODcxOTYwNjM5OTUsLTAuMDY0MzczNjEyNDAzODY5NjMsMC4wMzgyMTM5NTMzNzU4MTYzNDUsMC4wMjM0MTQ0NTcyMTY4NTg4NjQsLTAuMDMyNDk2NzY4OTgxMjE4MzQsLTAuMDUwMDg1MTgzMjMzMDIyNjksLTAuMDA0MTEwNzY4OTAzMDQ2ODQ2LDAuMDI... |
338 | gin_tr acking_depth builtin __doc__ documentation string __name__ original name of this function or method __qualname__ qualified name __self__ instance to which a method is bound or None Changed in version 3 5 Add __qualname__ and gi_yieldfrom attributes to generators The __name__ attribute of generators is now set fr... | en | "Wy0wLjA4OTUwMDA3NzA2ODgwNTcsMC4wNDA1MDc2NDgxNDAxOTIwMywtMC4wNTM5NDc1MzgxMzc0MzU5MSwwLjA0OTI0MDI5NDg0MzkxMjEyNSwtMC4wNjQyNjUxMjQ0OTk3OTc4MiwtMC4wMDQ5MjE5MTczMzc5MjQyNDIsMC4wMjQzNTQyODI3NjY1ODA1OCwwLjAwNzc1MTk4ODI0NzAzNjkzNCwtMC4wODAzMjYxNTQ4MjgwNzE2LC0wLjAwMjUwNjk1MjAzNDMwOTUwNjQsLTAuMDAzOTkwMjI1MDI4MjQ2NjQxLC0wLjA5OTg... |
339 | n_coro New in version 3 5 inspect isasyncgenfunction object Return True if the object is an asynchronous generator function for example async def agen yield 1 inspect isasyncgenfunction agen True New in version 3 6 Changed in version 3 8 Functions wrapped in functools partial now return True if the wrapped function is ... | en | "Wy0wLjExNDY2NjY4NTQ2MTk5Nzk5LC0wLjAxODMwMjI3ODU5MzE4MjU2NCwtMC4xMTU5MDg1MzMzMzQ3MzIwNiwwLjA1MTk4NjczOTAzOTQyMTA4LDAuMDI1NDU2MTU0NzE4OTk1MDk0LC0wLjA2MjEyMzYxMTU2OTQwNDYsLTAuMDI4NjU3MDg2MTkzNTYxNTU0LC0wLjAzMzQ5MzA2NDM0MzkyOTI5LC0wLjA1OTI1NTYxODYwMjAzNzQzLC0wLjA0OTUzMzUyMzYxOTE3NDk2LDAuMDM1NDE1NTg2MDg0MTI3NDI2LC0wLjA0Mjg... |
340 | fail with a TypeError if the object is a built in module class or function inspect getsourcelines object Return a list of source lines and starting line number for an object The argument may be a module class method function traceback frame or code object The source code is returned as a list of the lines corresponding... | en | "Wy0wLjE0OTMxMDczNzg0ODI4MTg2LDAuMDE5MDM2OTM5MzY3NjUxOTQsLTAuMDA5MzgzNjczNzc5NjY2NDI0LDAuMDU2MzcyNDIyNzI0OTYyMjM0LDAuMDYxODEwNDU2MjE2MzM1MywtMC4wNjQ2OTY3MjE3MzI2MTY0MiwtMC4wMDQ2ODMzODMyNzQ4MjM0MjcsMC4wNzEwODM2MTI3NDAwMzk4MywwLjAxNjIxNDQ4MjQ4NjI0ODAxNiwtMC4wMDUzMzM1OTkxNjg4MDcyNjgsMC4wMjAwOTYxNDc0MzI5MjMzMTcsMC4wMDkwMzE... |
341 | and that parameters with defaults follow parameters without defaults The optional return_annotation argument can be an arbitrary Python object It represents the return annotation of the callable Signature objects are immutable Use Signature replace to make a modified copy Changed in version 3 5 Signature objects are n... | en | "Wy0wLjA3MjY1MDk5MTM4MDIxNDY5LDAuMDI3Mzk4NTcxMzcyMDMyMTY2LDAuMDAwNDI2NjgwODk3MzYyNTMwMjMsMC4wMjA0ODI0NDMyNzMwNjc0NzQsLTAuMDY4NDcwMjMyMTg4NzAxNjMsLTAuMDM5NzY1NTA2OTgyODAzMzQ1LC0wLjAwMjEwMjgzMTYxMTQwOTc4MzQsLTAuMDM4MDMwNDY0MjAyMTY1NjA0LC0wLjAxNTQ3MTcyMDEzNjcwMjA2LC0wLjA0OTc4MDAxMTE3NzA2Mjk5LDAuMDI2NzYyODIyNjQyOTIyNCwwLjA... |
342 | EYWORD A dict of keyword arguments that aren t bound to any other parameter This corresponds to a kwargs parameter in a Python function definition Example print all keyword only arguments without default values def foo a b c d 10 pass sig signature foo for param in sig parameters values if param kind param KEYWORD_ONLY... | en | "Wy0wLjA0NzQ3MjEwODE1NTQ4ODk3LDAuMDA2NTYwMTY0OTY5NDE0NDczLDAuMDA3ODI1NDQ5MTA5MDc3NDU0LDAuMDIyMzQxODEyMDI5NDgwOTM0LC0wLjAzNTQzMDgwMzg5NDk5NjY0LC0wLjAzNjkwNTU0OTQ2NjYwOTk1NSwwLjA0MjU4MTg3NDg3NzIxNDQzLC0wLjAyOTYyNjM1NjQzNzgwMjMxNSwtMC4wNTEwOTQ4NTYxMTMxOTU0MiwtMC4wMTc2MzMwOTUzODM2NDQxMDQsMC4wMzkzNTEwMjM3MzM2MTU4NzUsLTAuMDI... |
343 | ed if no argument is supplied annotations is a dictionary mapping parameter names to annotations The special key return is used to report the function return value annotation if any Note that signature and Signature Object provide the recommended API for callable introspection and support additional behaviours like pos... | en | "Wy0wLjEwMTAwNDQ1ODk2Mzg3MSwwLjA1NDMwOTE3NDQxODQ0OTQsLTAuMDI0OTY3NDgwNDUwODY4NjA3LDAuMDEwMjM2OTI3MzA4MTQyMTg1LC0wLjAxMzI2NjAwMjc1OTMzNzQyNSwtMC4wODQzOTU3MDY2NTM1OTQ5NywwLjAxNzIxMTgzMjEwNjExMzQzNCwwLjAxODU2MDkyMzYzNTk1OTYyNSwtMC4wNDM4NzU1MjY2MzY4Mzg5MSwtMC4wNDg2MDUwNjk1MTgwODkyOTQsMC4wMjMxNTE5Mzc4NzIxNzE0MDIsMC4wNDA4ODQ... |
344 | returns a true value If the callback never returns a true value the last object in the chain is returned as usual For example signature uses this to stop unwrapping if any object in the chain has a __signature__ attribute defined ValueError is raised if a cycle is encountered New in version 3 4 inspect get_annotations ... | en | "Wy0wLjA4NTE4OTYwMzI2OTEwMDE5LDAuMDc3NzU4NjAyNzk3OTg1MDgsMC4wMTYwMDg0MTgwNTMzODg1OTYsMC4wMjY3Njc0NjA2MjkzNDM5ODcsMC4wNTA3MzE0NzYzOTYzMjIyNSwtMC4xNDM4MTE5NTYwNDgwMTE3OCwwLjA0MjI5MTM2NTU2Mzg2OTQ3NiwtMC4wMzgyMjEyNjk4NDU5NjI1MjQsMC4wMTg0NDM2OTgwNjM0OTI3NzUsLTAuMDkyMDk3MzI3MTEzMTUxNTUsMC4wMjE5MzI0Mjg3MDI3MTIwNiwtMC4wMTM5MjI... |
345 | ds to index The index of the current line being executed in the code_context list positions A dis Positions object containing the start line number end line number start column offset and end column offset associated with the instruction being executed by the frame this traceback corresponds to Changed in version 3 11 ... | en | "Wy0wLjA2NjY4NDg2NDQ2MTQyMTk3LC0wLjAzMDE0NDg3NTg2OTE1NDkzLC0wLjEwMzYyOTIxNjU1MTc4MDcsMC4wMzc4MjYwMTI4MjAwMDU0MiwwLjA0ODQyMTAzNjQ1MjA1NDk4LC0wLjA0ODg4MjY0ODM0ODgwODI5LDAuMDI3NzYwMTcwNDAwMTQyNjcsMC4wMTE4MTIxNTQyMDM2NTMzMzYsLTAuMDU5Njk0ODg2MjA3NTgwNTY2LC0wLjA3NTgyMzczOTE3MTAyODE0LDAuMDAzNDI2NjU3MDU4Mjk4NTg4LDAuMTA3NDA3NTg... |
346 | Descriptors like properties will be invoked and __getattr__ and __getattribute__ may be called For cases where you want passive introspection like documentation tools this can be inconvenient getattr_static has the same signature as getattr but avoids executing code when it fetches attributes inspect getattr_static ob... | en | "Wy0wLjA4NjU1NDU4Njg4NzM1OTYyLDAuMDQ2ODc1NzM3NjA3NDc5MDk1LC0wLjAwOTc3NDAxNTI4NTA3NDcxLDAuMDQ0ODM2MjExOTQ5NTg2ODcsLTAuMDAyNjIzNjExNTk1NDgxNjM0LC0wLjA5MDYwMTg1NDAyNjMxNzYsLTAuMDA5Nzc5ODQyNTcwNDI0MDgsLTAuMDI3ODkxMjA3NDg2MzkxMDY4LC0wLjA2NjI5NzQ3ODk3Mzg2NTUxLC0wLjA0Nzk1ODkwMzAxNDY1OTg4LDAuMDYzODg3NDI0NzY3MDE3MzYsLTAuMDY4NTI... |
347 | elies on the generator exposing a Python stack frame for introspection which isn t guaranteed to be the case in all implementations of Python In such cases this function will always return an empty dictionary New in version 3 3 inspect getcoroutinelocals coroutine This function is analogous to getgeneratorlocals but wo... | en | "Wy0wLjEzMDkwNDQwNjMwOTEyNzgsMC4wMjA4MDE2NDY2MzQ5MzYzMzMsLTAuMTExNzczMjMwMTM1NDQwODMsMC4xMDI4MjEzMTI4NDQ3NTMyNywwLjAyMDUyNDQ4NTAzNjczMDc2NiwtMC4wODc3NDc5NDYzODE1Njg5MSwtMC4wMDA4NDMxOTM2NzMwNjMwNjk2LC0wLjAzNzQ3NjA0MDQyMjkxNjQxLC0wLjAzNDQyMzI4MDUwNzMyNjEyNiwtMC4wNTYxMTY2OTI3MjE4NDM3MiwwLjAyNDcyNTQ3ODE0MjQ5OTkyNCwtMC4wNDI... |
348 | timeit Measure execution time of small code snippets Source code Lib timeit py This module provides a simple way to time small bits of Python code It has both a Command Line Interface as well as a callable one It avoids a number of common traps for measuring execution times See also Tim Peters introduction to the Algor... | en | "Wy0wLjAyMDEwMzQ1ODMxNTEzNDA1LDAuMDQ3MzE0OTQxODgzMDg3MTYsLTAuMDczNTAyMzM5NDIyNzAyNzksLTAuMDAwNjYzNDM0MjEzNDkzMDE5MywtMC4wMTcwNDM3MjY1MTg3NTAxOSwtMC4wODk1ODkzNTczNzYwOTg2MywwLjAwMTU1ODQ0MDAzODkzNDM1LDAuMDMyMDc3ODI2NTU5NTQzNjEsLTAuMDIzNzYxMzUwNjYxNTE2MTksLTAuMDE2MDk1NjM4Mjc1MTQ2NDg0LC0wLjAyMzQzNTY4MjA1ODMzNDM1LC0wLjAxMDY... |
349 | tor Note By default timeit temporarily turns off garbage collection during the timing The advantage of this approach is that it makes independent timings more comparable The disadvantage is that GC may be an important component of the performance of the function being measured If so GC can be re enabled as the first st... | en | "Wy0wLjExNTAxNTYzMzQwNDI1NDkxLDAuMDE3MDUwNTI3MDM2MTkwMDMzLC0wLjA4OTM3NDYwOTI5MTU1MzUsMC4wMDM1MTMwMTQ2NDI1MjE3MzksLTAuMDM2ODM0NDYzNDc3MTM0NzA1LC0wLjAxMjQ2NjE4NTcyNjIyNTM3NiwwLjAwNjQyMTA2OTYxNDU4OTIxNCwwLjAzNjA5Nzg0NjkyNTI1ODYzNiwwLjA5Njc5MjQ5Njc0MDgxODAyLC0wLjAzMTE2NTE5NzQ5MTY0NTgxMywwLjAzMTgzNTg5ODc1Njk4MDg5NiwwLjA2NjE... |
350 | per loop python m timeit s text sample string char g text find char 1000000 loops best of 5 0 342 usec per loop In the output there are three fields The loop count which tells you how many times the statement body was run per timing loop repetition The repetition count best of 5 which tells you how many times the timi... | en | "WzAuMDIwNzk0OTY1MzI2Nzg2MDQsMC4wMjMyODAzNDMwNDA4MjM5MzYsLTAuMDI2NDU5MDYyNDcxOTg1ODE3LC0wLjAxNjYzMzgzNjU1MjUwMDcyNSwtMC4wNDcyNTU2MTY2MzUwODQxNSwtMC4wMzk0MjA1MTkwMjQxMzM2OCwwLjEwMjY1NjM0OTUzOTc1Njc3LDAuMDQ5NjMwNzAxNTQxOTAwNjM1LDAuMDA4NjE0MDQ0NjM2NDg3OTYsLTAuMDQ5Njc5MDgxODg3MDA2NzYsMC4wMjk2NTI2OTA1MTQ5MjIxNDIsMC4wMTIwMjQ... |
351 | File and Directory Access The modules described in this chapter deal with disk files and directories For example there are modules for reading the properties of files manipulating paths in a portable way and creating temporary files The full list of modules in this chapter is pathlib Object oriented filesystem paths Ba... | en | "Wy0wLjA1NTgzNDI2MzU2MzE1NjEzLDAuMDEwNzk2MjY2NjA3OTQwMTk3LC0wLjA0NDAyMDI3NjUxNjY3NTk1LDAuMDY0ODY0NzM5Nzc1NjU3NjUsMC4wMjM0Nzk3ODM5MDc1MzI2OTIsLTAuMTAxMjA2MzYyMjQ3NDY3MDQsMC4wNDQ2OTUyMzk1MTQxMTI0NywwLjE2MjYyMjg4MzkxNTkwMTE4LDAuMDA4NDQ4NDg5MDEwMzM0MDE1LDAuMDEyMjc5NDc2MDM5MTExNjE0LDAuMDQyOTkyNDU3NzQ3NDU5NDEsMC4wNzMzODgyMTE... |
352 | Generic Operating System Services The modules described in this chapter provide interfaces to operating system features that are available on almost all operating systems such as files and a clock The interfaces are generally modeled after the Unix or C interfaces but they are available on most other systems as well He... | en | "Wy0wLjA0NTk1MTAzODU5OTAxNDI4LC0wLjAzODkwNDc3MTIwODc2MzEyLC0wLjAzMjU2NjUwNjQxNTYwNTU0NSwtMC4wMDU3MDM3MDc2OTEyODIwMzQsLTAuMDI0MDk3NTc0ODc0NzU4NzIsLTAuMDczMjc3OTgwMDg5MTg3NjIsMC4wMTA2MTM4NTEyNDkyMTc5ODcsMC4xNTU4MDA1MzYyNzQ5MDk5NywtMC4wNDQxODk4MDMzMDIyODgwNTUsLTAuMDE3NjMzMTc1NDc3Mzg1NTIsLTAuMDYzNzg3MDgwMzQ3NTM4LC0wLjAwNzQ... |
353 | ing shared libraries Loading shared libraries Foreign functions Function prototypes Utility functions Data types Fundamental data types Structured data types Arrays and pointers | en | "Wy0wLjA0ODYwODgwMjI1ODk2ODM1LC0wLjA0NTgwMzUwMjIwMjAzNCwwLjAzNDQxMzQ2MDY0MjA5OTM4LC0wLjA3MjEyNTIyNjI1OTIzMTU3LC0wLjAzODQ1NzI3MDcxMTY2MDM4NSwtMC4wNjY4Nzg3MjExMTc5NzMzMywwLjA0NDQ5NjQzNTY3MjA0NDc1NCwwLjA0NTA5MDA3NTU4MjI2NTg1NCwtMC4wNTY5NjY1ODc5MDExMTU0MiwtMC4wNDQ4NTQ2ODE5Mzg4ODY2NCwtMC4wMjc1MjA2ODQ1MjUzNzA1OTgsLTAuMDQxNDA... |
354 | sndhdr Determine type of sound file Source code Lib sndhdr py Deprecated since version 3 11 will be removed in version 3 13 The sndhdr module is deprecated see PEP 594 for details and alternatives The sndhdr provides utility functions which attempt to determine the type of sound data which is in a file When these funct... | en | "Wy0wLjAwNTU2MjE3OTcyMTg5MTg4LC0wLjA3NTUyMDE5NTA2NjkyODg2LC0wLjExNDQ1ODY1MDM1MDU3MDY4LC0wLjA4OTE4ODUxNjEzOTk4NDEzLDAuMDkwNzUzNjUyMTU1Mzk5MzIsMC4wNjI5MDI4Mzc5OTE3MTQ0OCwtMC4wMDg0MDcwMzMwNDg1NzAxNTYsLTAuMDM1NzQxOTYyNDkyNDY1OTcsMC4wMDkyNjM5NjkwMjY1MDU5NDcsLTAuMDQ1Mjg3OTI5NDc1MzA3NDY1LDAuMDA1MjY4MjM4NDg0ODU5NDY2NiwwLjAxMjk... |
355 | 7 Input and Output There are several ways to present the output of a program data can be printed in a human readable form or written to a file for future use This chapter will discuss some of the possibilities 7 1 Fancier Output Formatting So far we ve encountered two ways of writing values expression statements and th... | en | "WzAuMDM5MDg2MzYwNDg0MzYxNjUsMC4wNTc4NzU2NDgxNDA5MDcyOSwtMC4wNjc2ODg3NjMxNDE2MzIwOCwwLjAwMDIxMzAxMDk3ODc2ODU3OTY2LC0wLjA1ODk1MTk2NjQ2NDUxOTUsMC4wMzI4NTI4NDM0MDM4MTYyMiwwLjAwNzg0NTk3NzMyMTI2NzEyOCwwLjA4NDMzNzM0NjI1NTc3OTI3LC0wLjAzMjk0MTg0MDU4OTA0NjQ4LDAuMDI5NjI0MDU0MjA4Mzk3ODY1LDAuMDM2MDY5OTA3MjQ4MDIwMTcsLTAuMDQ3MDY5NzU... |
356 | equal sign then the representation of the evaluated expression bugs roaches count 13 area living room print f Debugging bugs count area Debugging bugs roaches count 13 area living room See self documenting expressions for more information on the specifier For a reference on these format specifications see the referenc... | en | "WzAuMDM3NjczNjAwMDE4MDI0NDQ1LDAuMDgxNjk1Mzc3ODI2NjkwNjcsLTAuMDU5ODAxMzgxMDgxMzQyNywwLjAwNjEzNDk2NzMxOTY2NzMzOSwtMC4xMDQzNzI4ODg4MDM0ODIwNiwwLjAyMzk3NTczNTUzMDI1NzIyNSwtMC4wMTE1MzAwNjAzMjEwOTI2MDYsMC4wNDA3MzI0OTU0ODY3MzYzLDAuMDA0OTIxMDU3NzI3MTg3ODcyLC0wLjAxOTU2Nzk5ODEyNjE0OTE3OCwwLjAzMjM1NDI1ODAwMDg1MDY4LC0wLjA3ODM0NDI... |
357 | ng None f open workfile w encoding utf 8 The first argument is a string containing the filename The second argument is another string containing a few characters describing the way in which the file will be used mode can be r when the file will only be read w for only writing an existing file with the same name will be... | en | "Wy0wLjAxMzAzNzQ2OTIzODA0MjgzMSwtMC4wMDU2NzIzMTY1MzI1ODIwNDUsLTAuMDc4ODE5MDI5MDMzMTg0MDUsMC4wMzMwMDYwNjA4Njg1MDE2NiwwLjAwNTg3MDAwNzkwOTgzNDM4NSwwLjAxNDUxNTYyNDM4MTYwMTgxLDAuMDI1MzE3MTEwMTIxMjUwMTUzLDAuMDQ1NjI0NzgxMzk5OTY1Mjg2LDAuMDUyNDA5OTI0NTY2NzQ1NzYsMC4wNjAzOTc2ODA4NDg4MzY5LC0wLjAyNTQ3Mjk3MDY3OTQwMjM1LDAuMDMzMDkzOTg... |
358 | to be converted either to a string in text mode or a bytes object in binary mode before writing them value the answer 42 s str value convert the tuple to string f write s 18 f tell returns an integer giving the file object s current position in the file represented as number of bytes from the beginning of the file when... | en | "WzAuMDUwMTQyNjUzMjg2NDU3MDYsMC4wNDg0MTU3NDI4MTQ1NDA4NiwtMC4wNTYxOTkzODI5OTA1OTg2OCwtMC4wMTE5NDY0OTE4OTcxMDYxNywtMC4wNTE3OTQ0NzY4MDcxMTc0NiwwLjAzMDY3Mzk2Mzk0OTA4NDI4MiwwLjA4NDA3NzMyODQ0MzUyNzIyLDAuMDk3ODM0MTc3MzE1MjM1MTQsLTAuMDEyODQzMDg2Mzg0MjM2ODEzLDAuMDE5Njk3NTcxMTczMzEwMjgsLTAuMDIzMDg0MTcyOTc4OTk3MjMsMC4wMzAyOTg0NDk... |
359 | getpass Portable password input Source code Lib getpass py Availability not Emscripten not WASI This module does not work or is not available on WebAssembly platforms wasm32 emscripten and wasm32 wasi See WebAssembly platforms for more information The getpass module provides two functions getpass getpass prompt Passwor... | en | "WzAuMDAwMDk3MjA5MDkyOTI4MDk2NjUsMC4wMTYxMzk1OTQ4MzgwMjMxODYsLTAuMDg2MjM0MjE5MzcyMjcyNDksLTAuMDEyNzU4ODgwODUzNjUyOTU0LDAuMDA3ODMyMDA1NjIwMDAyNzQ3LDAuMDAzNTg0MTgyNTg4MzgzNTU1NCwwLjA1ODE4Nzk2OTAyODk0OTc0LDAuMDY5NTQzNzExODQxMTA2NDEsLTAuMDM2Mjg3MzgyMjQ1MDYzNzgsLTAuMDIwMTgyMTQzODk2ODE4MTYsMC4wMDA4MTc2MzQ3NDczNjM2MjcsLTAuMDM... |
360 | HOWTO Fetch Internet Resources Using The urllib Package Author Michael Foord Introduction Related Articles You may also find useful the following article on fetching web resources with Python Basic Authentication A tutorial on Basic Authentication with examples in Python urllib request is a Python module for fetching U... | en | "Wy0wLjA3MDY1NDM5OTY5MzAxMjI0LDAuMDEwNTUyNjY1MjE4NzEwOSwtMC4wNDcxMTg2NDg4ODY2ODA2LC0wLjAwNjUxMTE2NDM2MzQ3MzY1NCwtMC4wNjA0NTg5NjU1OTk1MzY4OTYsLTAuMTE2ODgxNjUzNjY2NDk2MjgsMC4wMjA4NDM5ODY0MjE4MjM1LDAuMDIyMTk3NTc5OTY0OTk1Mzg0LC0wLjAyMzY2NTE5NTMzMDk3NzQ0LC0wLjA4NDAxOTA1MDAwMjA5ODA4LC0wLjAyMTk5OTE5MTQ5Mjc5NTk0NCwwLjA0OTMxODA... |
361 | n language Python data urllib parse urlencode values data data encode ascii data should be bytes req urllib request Request url data with urllib request urlopen req as response the_page response read Note that other encodings are sometimes required e g for file upload from HTML forms see HTML Specification Form Submiss... | en | "Wy0wLjA3NTIzMDEwNjcxMTM4NzYzLC0wLjAwMDQyODM0NTA1NDM4ODA0NjI2LC0wLjAyMTg1MDIxNzEzMzc2MDQ1MiwwLjAxNDE2MTYxOTM1Nzc2NDcyMSwtMC4xMDM4Mzc0Njc3MzAwNDUzMiwtMC4wNjgwMjk1MTU0NDUyMzIzOSwtMC4wMjY4MTkzNjEzNzM3ODIxNTgsLTAuMDQ4NzgyMTEwMjE0MjMzNCwwLjAxMDUxNDczODk2OTUwNDgzMywtMC4wNTY4MDg5OTY5NDU2MTk1OCwtMC4wMTI2MjI3NTIyMjY4ODkxMzMsLTA... |
362 | rresponds to the error sent by the server Error Codes Because the default handlers handle redirects codes in the 300 range and codes in the 100 299 range indicate success you will usually only see error codes in the 400 599 range http server BaseHTTPRequestHandler responses is a useful dictionary of response codes in t... | en | "Wy0wLjA2ODE5NDMzNzE4OTE5NzU0LC0wLjAzMjUxODc0ODE5Mzk3OTI2LC0wLjAyMTM4OTgzMDg1NzUxNTMzNSwwLjAyMTA5Mzg5Mzc5NjIwNTUyLC0wLjA0MDg3MjQyMTExNTYzNjgyNiwtMC4wMzI2MjE1Njk5MzE1MDcxMSwtMC4wMzgwODcwMDY2NTgzMTU2NiwtMC4wMTU5ODIxNDM1ODA5MTM1NDQsMC4wMjcxMjA1NDU1MDY0NzczNTYsMC4wODc3Njk3NzY1ODI3MTc5LC0wLjAzMjk4NTA5NDkzNDcwMTkyLDAuMDEzMjM... |
363 | lopen req except URLError as e if hasattr e reason print We failed to reach a server print Reason e reason elif hasattr e code print The server couldn t fulfill the request print Error code e code else everything is fine info and geturl The response returned by urlopen or the HTTPError instance has two useful methods i... | en | "Wy0wLjA4MzY3MzAzMDEzODAxNTc1LDAuMDQ1MjQyMTAwOTU0MDU1Nzg2LC0wLjAwMzUyMTEzMzY3OTg5NjU5MywwLjAzMzM0MjEyMzAzMTYxNjIxLC0wLjAzMDYwNDUyMjY3NTI3NTgwMywtMC4wNDM2NTI4ODA5MzY4NjEwNCwtMC4wMzU1MzY2MDU4NjQ3NjMyNiwtMC4wMDY0ODExNzM5MTM5MjU4ODYsMC4wMzA4NjE0MjA1NTY5MDI4ODUsLTAuMDE2MjIzMTc1NDUxMTU5NDc3LDAuMDE5NjQ1Njk4MzY4NTQ5MzQ3LC0wLjA... |
364 | realm we could use it instead of None top_level_url http example com foo password_mgr add_password None top_level_url username password handler urllib request HTTPBasicAuthHandler password_mgr create opener OpenerDirector instance opener urllib request build_opener handler use the opener to fetch a URL opener open a_ur... | en | "Wy0wLjA0MzgxNjY1OTU5OTU0MjYyLC0wLjA5NzQ1MzQ4MjQ0OTA1NDcyLC0wLjAzNzQ5MjI3MTUxMjc0NjgxLC0wLjA2MjM1MzkwMTU2NTA3NDkyLC0wLjA1NTI2NDE2Mzc2MjMzMTAxLC0wLjA5NTQyMjQ2OTA3OTQ5NDQ4LC0wLjA4MDg1MzYwMzc4MDI2OTYyLC0wLjAzODQxNTgxNTY4MTIxOTEsLTAuMDI3ODQzMjI1NzQ3MzQ2ODc4LC0wLjAwNDkxNDI1MTE1NjE1MTI5NSwtMC4wNTIxMjUxMDM3NzE2ODY1NTQsLTAuMDE... |
365 | concurrent futures Launching parallel tasks New in version 3 2 Source code Lib concurrent futures thread py and Lib concurrent futures process py The concurrent futures module provides a high level interface for asynchronously executing callables The asynchronous execution can be performed with threads using ThreadPool... | en | "Wy0wLjEwOTUwOTczNjI5OTUxNDc3LC0wLjAxNTQ5NzM3NDM0ODM0MjQxOSwtMC4wNjQzMjA2NDYyMjY0MDYxLC0wLjAxNTE0OTk3NDI2NDIwNDUwMiwtMC4wODYxMTY5NDcyMzM2NzY5MSwtMC4xMTc0NTEwNjQyODg2MTYxOCwtMC4wODE0MjMxMTg3MTA1MTc4OCwtMC4wMDU1ODY3MDA5Nzk2MjAyMTgsLTAuMDIyMzE1ODY5MTA3ODQyNDQ1LC0wLjAxNzE0MjI2MjMwOTc4OTY1OCwtMC4wMzY3NzM5ODMzODkxMzkxNzUsLTA... |
366 | aiting on b return 6 executor ThreadPoolExecutor max_workers 2 a executor submit wait_on_b b executor submit wait_on_a And def wait_on_future f executor submit pow 5 2 This will never complete because there is only one worker thread and it is executing this function print f result executor ThreadPoolExecutor max_worker... | en | "Wy0wLjA4ODU5MjQzMjQzOTMyNzI0LC0wLjAyODc4NTgxNTQ2MjQ3MDA1NSwtMC4wMTI3NDczNzkwMTk4NTY0NTMsLTAuMDIxODQ1MjUxMzIxNzkyNjAzLDAuMDExOTE2NDg4NDA5MDQyMzU4LC0wLjA0NDc4NTMzNTY1OTk4MDc3NCwtMC4wNDU0ODg1MTQwMDYxMzc4NSwtMC4wNDc3MDY0NDc1NDE3MTM3MTUsMC4wMTQ1MTE4NTQzODc4MTk3NjcsLTAuMDE1NzA3NjA4MzEyMzY4MzkzLC0wLjAwMTk2NjY4ODA4MzQ4NDc2OSw... |
367 | be raised If max_workers is None then the default chosen will be at most 61 even if more processors are available mp_context can be a multiprocessing context or None It will be used to launch the workers If mp_context is None or not given the default multiprocessing context is used See Contexts and start methods initi... | en | "Wy0wLjA4MzU4MTkwMjA4NjczNDc3LC0wLjA5NjM4NzQ1MzM3NzI0Njg2LC0wLjA0MzUxMTkxNTk1MTk2NzI0LC0wLjA1NjAzMDQ3MDg3Nzg4NTgyLC0wLjAxMDQwNzAyNzc4ODQ2MDI1NSwtMC4wNDIxOTcyMjM3NTI3MzcwNDUsLTAuMDI3MTI1MDg4NDk3OTk2MzMsMC4wMzA2NDE2MjA5Nzg3MTMwMzYsLTAuMDU3NjMwODM2OTYzNjUzNTY0LDAuMDU2NTg0MjY4ODA4MzY0ODcsLTAuMDE5NTI0ODE0NTYxMDA5NDA3LC0wLjA... |
368 | ed then this method will wait up to timeout seconds If the call hasn t completed in timeout seconds then a TimeoutError will be raised timeout can be an int or float If timeout is not specified or None there is no limit to the wait time If the future is cancelled before completing then CancelledError will be raised If ... | en | "Wy0wLjEwODMzNzI5ODAzNTYyMTY0LDAuMDUxNDE5NjY0MTc0MzE4MzE0LC0wLjAzNDQwMzI3NTY5ODQyMzM4NiwtMC4wMTIwNDY0NzIxNjk0NTg4NjYsLTAuMDQxNTU1NjcyODgzOTg3NDMsLTAuMDI5NDk0MzI2NTYxNjg5Mzc3LC0wLjAzMDM4Njc1MzM4MDI5ODYxNSwwLjA2MzIwMjM4MTEzNDAzMzIsMC4xMDY2OTg5MDc5MTE3Nzc1LDAuMDI5NTA1ODc2ODI0MjU5NzU4LDAuMDQ2OTY2ODM5NTgxNzI3OTgsMC4wMjc4NjQ... |
369 | s feature for inclusion in the Python standard library Exception classes exception concurrent futures CancelledError Raised when a future is cancelled exception concurrent futures TimeoutError A deprecated alias of TimeoutError raised when a future operation exceeds the given timeout Changed in version 3 11 This class ... | en | "Wy0wLjA5ODgxMzkwNjMxMTk4ODgzLC0wLjAyMjczOTkwOTU4OTI5MDYyLDAuMDM2Mjk3ODgzODM4NDE1MTQ2LC0wLjAzNzk3NzQ4MzEyMzU0MDg4LDAuMDMwMjI5ODc5NTQzMTg1MjM0LC0wLjA1MjYwOTYwNzU3NzMyMzkxNCwtMC4wODc3NjQzMzc2NTg4ODIxNCwwLjAxMTE5OTMwNjY5NjY1MzM2NiwtMC4wMDU1NzAzMTc2MTg1NDg4NywtMC4wMTE5MzE0MDgxOTY2ODc2OTgsLTAuMDA3NDYyNzkyMDk4NTIyMTg2LDAuMDI... |
370 | Context Variables Objects New in version 3 7 Changed in version 3 7 1 Note In Python 3 7 1 the signatures of all context variables C APIs were changed to use PyObject pointers instead of PyContext PyContextVar and PyContextToken e g in 3 7 0 PyContext PyContext_New void in 3 7 1 PyObject PyContext_New void See bpo 3476... | en | "Wy0wLjAzOTA2OTI2NTEyNzE4MjAxLC0wLjEwMTA1NTUzMjY5Mzg2MjkyLC0wLjAzNzQ2NTUxMjc1MjUzMjk2LDAuMDQ5OTI2NDQ4NjEzNDA1MjMsLTAuMDA1OTI4Mzk5OTcyNjE3NjI2LC0wLjAxOTc4MjUwMDM0MTUzNDYxNSwwLjA2OTcyMjc2NDE5NDAxMTY5LDAuMDEyOTYxNDkzODA1MDUwODUsLTAuMDQ4ODcyOTc3NDk1MTkzNDgsLTAuMDAwNTgyNjEwODk3MjU0MTk4OCwwLjAxMjA5MDQwNDUxNzk0ODYyNywtMC4wMTU... |
371 | Old Buffer Protocol Deprecated since version 3 0 These functions were part of the old buffer protocol API in Python 2 In Python 3 this protocol doesn t exist anymore but the functions are still exposed to ease porting 2 x code They act as a compatibility wrapper around the new buffer protocol but they don t give you co... | en | "Wy0wLjAwMjU5OTM4ODU5MzgwNzgxNjUsLTAuMDQ4MjQ3MDAyMDY1MTgxNzMsLTAuMDY5MzAyNjE4NTAzNTcwNTYsLTAuMDA0MDUxMTg0NzQ3MzY4MDk3LC0wLjA5MDYyOTIxMjU1ODI2OTUsLTAuMDU4MjA2ODc4NjAyNTA0NzMsMC4wMDA3NTI1MzkxOTkzMTEyODYyLDAuMDUzNDc3OTM5MjE4MjgyNywtMC4wNDIyNzU4NzU4MDY4MDg0NywtMC4wNjk1MjQ5MjE0NzY4NDA5NywwLjAxMjQxNDY3NjEzNzI2ODU0MywwLjA0NzY... |
372 | Coroutines and Tasks This section outlines high level asyncio APIs to work with coroutines and Tasks Coroutines Awaitables Creating Tasks Task Cancellation Task Groups Sleeping Running Tasks Concurrently Eager Task Factory Shielding From Cancellation Timeouts Waiting Primitives Running in Threads Scheduling From Other ... | en | "Wy0wLjA2MTAzMzUzOTQ3NDAxMDQ3LDAuMDAxODA5MzczOTYzNjI0MjM5LC0wLjEyNjU1NTIzNDE5MzgwMTg4LDAuMTAzMzg2ODM0MjYzODAxNTcsLTAuMDM3NzAzOTIwMTU1NzYzNjI2LC0wLjEwODQzNzE2NTYxNzk0MjgxLC0wLjA3MDk2ODY3MjYzMzE3MTA4LC0wLjAyNzE3OTc4ODc5ODA5Mzc5NiwtMC4wNzM4MzEwMDY4ODQ1NzQ4OSwtMC4wODcyMjg4NjQ0MzEzODEyMywwLjA0ODkxODA4MzMxMDEyNzI2LC0wLjAyODU... |
373 | ate Future objects at the application level code Future objects sometimes exposed by libraries and some asyncio APIs can be awaited async def main await function_that_returns_a_future_object this is also valid await asyncio gather function_that_returns_a_future_object some_python_coroutine A good example of a low level... | en | "Wy0wLjEwODM1MzE5MDEyNDAzNDg4LC0wLjAwMTgxOTM2NjIzOTk0MjYxMDMsLTAuMTMzMTQ1MDkzOTE3ODQ2NjgsMC4wMzk5OTAyODcyNzQxMjIyNCwtMC4wNDczMzc1NDMyMTkzMjc5MywtMC4xMjMxNzgyMjg3MzU5MjM3NywtMC4wNTM1MDgxODExMjQ5MjU2MSwwLjAwMTk1MjE5MTM0OTExODk0OCwtMC4wMDE3MTU2NzYxNjA1MjkyNTU5LC0wLjA0NjU1NTI4ODEzNjAwNTQsMC4wMTY3NTgzNzQ4Njk4MjM0NTYsLTAuMDY... |
374 | ontaining the async with statement is also cancelled The resulting asyncio CancelledError will interrupt an await but it will not bubble out of the containing async with statement Once all tasks have finished if any tasks have failed with an exception other than asyncio CancelledError those exceptions are combined in a... | en | "Wy0wLjA0NzE5MjA3NDM1ODQ2MzI5LC0wLjAzMjI0MTUzNDQ0MTcwOTUyLC0wLjAwMDYzNDkxMDUzODc5MjYxMDIsMC4wOTE5MDgxNzkyMjM1Mzc0NSwwLjAxMDY2MDMxMDI3NTg1MjY4LDAuMDIyMjY2NTI1Nzc1MTk0MTY4LDAuMDE1MzQ3Mjk3MzAzMzc4NTgyLDAuMDA1MDU4NzI4MTU4NDczOTY4NSwwLjAxMjE5OTY5OTg3ODY5MjYyNywtMC4wMzIzNjY4NjgxMDg1MTA5NywwLjA0ODA1OTk1NTIzOTI5NTk2LC0wLjAwNTM... |
375 | s False cancelling gather after it has been marked done won t cancel any submitted awaitables For instance gather can be marked done after propagating an exception to the caller therefore calling gather cancel after catching an exception raised by one of the awaitables from gather won t cancel any other awaitables Chan... | en | "Wy0wLjA3Mzg2ODAxMzkxODM5OTgxLC0wLjAwNDUyODM1NDM4NzczMDM2LC0wLjA1MDk5ODY4MDI5MzU2MDAzLDAuMDM5ODU5NTQwNzYwNTE3MTIsLTAuMDMyOTY4NzM3MTg1MDAxMzcsLTAuMDY2OTA0MDY3OTkzMTY0MDYsLTAuMDE2MjcwNzAyNzA0Nzg3MjU0LC0wLjA1OTE1MjExODg2MTY3NTI2LC0wLjAxMTUxOTMzNDI3OTAwMDc1OSwtMC4wMDE0MTQyMjIxNzcxMTgwNjMsMC4wMTUxMDU0MzY1NTYwNDEyNCwtMC4wMDQ... |
376 | dError internally transforming it into a TimeoutError which can be caught and handled Note The asyncio timeout context manager is what transforms the asyncio CancelledError into a TimeoutError which means the TimeoutError can only be caught outside of the context manager Example of catching TimeoutError async def main ... | en | "Wy0wLjA1MTM5NzA4MTQ2NDUyOTA0LDAuMDMyMDEwOTcyNDk5ODQ3NDEsLTAuMDg0OTMxMTIwMjc2NDUxMTEsMC4xMjc3MjM2OTM4NDc2NTYyNSwwLjA1NzYxNTU3MDcyNDAxMDQ3LC0wLjA4NDU3MzIxNjczNjMxNjY4LC0wLjAxOTAyNzA5OTAxMzMyODU1MiwtMC4wMTUxMDU2MTYzMDEyOTgxNDEsLTAuMDIxODYyOTQ4MzEzMzU1NDQ2LC0wLjA1ODg1MTIxOTcxMzY4NzksMC4wNDQ0MzEzNjk3NTE2OTE4MiwtMC4wNTMyNjc... |
377 | es finish or are cancelled Unlike wait_for wait does not cancel the futures when a timeout occurs Changed in version 3 10 Removed the loop parameter Changed in version 3 11 Passing coroutine objects to wait directly is forbidden Changed in version 3 12 Added support for generators yielding tasks asyncio as_completed aw... | en | "Wy0wLjA1MDEyMjY4MjAwNTE2NzAxLDAuMDMzNjE1NzI2OTc3NTg2NzQ2LC0wLjA3MzUyODQ3NjA1OTQzNjgsMC4wMDU5ODQ5Njg1MDU3OTk3NywwLjA0NTQ4MzE5ODAxNjg4MTk0LC0wLjAwOTkzNTM0MTc3NTQxNzMyOCwtMC4wNTM4NDc1MTAzNjc2MzE5MSwtMC4wMzg3NzkwNjg3MzgyMjIxMiwwLjA1OTY3ODkwMDk4NjkwOTg2NiwwLjAwNzQwOTIyMTQ5MjcwNzcyOSwwLjAzOTQ5MjA3NDQwMDE4NjU0LC0wLjAwMzY4NDg... |
378 | sion 3 7 asyncio iscoroutine obj Return True if obj is a coroutine object New in version 3 4 Task Object class asyncio Task coro loop None name None context None eager_start False A Future like object that runs a Python coroutine Not thread safe Tasks are used to run coroutines in event loops If a coroutine awaits on a... | en | "Wy0wLjA2NDE0NjE5ODMzMjMwOTcyLC0wLjAxODYzNTM1ODY2MTQxMzE5MywtMC4wOTUwNzg4MjU5NTA2MjI1NiwwLjA0NTQ2NDEwMjE3ODgxMjAzLC0wLjAxMDg0OTg0MzczMzAxMjY3NiwtMC4wOTkzNzI1NDMzOTQ1NjU1OCwtMC4wMzY4MDI1MjY1NjM0MDU5OSwtMC4wMjA3NjcwNzk2NjYyNTY5MDUsMC4wMDY1NDUwNDU4Nzg3MzgxNjUsLTAuMDM3ODgwMzcyMjU2MDQwNTcsMC4wMjAzNzg3NTM1NDI5MDAwODUsLTAuMDI... |
379 | return by default all available frames are returned The ordering of the returned list differs depending on whether a stack or a traceback is returned the newest frames of a stack are returned but the oldest frames of a traceback are returned This matches the behavior of the traceback module print_stack limit None file ... | en | "Wy0wLjA1NzgzODIyNzU5OTg1OTI0LC0wLjA2ODAzMDgxMTg0NjI1NjI2LC0wLjExMzcxNjY0NzAyODkyMzAzLDAuMDMzMjc3MTgzNzcxMTMzNDIsMC4wMjE5OTA1NTA2ODE5NDg2NjIsLTAuMDcxMzcxMDU2MTM5NDY5MTUsLTAuMDA2NTk1MDc2MDYxNzg1MjIxLDAuMDEwNTc5Mzk0MTc2NjAyMzY0LC0wLjAyNjk2Mjc4ODc3NTU2MzI0LC0wLjA1NDY0MTE3NjAxNTEzODYyNiwwLjA2OTgxNDcwNDM1ODU3NzczLDAuMDI1Mzk... |
380 | is for some reason suppresing cancellation by catching CancelledError it needs to call this method to remove the cancellation state cancelling Return the number of pending cancellation requests to this Task i e the number of calls to cancel less the number of uncancel calls Note that if this number is greater than zero... | en | "Wy0wLjA3NjA2MjI4NDQwOTk5OTg1LDAuMDIwNDQ5MTE2ODI2MDU3NDM0LC0wLjAzNjc2Njc3NDk1MjQxMTY1LDAuMDY1MDE2NzE2NzE4NjczNywtMC4wMzc3MjYzOTg1NTc0MjQ1NDUsLTAuMDgwMjA1NTI5OTI4MjA3NCwtMC4wMDMwMTY3OTEwNzM2MDU0MTgsLTAuMDE5NjcwNTYwOTU2MDAxMjgyLDAuMDMyNTI5OTEyODg5MDAzNzU0LDAuMDEyNDkzOTIyMzc1MTQyNTc0LDAuMDM4OTEwODM5NzA2NjU5MzIsMC4wMDkwODc... |
381 | math Mathematical functions This module provides access to the mathematical functions defined by the C standard These functions cannot be used with complex numbers use the functions of the same name from the cmath module if you require support for complex numbers The distinction between functions which support complex ... | en | "Wy0wLjA4ODc0NzQ5MzkyMjcxMDQyLDAuMDQ0NjcxNDQ2MDg0OTc2MTk2LC0wLjA4MzU4NzQxNTUxNjM3NjUsMC4wNDA4MTcxMjY2MzE3MzY3NTUsLTAuMDUwNTA1MDM4MzUwODIwNTQsLTAuMDQ5NzEyMzg1OTgyMjc1MDEsMC4wOTM0MjQ4NDE3NjE1ODkwNSwwLjA1MDc3MDgzMDM2MzAzNTIsMC4wNDQwNjA3MjU3MTg3MzY2NSwtMC4wMTA3NTkzNDcxMTg0MzcyOSwwLjAyMDcyNTAyODU4OTM2Nzg2NywtMC4wOTA4MDEyMTY... |
382 | urn True if the values a and b are close to each other and False otherwise Whether or not two values are considered close is determined according to given absolute and relative tolerances rel_tol is the relative tolerance it is the maximum allowed difference between a and b relative to the larger absolute value of a or... | en | "Wy0wLjAzNzQ3MzgyMzg3NTE4ODgzLC0wLjAzOTczNDg3NzY0NTk2OTM5LC0wLjEyNDU3MjMyOTIyMzE1NTk4LC0wLjA1NjkwMDA1NDIxNjM4NDg5LC0wLjAyMjY5ODY2MTMxMjQ2MDksLTAuMDUzODQ3OTQyNTAxMzA2NTM0LC0wLjA0MjUxODQ4NTMzNzQ5NTgwNCwwLjAzNjY0ODUyNjc4Nzc1Nzg3NCwwLjAxMzEwOTM4NTk2NzI1NDYzOSwwLjAyMzg3MjA3NTYwMjQxMjIyNCwwLjA0NjM1MTcwNDc0NjQ4NDc1NiwtMC4wMzg... |
383 | ding error is introduced New in version 3 7 math sumprod p q Return the sum of products of values from two iterables p and q Raises ValueError if the inputs do not have the same length Roughly equivalent to sum itertools starmap operator mul zip p q strict True For float and mixed int float inputs the intermediate prod... | en | "Wy0wLjA5MDg2NTcxNjMzODE1NzY1LDAuMDE1ODE5NjQ2NDE4MDk0NjM1LC0wLjAyNDk5NDk4Nzk5NDQzMjQ1LC0wLjA0NTU0NzM0NzUxNTgyMTQ2LC0wLjAwNTUzNTUyMDE0NzUzMjIyNSwtMC4wNjU5Njk2MjM2MjUyNzg0NywwLjEwMjExNzkyNTg4MjMzOTQ4LDAuMDQwOTgyODgzNDIzNTY2ODIsLTAuMDM5NjU1MDAzNjk2NjgwMDcsMC4wMTA0MjcyMjE2NTU4NDU2NDIsMC4wMjU3NjQzNTE3MTA2NzcxNDcsLTAuMDY0ODg... |
384 | sin x Return the arc sine of x in radians The result is between pi 2 and pi 2 math atan x Return the arc tangent of x in radians The result is between pi 2 and pi 2 math atan2 y x Return atan y x in radians The result is between pi and pi The vector in the plane from the origin to point x y makes this angle with the po... | en | "Wy0wLjA2MTM3Mzc2Mjc4NjM4ODQsLTAuMDQ1OTcyMTM4NjQzMjY0NzcsLTAuMDQ5MDM4MTQ5NDE2NDQ2Njg2LC0wLjAzMjEyMjI0MzE5NTc3MjE3LC0wLjAwMDg1MTgwNzAwOTg5NDQwMDgsMC4wMzYyNjY3ODEzODk3MTMyOSwwLjAzNjg4MTU3MzQ5ODI0OTA1NCwwLjAyNTQ3MzM0MzIwODQzMjE5OCwwLjA2OTM4NDMyOTAyMDk3NzAyLC0wLjAzOTI3MTQ2MjcwODcxMTYyNCwwLjA5MzEwMDAxMTM0ODcyNDM3LDAuMDI2ODQ... |
385 | d where appropriate The current implementation will raise ValueError for invalid operations like sqrt 1 0 or log 0 0 where C99 Annex F recommends signaling invalid operation or divide by zero and OverflowError for results that overflow for example exp 1000 0 A NaN will not be returned from any of the functions above un... | en | "Wy0wLjEwNDI3NDA3OTIwMzYwNTY1LC0wLjA1MzM1OTA2ODkzMDE0OTA4LC0wLjAxNTMzNzk0MDMwNTQ3MTQyLC0wLjAxNjIyOTUyMzM0NTgyODA1NiwwLjAzNjgzMjM5OTY2NjMwOTM2LC0wLjE1OTUzNTA2NTI5MzMxMjA3LDAuMDAwMDk0Mzg0NTM3MDc4NDQwMTksLTAuMDAwOTIzNjE5ODk2NjM5MTM4NSwtMC4wMDk1NzE2MjExOTQ0ODE4NSwwLjA0MTk1MDAwNjAzNzk1MDUxNiwwLjA3NzUxMDAxNDE3NjM2ODcxLDAuMDA... |
386 | Built in Constants A small number of constants live in the built in namespace They are False The false value of the bool type Assignments to False are illegal and raise a SyntaxError True The true value of the bool type Assignments to True are illegal and raise a SyntaxError None An object frequently used to represent ... | en | "Wy0wLjA0NTc5NDU5ODc1ODIyMDY3LDAuMDE0MTMwMjM0NzE4MzIyNzU0LC0wLjAzNzc0NTA2NTk4NzExMDE0LDAuMDU3OTI1NTkzMTA3OTM4NzY2LC0wLjA0MzMwMDA3NzMxOTE0NTIsLTAuMDM5NDIyNDU5OTAwMzc5MTgsMC4wNTU1NTU4NjE0NDMyODExNzQsLTAuMDE5MDYzNTU0NzA0MTg5MywtMC4wNTA0ODkwMzA3Nzg0MDgwNSwtMC4wMDU3MDEwNDg3NjUzMzE1MDcsMC4wMDIxODk5NTc1MzY3NTY5OTIzLC0wLjA3Nzk... |
387 | locale Internationalization services Source code Lib locale py The locale module opens access to the POSIX locale database and functionality The POSIX locale mechanism allows programmers to deal with certain cultural issues in an application without requiring the programmer to know all the specifics of each country whe... | en | "WzAuMDA2MDg4ODY0NTIzOTE3NDM3LC0wLjAwMTY4MzU2ODgxNDc2OTM4NzIsLTAuMDQwMDAzMzQwNjkxMzI4MDUsLTAuMDA3OTkzNTAxNjExMDUzOTQ0LC0wLjExOTU3MDkxODM4MTIxNDE0LC0wLjA0NzAwMTkzOTI2NjkyMDA5LC0xLjU4ODk5OTU2NjU5Mjk3NDZlLTYsMC4wMTE5NTgxNzYyNzAxMjcyOTYsMC4wMDYwNDY0Njk3ODg5OTgzNjUsLTAuMDIzODE1MTAxMDEyNTg3NTQ3LDAuMDI3MDA2NjI3OTkxNzk1NTQsLTA... |
388 | ule The nl_langinfo function accepts one of the following keys Most descriptions are taken from the corresponding description in the GNU C library locale CODESET Get a string with the name of the character encoding used in the selected locale locale D_T_FMT Get a string that can be used as a format string for time strf... | en | "Wy0wLjAyMjYwMTgwOTM1MjYzNjMzNywwLjAxNDE0MzI2NDg1MjQ2NDE5OSwwLjAxODQyOTAwNTUxODU1NTY0LDAuMDE2MzYzMjYxMjY3NTQyODQsLTAuMDUzODY5NzcyNzAyNDU1NTIsMC4wMDQwOTM3NzEzMzQ3Mzc1MzksMC4wMzQ1NTc5OTgxODAzODk0MDQsMC4wNDM2MDIxNzk3MzU4OTg5NywtMC4wMTUxNzkxMTM0ODQ5MTkwNzEsLTAuMDM1MjQ4NjU1ODI1ODUzMzUsMC4wMDk3MTIwMzU3Njc3MzQwNSwtMC4wOTA2OTI... |
389 | ble name LANG The GNU gettext search path contains LC_ALL LC_CTYPE LANG and LANGUAGE in that order Except for the code C the language code corresponds to RFC 1766 language code and encoding may be None if their values cannot be determined Deprecated since version 3 11 will be removed in version 3 15 locale getlocale ca... | en | "Wy0wLjA1ODQzODA5MjQ3MDE2OTA3LDAuMDEwOTMwNzY3MjgyODQzNTksLTAuMDI1MDk2NDY0OTAyMTYyNTUyLC0wLjA1MTc5MjMwNDk2Mjg3MzQ2LC0wLjA5NDM4OTI1OTgxNTIxNjA2LDAuMDI2OTU3NTY1OTE4NTY0Nzk2LDAuMDI2NjAyNDc4Njk3ODk2MDA0LDAuMDE2MTY2NTYyMjE0NDkzNzUsMC4wMDkzNDQ2NjE2MDgzMzgzNTYsLTAuMDM1MTE5NzQ5NjA1NjU1NjcsMC4wMjE2MzM1NjM1NjMyMjc2NTQsLTAuMDkxMTY... |
390 | ction will not work with the C locale so you have to set a locale via setlocale first locale str float Formats a floating point number using the same format as the built in function str float but takes the decimal point into account locale delocalize string Converts a string into a normalized number string following th... | en | "WzAuMDI1MTUwNDYxMTIyMzkzNjA4LC0wLjAxMTUxNTE3NDA2MTA1OTk1MiwtMC4wMjk2ODY1MjE3Mzg3Njc2MjQsLTAuMDIzMDY2OTc3MDM4OTc5NTMsLTAuMDg1NTc0NTg5NjY5NzA0NDQsLTAuMDE5MDQ1MjMxODYzODU2MzE2LDAuMDM5NDc0OTI2ODg4OTQyNzIsMC4wMzU2OTYwMTEwMzY2MzQ0NDUsMC4wMjk2ODM1NTI2ODIzOTk3NSwtMC4wMjk0OTY5NzUyNDMwOTE1ODMsMC4wMzc5MTMwOTUyMDYwMjIyNiwtMC4xMjI... |
391 | r general use you need a locale independent version of an operation that is affected by the locale such as certain formats used with time strftime you will have to find a way to do it without using the standard library routine Even better is convincing yourself that using locale settings is okay Only as a last resort s... | en | "Wy0wLjAxMDU3NzczNTQ5MTA5Njk3MywtMC4wMDYyMjQ4ODQ2NTE2MDEzMTQ1LC0wLjA5MjA3NTY1MzM3NDE5NTEsLTAuMDA3ODA3MTc2MDk0NTAyMjExLC0wLjA0MzcxNjA0Njk1OTE2MTc2LC0wLjAwMjUxNzQ1MDgzMzY5MzE0NjcsLTAuMDM3NzA2ODcwNTg1NjgwMDEsMC4wNzE4Njk1NTIxMzU0Njc1MywtMC4wMDg2ODAyMjQ0MTg2NDAxMzcsLTAuMDQ3MjM1MTIzODEzMTUyMzEsMC4wMDY1NjMwNzA2OTU4NDcyNzMsLTA... |
392 | Cryptographic Services The modules described in this chapter implement various algorithms of a cryptographic nature They are available at the discretion of the installation On Unix systems the crypt module may also be available Here s an overview hashlib Secure hashes and message digests Hash algorithms Usage Construct... | en | "Wy0wLjAyMzQxMjQyNTA3MTAwMTA1MywtMC4wMTI1NzkwMDcwNzQyMzY4NywtMC4wNTUzODMyNTc1Njc4ODI1NCwtMC4xMDg2NjQ5ODk0NzE0MzU1NSwtMC4wNDYzMzUxMTYwMjg3ODU3MDYsLTAuMDYyMDIwNDUwODMwNDU5NTk1LDAuMDQxODQ4OTUzODEzMzE0NDQsMC4wMDIwODMwODQ3Nzg4NjAyMTE0LC0wLjAxODcxOTA2Nzc5NzA2NDc4LC0wLjA0MTU5NDYwOTYxODE4Njk1LC0wLjAwNTg5NzAxMjUzOTIwNzkzNSwwLjA... |
393 | time Time access and conversions 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 on all platforms Most of the functions defined in this module call platform C library functio... | en | "Wy0wLjAyMDE3NjYxOTI5MTMwNTU0MiwwLjA0NTk5NjA2OTkwODE0MjA5LC0wLjA5MzM3NTc0MjQzNTQ1NTMyLC0wLjA1OTUyNDY3NzY5Mzg0Mzg0LC0wLjA0NjQzNzYxNzM5MTM0Nzg4NSwtMC4wMTkyMzE0Nzc3NTIzMjc5MiwtMC4wNTQxMDI4MDQ1MTE3ODU1MSwwLjA4NTM2NzMwNzA2NjkxNzQyLDAuMDE5MzkyOTExMzQ0NzY2NjE3LC0wLjA3NDQzMzc5NjEwNzc2OTAxLDAuMDQyMjI0NjI2OTg4MTcyNTMsLTAuMDUxNzM... |
394 | tion New in version 3 7 time clock_getres clk_id Return the resolution precision of the specified clock clk_id Refer to Clock ID Constants for a list of accepted values for clk_id Availability Unix New in version 3 3 time clock_gettime clk_id float Return the time of the specified clock clk_id Refer to Clock ID Constan... | en | "Wy0wLjA5MDEyNTUyMzUwNzU5NTA2LDAuMDA3MTAyNjIyNjUwNTYzNzE3LC0wLjEzNTc4NjM2OTQ0MjkzOTc2LC0wLjAwMzgwMDA5MjQ5Nzg0MDUyMzcsMC4wMjMyNzc0NDg0OTAyNjIwMywtMC4wNjQ2MDkzNzg1NzYyNzg2OSwwLjAwMDkwODA2OTY2MTgxODQ0NDcsMC4wMjc3MjExMDMyODA3ODI3LDAuMDM0MzUzNjU0ODMxNjQ3ODcsLTAuMDE1MTE0OTEyNzYzMjM3OTUzLC0wLjAyMTA3MjQ2MjIwMTExODQ3LC0wLjEyOTM... |
395 | New in version 3 7 time perf_counter float Return the value in fractional seconds of a performance counter i e a clock with the highest available resolution to measure a short duration It does include time elapsed during sleep and is system wide The reference point of the returned value is undefined so that only the d... | en | "Wy0wLjA2MzczNDg4MTU3OTg3NTk1LC0wLjAzOTk5Mzc4OTA0NzAwMjc5LC0wLjEyNzAxMTkzOTg4MzIzMjEyLDAuMDA0MTc0NDc2OTU1MDg1OTkzLDAuMDA2NTk4OTgyOTU5OTg1NzMzLC0wLjA1MjAxMTM2NjkzMzU4NDIxLDAuMDM3ODMzNTc1MTU5MzExMjk1LDAuMDY3OTA1NTc1MDM3MDAyNTYsMC4xMDgzMjQwODgxNTYyMjMzLDAuMDE0Nzk4MDM1ODQ1MTYwNDg0LC0wLjAxNjc3NTYxOTIzODYxNTAzNiwtMC4wNzQ4NjY... |
396 | ocale s appropriate date representation X Locale s appropriate time representation y Year without century as a decimal number 00 99 Y Year with century as a decimal number z Time zone offset indicating a positive or negative time difference from UTC GMT of the form HHMM or HHMM where H represents decimal hour digits an... | en | "Wy0wLjAxMTU4Nzk4OTUxNjU1NjI2MywwLjA2MzM5Nzk3Mzc3NTg2MzY1LC0wLjA0NDUxMjk0OTg4MzkzNzgzNiwtMC4wMjQwMTY2ODk1MDkxNTMzNjYsMC4wNjQ2MjE3MjQxODgzMjc3OSwtMC4wNTM2OTU4NTM3OTk1ODE1MywtMC4wMTM5NjQ1NTgwMjAyMzQxMDgsMC4wODg3NjY2NzE3MTcxNjY5LDAuMDA5MzI4NzAzMzk2MDIyMzIsLTAuMDIwNTI4MzQwNzEyMTg5Njc0LDAuMDE5OTM0MTk3ODg3Nzc4MjgyLC0wLjA1ODk... |
397 | a floating point number The handling of leap seconds is platform dependent On Windows and most Unix systems the leap seconds are not counted towards the time in seconds since the epoch This is commonly referred to as Unix time Note that even though the time is always returned as a floating point number not all systems ... | en | "Wy0wLjAyMTg4NzA5MDA1NzEzNDYzLDAuMDQ5MDI5NzE5MDg0NTAxMjY2LC0wLjA3MjcxMTg1NTE3MzExMDk2LDAuMDEyNDIyOTgzNTM0NjM0MTEzLC0wLjAwMDIwMDM1NTEzNDQzODcyMzMzLC0wLjA0Mjc0ODY4MjIwMDkwODY2LDAuMDIwMTQ5NTczNjgzNzM4NzEsMC4wNTU2NjAzNTIxMTA4NjI3MywwLjA4NDY2NDA2OTExNjExNTU3LC0wLjA0Mzk1NjE2NDI3MDYzOTQyLC0wLjAwNTM3NjU0MzM4NDA0NTM2MjUsLTAuMDY... |
398 | zone database usually located at usr share zoneinfo For example US Eastern Australia Melbourne Egypt or Europe Amsterdam os environ TZ US Eastern time tzset time tzname EST EDT os environ TZ Egypt time tzset time tzname EET EEST Clock ID Constants These constants are used as parameters for clock_getres and clock_gettim... | en | "Wy0wLjA1MTg0Nzk0OTYyNDA2MTU4NCwtMC4wMDk2NDgxNTcyODM2NjM3NSwtMC4wNzU5MDM0MjMxMzA1MTIyNCwtMC4wMzg0OTU4NTM1NDMyODE1NTUsMC4wNTcyODQ5ODEwMTIzNDQzNiwtMC4wMzQ2Mjc4NDczNzM0ODU1NjUsLTAuMDIyOTE5ODc0NjM4MzE5MDE2LDAuMDIwMzQ2OTk3MzA1NzUwODQ3LDAuMDIxOTkwNzc2MDYyMDExNzIsMC4wMTA5MDM5NDk4NDkzMDc1MzcsLTAuMDAxMjI4NTc3OTIzMDI5NjYxMiwwLjA... |
399 | t year y rather than Y but practice moved to 4 digit years long before the year 2000 After that RFC 822 became obsolete and the 4 digit year has been first recommended by RFC 1123 and then mandated by RFC 2822 | en | "WzAuMDI4MDkxMjQ5OTg3NDgzMDI1LDAuMDI2MzA3Njg3MTYzMzUyOTY2LDAuMDE4MDE0OTQ2OTUyNDYyMTk2LC0wLjEwMTA3NzQ2NzIwMzE0MDI2LC0wLjA1OTM1NTk5MjgyMzgzOTE5LDAuMDc4NDkzODExMTkwMTI4MzMsLTAuMDg2MTA4ODcwODA0MzA5ODQsMC4wNDM1NTU2MzIyMzM2MTk2OSwwLjAxNDk2NjUzMzUxOTMyNzY0LC0wLjAwNjY2NzUyNjQzODgzMjI4MywwLjAxMDE2ODU2ODIzMTE2NTQwOSwwLjA3ODAzMjg... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.