id int64 0 2.72k | content stringlengths 5 4.1k | language stringclasses 4
values | embedding unknown |
|---|---|---|---|
800 | th universal newlines as required by importlib abc InspectLoader get_source New in version 3 4 importlib util resolve_name name package Resolve a relative module name to an absolute one If name has no leading dots then name is simply returned This allows for usage such as importlib util resolve_name sys __spec__ parent... | en | "Wy0wLjExMTcxMzk4MzExODUzNDA5LC0wLjA2MDQyNTAwOTU3ODQ2NjQxNSwtMC4wNTE4Nzc1MTM1Mjc4NzAxOCwtMC4wMTUyMzA3Njc0Mjg4NzQ5NywwLjA1OTQxNjUzOTk2NzA2MDA5LC0wLjA1OTQwMDYyOTI1MjE5NTM2LDAuMDAwMjcwNDI5NzY1ODA1NjAyMSwwLjAxNzg3NjEwNzI0NTY4MzY3LC0wLjA2MTQ3MTMzMTg2NDU5NTQxLC0wLjAzMTE3NjI4OTU0MzUwOTQ4MywwLjA3NzAwOTg2NDE1MTQ3NzgxLC0wLjAzNjY... |
801 | odule is required For those same reasons the loader s create_module method must return None or a type for which its __class__ attribute can be mutated along with not using slots Finally modules which substitute the object placed into sys modules will not work as there is no way to properly replace the module references... | en | "Wy0wLjExNjgwNTU0NTk4NTY5ODcsLTAuMDI1MzI0MTc4ODU5NTkxNDg0LC0wLjAzNzQ4NTE4OTczNTg4OTQzNSwwLjA1Mzc3Njc0MTAyNzgzMjAzLDAuMDUxNTQzNDQ0Mzk1MDY1MzEsLTAuMDgxMzYyMjAyNzYzNTU3NDMsLTAuMDAyMzkwMjUzMTI0NzU4NjAxLDAuMDY0MjQ1MjQ2MzUwNzY1MjMsLTAuMDQ3MzE3MzI5Nzk0MTY4NDcsLTAuMDgwNzg5ODc4OTY0NDI0MTMsMC4wMzIwODMzMTAxODY4NjI5NDYsMC4wMjkzOTQ... |
802 | sys meta_path append SpamMetaPathFinder Setting up a path entry finder Make sure to put the path hook in the proper location in the list in terms of priority sys path_hooks append SpamPathEntryFinder path_hook loader_details Approximating importlib import_module Import itself is implemented in Python code making it pos... | en | "Wy0wLjAxMjM3MTY4MDY5OTI4ODg0NSwtMC4wODg3NjUzNjA0MTQ5ODE4NCwtMC4wOTI4NjI0NjQ0ODc1NTI2NCwwLjA0NjA0MTczNDUxNjYyMDYzNiwwLjAwNzcxMzQxMzMzMTY1NzY0OCwtMC4wODg0OTYyMjMwOTIwNzkxNiwwLjAyNzg0MzY5MzI3MTI3OTMzNSwwLjA3ODAzNTExNjE5NTY3ODcxLC0wLjA5ODQ1ODkzODMwMDYwOTU5LC0wLjAxMDIxOTA5OTkzMTQxODg5NiwwLjA0NzYxMDA2NjgzMTExMTkxLC0wLjAxMjY... |
803 | Built in Exceptions In Python all exceptions must be instances of a class that derives from BaseException In a try statement with an except clause that mentions a particular class that clause also handles any exception classes derived from that class but not exception classes from which it is derived Two exception clas... | en | "Wy0wLjA1NjI1MzExMjg1MjU3MzM5NSwwLjAyMTg2MjIyNTYwNzAzNzU0NCwwLjAyODI1MDIxNzQzNzc0NDE0LDAuMDM5MjkwODMwNDkyOTczMzMsMC4wMjg2NTgwODQ1NzEzNjE1NDIsLTAuMDM0ODMxMzUyNTMxOTA5OTQsLTAuMDAzMjcwNjMwNzI0NzI4MTA3NSwwLjA3NTQwMzM5OTc2NTQ5MTQ5LC0wLjA0OTgwOTg4MDU1NDY3NjA1NiwtMC4wMzEzNzg2MjY4MjM0MjUyOSwwLjAxNDYzOTU3MzE3MTczNDgxLC0wLjA1NDY... |
804 | ments args The tuple of arguments given to the exception constructor Some built in exceptions like OSError expect a certain number of arguments and assign a special meaning to the elements of this tuple while others are usually called only with a single string giving an error message with_traceback tb This method sets ... | en | "Wy0wLjAxNTc0MzU4NTMwMzQyNTc5LC0wLjAxNjA0Njc2NDMyOTA3NTgxMywtMC4wMTMyMjY2NDEzNDIwNDM4NzcsMC4wNDU5NTUyNTkzNTI5MjI0NCwwLjA0NTM2NjM1ODAxMTk2MDk4LDAuMDM1Nzk4MDQ2NzM3OTA5MzIsMC4wMzA1MDI2NjU3ODc5MzUyNTcsMC4wOTIxODM1ODk5MzUzMDI3MywtMC4wNDM0Mzc0NDczOTg5MDA5ODYsLTAuMDEwOTgzNjIzNTY0MjQzMzE3LDAuMDI3OTAwODg1NzkwNTg2NDcsMC4wMTYyODI... |
805 | or Delete During execution a check for interrupts is made regularly The exception inherits from BaseException so as to not be accidentally caught by code that catches Exception and thus prevent the interpreter from exiting Note Catching a KeyboardInterrupt requires special consideration Because it can be raised at unp... | en | "Wy0wLjAxNzAzNzgyOTM4NDIwNzcyNiwtMC4wMTY4NzY0MTI1NTU1NzUzNywtMC4wMzgxNTQ0MDA4ODUxMDUxMywwLjAzNzk3NzEyNTQ5NTY3MjIyNiwtMC4wNTEzNTU1ODE3MzA2MDQxNywwLjAxMzQyOTQyNDcyNTQ3MjkyNywwLjA1MzMwMTY1MTAzMDc3ODg4NSwwLjA3OTI0NjIyMjk3Mjg2OTg3LDAuMDUzNjAyNzAyOTE1NjY4NDksMC4wMDk0NTI0NTY2MDg0MTQ2NSwwLjA4NjE1MjU5ODI2MTgzMzE5LDAuMDU1MzQ1MjU... |
806 | ename attribute is now the original file name passed to the function instead of the name encoded to or decoded from the filesystem encoding and error handler Also the filename2 constructor argument and attribute was added exception OverflowError Raised when the result of an arithmetic operation is too large to be repre... | en | "Wy0wLjA3Mjg4NTY4NDY2OTAxNzc5LDAuMDAzODg3MTE5NzAyOTk0ODIzNSwtMC4wMzMwMTkxNDc4MTMzMjAxNiwwLjAxMjQ4ODY5OTUxODE0NDEzLDAuMDE3Nzg0OTM4MjE2MjA5NDEsLTAuMDY4NjM2MzEzMDgwNzg3NjYsMC4wMDk1MzU0MDM5MjIyMDAyMDMsMC4xNDA4MzY4Nzk2MTEwMTUzMiwwLjAyMzM2Njg4MzM5NzEwMjM1NiwwLjAyMDA1NDM0OTY3NTc3NDU3NCwwLjAwNjI4NjI3Njk3MDA1ODY4LC0wLjAxMjU0MTY... |
807 | ised when the interpreter finds an internal error but the situation does not look so serious to cause it to abandon all hope The associated value is a string indicating what went wrong in low level terms You should report this to the author or maintainer of your Python interpreter Be sure to report the version of the P... | en | "WzAuMDE2ODg2NDkxMzI4NDc3ODYsMC4wMzE2MjcxMzM0ODg2NTUwOSwtMC4wMDA5NTM0OTc4MzA3NzgzNjA0LDAuMDM5NDI5NTc4OTMwMTM5NTQsMC4wMjMzOTgwMjEyMzYwNjIwNSwtMC4wNjg2NTU5MTU1NTgzMzgxNywwLjAxMzk5NTEyMTIzMzE2NTI2NCwwLjE0MDQ0NDUwMjIzNDQ1ODkyLDAuMDAwNjk4MTM2MjIzOTQ1NzY2NywwLjAxOTYyODc3NDM3NDcyMzQzNCwtMC4wNDE1NTkzMjM2Njg0Nzk5MiwtMC4wMjM4NTQ... |
808 | ptions are subclasses of OSError they get raised depending on the system error code exception BlockingIOError Raised when an operation would block on an object e g socket set for non blocking operation Corresponds to errno EAGAIN EALREADY EWOULDBLOCK and EINPROGRESS In addition to those of OSError BlockingIOError can h... | en | "Wy0wLjA3MDUzNzUwMDA4MzQ0NjUsLTAuMDM2NzU1OTYwNDM0Njc1MjIsLTAuMDEwMjMyNTQ1NDM1NDI4NjIsMC4wMTE1OTIyMDAwMjU5MTYxLC0wLjA0NDU2NDcwOTA2NzM0NDY2NiwtMC4wMzQ5NTEyODgyNTMwNjg5MjQsMC4wNjk0NjcyOTEyMzU5MjM3NywwLjA5NjE4NTg3NzkxOTE5NzA4LDAuMDIxMzQ2MjU0Mjc0MjQ5MDc3LDAuMDE5NzgzMjc1MjAxOTE2Njk1LC0wLjAwMDkxODg0NDQ4MTkzMDEzNjcsMC4wMDIwMTk... |
809 | he deprecation policy is described in PEP 387 exception SyntaxWarning Base class for warnings about dubious syntax exception RuntimeWarning Base class for warnings about dubious runtime behavior exception FutureWarning Base class for warnings about deprecated features when those warnings are intended for end users of a... | en | "Wy0wLjAxMjIxNjg2MzIyMjQyMDIxNiwwLjAyNzI5NzYyOTA0MzQ1OTg5MiwtMC4wMDMzMjg5MjMxMzU5OTU4NjUsMC4wMzY4OTExNjk4NDYwNTc4OSwwLjA3NDkyNzA2OTI0Njc2ODk1LDAuMDA0NDA1MzMxMzMyMjM2NTI4LDAuMDUwMzMyMTM2NDUyMTk4MDMsMC4wNjIzMTY5MDk0MzI0MTExOTQsLTAuMDQ4ODM3MDI0NzE4NTIzMDI2LC0wLjA1MDk5Njk4OTAxMTc2NDUyNiwwLjAyOTU5NDMxNTIxNTk0NTI0NCwtMC4wMzc... |
810 | es__ MyGroup eg ValueError 1 TypeError 2 Exception context Exception cause a note match match __context__ match __cause__ match __notes__ MyGroup eg ValueError 1 Exception context Exception cause a note rest rest __context__ rest __cause__ rest __notes__ MyGroup eg TypeError 2 Exception context Exception cause a note e... | en | "Wy0wLjA2OTE1NTMxMzA3NDU4ODc4LC0wLjAzNzg4MjkzNTI1NTc2NTkxNSwwLjAwMzEwNzM2NTY4NjQ0NjQyODMsMC4wMTc4MDg4MjEwNTIzMTI4NSwwLjAxNjU5Nzg2ODg3NDY2OTA3NSwtMC4wMDU5ODQ2OTkzNTM1NzU3MDY1LDAuMDA4NjcxOTkzMzg5NzI1Njg1LDAuMDUwNTc3OTM4NTU2NjcxMTQsLTAuMDM3OTE2ODI0MjIxNjExMDIsLTAuMDExNTI4ODYyNjQwMjYxNjUsMC4wMzM0MjEwMzIxMzA3MTgyMywtMC4wOTI... |
811 | tempfile Generate temporary files and directories Source code Lib tempfile py This module creates temporary files and directories It works on all supported platforms TemporaryFile NamedTemporaryFile TemporaryDirectory and SpooledTemporaryFile are high level interfaces which provide automatic cleanup and can be used as ... | en | "Wy0wLjA1Mzk4NTE3NDc0NTMyMTI3NCwwLjAyNDE3NDY4ODM4MzkzNjg4MiwtMC4xMTM3MTk0MTExOTQzMjQ1LDAuMDU2MzUyMzczMjEyNTc1OTEsMC4wMjc5NDIyNzAwNDA1MTIwODUsLTAuMTAyODY2MDA4ODc3NzU0MjEsMC4wOTQzNzY5OTYxNTk1NTM1MywwLjA3Njc4ODc5Nzk3NDU4NjQ5LDAuMDY3MDQ0NTYzNTkxNDgwMjYsMC4wNDEzMTMzOTExNzg4NDYzNiwwLjA4Nzk4NzU0OTYwMjk4NTM4LDAuMDQyNjA2MTUyNTk... |
812 | e set the delete parameter to be false or in case the temporary file is created in a with statement set the delete_on_close parameter to be false The latter approach is recommended as it provides assistance in automatic cleaning of the temporary file upon the context manager exit Opening the temporary file again by its... | en | "Wy0wLjA0MzkxOTIwMTk0MDI5ODA4LC0wLjAwMzYwMDM1MDU4MTEwOTUyMzgsLTAuMDgxNTk0ODg0Mzk1NTk5MzcsMC4wNTgwODEyMTcxMTAxNTcwMSwwLjAzMTE5ODU2NDkxNjg0OTEzNiwtMC4wMzg2NjU4OTA2OTM2NjQ1NSwwLjA5NTYzNDAwNTk2MzgwMjM0LC0wLjAxNTk2NTk2MDkxOTg1NzAyNSwwLjA4NDgzOTA0NjAwMTQzNDMzLDAuMDQ2OTYyNjgyMTU3NzU0OSwwLjA3MTYxMDAyNjA2MTUzNDg4LDAuMDE4MzAzOTQ... |
813 | be conditional based on other logic Raises an auditing event tempfile mkdtemp with argument fullpath New in version 3 2 Changed in version 3 10 Added ignore_cleanup_errors parameter Changed in version 3 12 Added the delete parameter tempfile mkstemp suffix None prefix None dir None text False Creates a temporary file i... | en | "Wy0wLjA0NTMwMjkwNTE0MjMwNzI4LDAuMDQxNzIyMTMwMDMwMzkzNiwtMC4wNjE5Nzg5MzI0NzAwODMyNCwtMC4wMTE5MzA4MjYxMjAwNzg1NjQsMC4wNjk2MDQyNDAzNTc4NzU4MiwtMC4wNDkxODM0MjA4MzY5MjU1MSwwLjA1ODc4NTU0Mjg0NTcyNjAxLDAuMDczNTUyOTg4NDY5NjAwNjgsMC4wNzY2OTg0NjcxMzU0MjkzOCwwLjAyOTU2ODg3ODkzMzc4NzM0NiwwLjA3ODA5MTg3NDcxODY2NjA4LDAuMDAxNTAzNjQ3MDc... |
814 | tmp in that order 5 As a last resort the current working directory The result of this search is cached see the description of tempdir below Changed in version 3 10 Always returns a str Previously it would return any tempdir value regardless of type so long as it was not None tempfile gettempdirb Same as gettempdir but ... | en | "Wy0wLjA4Mjc4NTk2NDAxMjE0NiwwLjAwNTQwNzAzMDIyODUyNTQsLTAuMDkyMTQ0NzA1MzU1MTY3MzksMC4wNTkzMzMxNzkxNDYwNTE0MSwwLjA2NDA1NzUyMTUyMjA0NTE0LC0wLjA0NzM5ODEwNTI2MzcxMDAyLDAuMDY1MDY1NjI5NzgwMjkyNTEsMC4wNzAzMTE3Njk4NDMxMDE1LDAuMDc5ODMwNTEyNDA0NDQxODMsLTAuMDA5MjA1NTQzNDM2MTEwMDIsMC4wOTg1NjI1OTgyMjg0NTQ1OSwwLjAxMzI1NjY2NzE4MTg0OTQ... |
815 | Software Packaging and Distribution These libraries help you with publishing and installing Python software While these modules are designed to work in conjunction with the Python Package Index they can also be used with a local index server or without any index server at all ensurepip Bootstrapping the pip installer C... | en | "Wy0wLjA1NTM4MDc1MDQ0NzUxMTY3LC0wLjAwMTAyNTY5MzI1ODI3MDYyMTMsLTAuMDE1OTE2NzI3NDgzMjcyNTUyLC0wLjAxMjc4MjcyODI5OTQ5ODU1OCwwLjA0NTQ2MTA0MzcxNTQ3Njk5LC0wLjA2ODUxMzI1OTI5MTY0ODg2LC0wLjA2MDcyODkyOTkzNjg4NTgzNCwwLjA0ODgxMTY3MDM5Mjc1MTY5NCwtMC4wMzEzNjk1NTU3NDE1NDg1NCwtMC4wMzMwNzkxOTU3Njc2NDEwNywwLjAwOTYxNTYyNzExNzQ1NTAwNiwwLjA... |
816 | filecmp File and Directory Comparisons Source code Lib filecmp py The filecmp module defines functions to compare files and directories with various optional time correctness trade offs For comparing files see also the difflib module The filecmp module defines the following functions filecmp cmp f1 f2 shallow True Comp... | en | "Wy0wLjA3ODI3MDY1MTQwMDA4OTI2LDAuMDQxMTc2NzI1MTc4OTU2OTg1LDAuMDA5MTUzOTcxNDQ4NTQwNjg4LDAuMDEwMTQ1MzY3MTIzMTg2NTg4LDAuMDczODEzNzI4OTg4MTcwNjIsLTAuMTE2NDQ3NDcxMDgyMjEwNTQsMC4wMjU3MDA4ODM5Mzk4NjIyNSwwLjA5MzkyNjEwMTkyMjk4ODg5LC0wLjAwMDQ1MDkwMTU0MTYyNjA4MDg3LDAuMDIzMDk1MzExNTk2OTg5NjMsMC4wNjQ0NjkzNTk4MTUxMjA3LDAuMDI1NTcwMjk... |
817 | recursively through two directories to show common different files from filecmp import dircmp def print_diff_files dcmp for name in dcmp diff_files print diff_file s found in s and s name dcmp left dcmp right for sub_dcmp in dcmp subdirs values print_diff_files sub_dcmp dcmp dircmp dir1 dir2 print_diff_files dcmp | en | "Wy0wLjA4NDA0Njk1OTg3NzAxNDE2LC0wLjAwMTM3ODgzMjg1MDYwNTI0OTQsMC4wMDQzMDU5MjE0OTQ5NjA3ODUsLTAuMDAyNzM1NDUwMzk4MTc2OTA4NSwwLjA2NDIzNTg4MDk3MDk1NDksLTAuMDg5NDk3MjkwNTUxNjYyNDUsMC4wNDI5NTUzNDY0MDU1MDYxMzQsMC4wNjUyMTIwNjM0OTEzNDQ0NSwtMC4wOTYxOTgzMzUyODk5NTUxNCwwLjAyMjEyMjkwMjc5NTY3MjQxNywwLjEwMjc3MjI1MDc3MTUyMjUyLC0wLjAxMjE... |
818 | tkinter font Tkinter font wrapper Source code Lib tkinter font py The tkinter font module provides the Font class for creating and using named fonts The different font weights and slants are tkinter font NORMAL tkinter font BOLD tkinter font ITALIC tkinter font ROMAN class tkinter font Font root None font None name Non... | en | "Wy0wLjA5MDgyNjExNjUwMjI4NSwwLjAxMzQyMTE2Mjk2MjkxMzUxMywtMC4wNjkwMDIyNTU3OTczODYxNywwLjAxOTY2NDYzMjE1NjQ5MTI4LC0wLjA1NTU5MTg0Nzc0NzU2NDMxNiwtMC4wMzQ4NzgwNzUxMjI4MzMyNSwwLjAyMDA3NDU4MTcyNzM4NTUyLDAuMDQ0OTUxOTk3Njk3MzUzMzYsLTAuMDM4ODU3NTMwODAyNDg4MzMsLTAuMDcxMDExMDM2NjM0NDQ1MTksMC4wMzAzMTM0OTc0MDkyMjQ1MSwtMC4wNzI0MTE3NzU... |
819 | uu Encode and decode uuencode files Source code Lib uu py Deprecated since version 3 11 will be removed in version 3 13 The uu module is deprecated see PEP 594 for details base64 is a modern alternative This module encodes and decodes files in uuencode format allowing arbitrary binary data to be transferred over ASCII ... | en | "Wy0wLjAzOTkyMjI1MjI5NzQwMTQzLDAuMDIzODEwMTEyODQ4ODc3OTA3LC0wLjE1ODIxMTk0NjQ4NzQyNjc2LDAuMDAxMjI0MDE0NTU4ODI5MzY3MiwtMC4wMzE1NzI0OTgzODExMzc4NSwtMC4wMzE0NjA0MTU1NzE5MjgwMjQsLTAuMDM3MDY3NTYyMzQxNjkwMDYzLDAuMDQxMDcxMjA2MzMxMjUzMDUsLTAuMDY5MzYwNjA2MzcyMzU2NDEsLTAuMDEzODMxNjE3MzEwNjQzMTk2LDAuMDQ0ODgxODMxODU0NTgxODMsMC4wODU... |
820 | Python Initialization Configuration New in version 3 8 Python can be initialized with Py_InitializeFromConfig and the PyConfig structure It can be preinitialized with Py_PreInitialize and the PyPreConfig structure There are two kinds of configuration The Python Configuration can be used to build a customized Python whi... | en | "Wy0wLjA2NTUxMjM4ODk0NDYyNTg1LC0wLjA1NzY3OTQ0ODI3Njc1ODE5NCwtMC4wNjM1MjM5MzMyOTE0MzUyNCwwLjAzNzEzOTMyNjMzMzk5OTYzNCwtMC4wMjcwMzQ0NDEwMDkxNjM4NTcsLTAuMDcwNjQwNDU5NjU2NzE1NCwtMC4wMjY2Mzc5MzYwMTA5NTY3NjQsMC4xMDczOTU5MDIyNzYwMzkxMiwtMC4wNjI4MDc1MzAxNjQ3MTg2MywtMC4wMzk5MTgzNjMwOTQzMjk4MzQsMC4wMTAwOTY5ODMwNTI3OTAxNjUsMC4wNTM... |
821 | ame of the Python memory allocators PYMEM_ALLOCATOR_NOT_SET 0 don t change memory allocators use defaults PYMEM_ALLOCATOR_DEFAULT 1 default memory allocators PYMEM_ALLOCATOR_DEBUG 2 default memory allocators with debug hooks PYMEM_ALLOCATOR_MALLOC 3 use malloc of the C library PYMEM_ALLOCATOR_MALLOC_DEBUG 4 force usage... | en | "WzAuMDQyODE1OTQ2MDQyNTM3NjksLTAuMDIwOTUzNjIxNzE1MzA3MjM2LC0wLjA1NzcwODM4MjYwNjUwNjM1LDAuMDAwODcxNTkxMTUzNTU0NjE4NCwtMC4wMjYyMTU4NjA2MjAxNDEwMywtMC4wNDcxMjg1NzMwNjAwMzU3MDYsLTAuMDEwODU4MzY5MDU5ODYwNzA2LDAuMDQyNjI5NDg0MDg3MjI4Nzc1LC0wLjAzMTQ5NzA4NzMyOTYyNjA4LDAuMDI0MTA5MTQ1NjI2NDI1NzQzLDAuMDQ4NDAxMjM2NTM0MTE4NjUsLTAuMDA... |
822 | n preinitialization whereas calling directly malloc and free is always safe Py_DecodeLocale must not be called before the Python preinitialization Example using the preinitialization to enable the Python UTF 8 Mode PyStatus status PyPreConfig preconfig PyPreConfig_InitPythonConfig preconfig preconfig utf8_mode 1 status... | en | "WzAuMDA0NjA4Nzk5MjM3NzU3OTIxLC0wLjAxNzM4MDI3NDgzMjI0ODY4OCwtMC4wODgwMzU5NjM0NzU3MDQyLDAuMDA3OTE5NTI4NTIxNTk3Mzg1LC0wLjAzOTk5NTc5MzI1MzE4MzM2NSwtMC4wNjI1NjkzNzk4MDY1MTg1NSwwLjAzMTQ0NDY1Mzg2ODY3NTIzLDAuMDk1NDM1NDYyODkyMDU1NTEsLTAuMDQxMjM2NTIzNTM4ODI3ODk2LC0wLjAwODE0MDM3OTU2Mjk3Mzk3NiwwLjA3MDc5NjEwMjI4NTM4NTEzLDAuMDYzNjU... |
823 | epend the script s directory If it s a symbolic link resolve symbolic links Otherwise python c code and python prepend an empty string which means the current working directory Set to 1 by the P command line option and the PYTHONSAFEPATH environment variable Default 0 in Python config 1 in isolated config New in versio... | en | "WzAuMDEzMjY0NTgyNDkyNDExMTM3LC0wLjAzNzMxNDcwMTgyNTM4MDMyNSwtMC4wODU3MjU4OTYwNjA0NjY3NywtMC4wMDMzMDg2MzgyMzE4Mjg4MDksMC4wMDIwNDgxNTY0NTcwMjE4MzI1LDAuMDM2MTA5NzIzMTUwNzMwMTMsMC4wMTY1OTUxNTUwMDA2ODY2NDYsMC4xMzE3OTk2ODI5NzQ4MTUzNywtMC4wMzczNjQ0NzE3MDM3Njc3NzYsLTAuMDM4MDE2MTQwNDYwOTY4MDIsMC4wNTI4ODQ1ODk4ODA3MDQ4OCwtMC4wNTY... |
824 | startup the encoding name is normalized to the Python codec name For example ANSI_X3 4 1968 is replaced with ascii See also the filesystem_errors member wchar_t filesystem_errors Filesystem error handler sys getfilesystemencodeerrors On Windows use surrogatepass by default or replace if legacy_windows_fs_encoding of Py... | en | "Wy0wLjA1MDQ4NjE2MjMwNDg3ODIzNSwtMC4wMjY4MTM2MDU4MDAyNzEwMzQsLTAuMTQyMDQ0MDgyMjgzOTczNywtMC4wMjI5MTU0Mzc4MTc1NzM1NDcsLTAuMDM2NjA1NzI2OTI3NTE4ODQ1LC0wLjAyODYyMjc1MzkxODE3MDkzLDAuMDI0NzgzMjc5NzQ2NzcwODYsMC4wNTQ2Mzk0OTk2MzQ1MDQzMiwwLjAxNDI4MTgyNzAyNTExNTQ5LC0wLjA1NTU2NTI1NjYyNTQxMzg5NSwwLjAzNTE1MTQ3MDQ1MjU0NzA3LDAuMDAzMzU... |
825 | standard layouts including in tree builds and virtual environments wchar_t pythonpath_env Module search paths sys path as a string separated by DELIM os pathsep Set by the PYTHONPATH environment variable Default NULL Part of the Python Path Configuration input PyWideStringList module_search_paths int module_search_path... | en | "WzAuMDAwOTQwNzY0OTA0OTUzNTM5NCwwLjAyMTU4NDk4OTUwMzAyNjAxLC0wLjA2NDAwMTc4MzcyODU5OTU1LDAuMDM0OTExODg5NTgyODcyMzksLTAuMDUxNjk3MTY0NzczOTQxMDQsLTAuMDc4NDQ4MDM0ODIyOTQwODMsLTAuMDIwMDgwOTIyMTcxNDczNTAzLDAuMTE2MjgyODUwNTAzOTIxNTEsLTAuMTE0MTA1NzAxNDQ2NTMzMiwtMC4wMTY0MzgyOTc5MjczNzk2MDgsLTAuMDA2NDQyODY1MzU2ODAyOTQsLTAuMDA0MjI... |
826 | nd line option Need a debug build of Python the Py_REF_DEBUG macro must be defined Default 0 int site_import Import the site module at startup If equal to zero disable the import of the module site and the site dependent manipulations of sys path that it entails Also disable these manipulations if the site module is ex... | en | "Wy0wLjA1NjQyNDE4NTYzMzY1OTM2LC0wLjAyMjA3NDY1ODQyMzY2MjE4NiwtMC4wOTEyNzI2NTk1OTk3ODEwNCwwLjA0Njk0NzQwODQ2NzUzMTIwNCwtMC4wMjE5OTY2NTgyOTUzOTI5OSwtMC4wNTI0MDk1OTMwMTU5MDkxOTUsLTAuMDIwMzk4NjMxNjkxOTMyNjc4LDAuMDc5Njk1NzYxMjAzNzY1ODcsLTAuMDY1NzEwMzg4MTIzOTg5MSwwLjAyNzk2ODYyMjc0NDA4MzQwNSwwLjA0MTUzNzEzMjExNDE3MTk4LC0wLjAzNjc... |
827 | ndle exceptions error or exit using PyStatus_Exception and Py_ExitStatusException If PyImport_FrozenModules PyImport_AppendInittab or PyImport_ExtendInittab are used they must be set or called after Python preinitialization and before the Python initialization If Python is initialized multiple times PyImport_AppendInit... | en | "WzAuMDA4MzkwNjc4MDkyODM3MzM0LC0wLjAyNDQxMTI1MTc2ODQ2OTgxLC0wLjA2MDU4OTM4ODAxMjg4NjA1LDAuMDM5NTcyMjQyNjQ3NDA5NDQsMC4wMDg2Njk1ODQwNTgyMjUxNTUsLTAuMDAzNzY5MjU3MzM4NzE3NTgsLTAuMDI3MTMyMzM0MTg3NjI2ODQsMC4xMjg1NzYxODkyNzk1NTYyNywtMC4wODM2MTQ1MTMyNzgwMDc1MSwtMC4wMjQ5NTU4MTY1NjY5NDQxMjIsMC4wNDAxMDMwODkwNjQzNTk2NjUsMC4wMzg5NjQ... |
828 | g base_exec_prefix PyConfig base_executable PyConfig base_prefix PyConfig exec_prefix PyConfig executable PyConfig module_search_paths_set PyConfig module_search_paths PyConfig prefix If at least one output field is not set Python calculates the path configuration to fill unset fields If module_search_paths_set is equa... | en | "WzAuMDIyMTgwNzI2NzUxNjg1MTQzLC0wLjAyMTA0ODAwOTM5NTU5OTM2NSwtMC4wNTYzNzkyMDY0Nzg1OTU3MzQsMC4wNzMwOTExNTY3ODA3MTk3NiwtMC4wNTQ5Mjk5MzgxNjczMzM2LC0wLjA2NTg1ODA1MTE4MDgzOTU0LC0wLjAxNTA3NjE1Mjk4MDMyNzYwNiwwLjA0NTUwMDM1NjcwMzk5NjY2LC0wLjA2Mzc1OTY5OTQ2Mzg0NDMsLTAuMDkwNjgxNTY3Nzg4MTI0MDgsMC4wMzE2MTQzMzMzOTExODk1NzUsLTAuMDA2Nzc... |
829 | d anytime until a proper public API is designed Example running Python code between Core and Main initialization phases void init_python void PyStatus status PyConfig config PyConfig_InitPythonConfig config config _init_main 0 customize config configuration status Py_InitializeFromConfig config PyConfig_Clear config if... | en | "WzAuMDE3NzcxMTQxNjAzNTg5MDU4LDAuMDA1NjA3Njg1MDc0MjEwMTY3LC0wLjA5NjI5MTc4NzkyMjM4MjM1LC0wLjAwNzMzNzUyMjY5Mjk3ODM4MiwtMC4wMDU2NTA0NjAyNTQ0MDA5Njg2LC0wLjA5Nzc3MTM4MzgyMTk2NDI2LC0wLjA1MTgwNDM5MzUyOTg5MTk3LDAuMDkxNDcwMzIzNTAzMDE3NDMsLTAuMDc2MTgyNTk2Mzg1NDc4OTcsMC4wMzI1MjI3MDQ0NTIyNzYyMywwLjA2NDAyMTQ3NTYxMzExNzIyLDAuMDY1Nzc... |
830 | Functional Programming HOWTO Author A M Kuchling Release 0 32 In this document we ll take a tour of Python s features suitable for implementing programs in a functional style After an introduction to the concepts of functional programming we ll look at language features such as iterator s and generator s and relevant l... | en | "Wy0wLjAwMTc0NzIyNTQxMTIzNjI4NjIsMC4wMTg3OTk3MjU5MTk5NjE5MywtMC4wMjExNDMxNjQ0ODU2OTI5NzgsMC4wNDAxNzU5ODkyNzAyMTAyNjYsLTAuMTQ4MTE5NDE5ODEzMTU2MTMsLTAuMDYyOTAzOTI1Nzc2NDgxNjMsMC4wNjA1NTQxNjE2Njc4MjM3OSwwLjA4NDIyNjM5OTY2MDExMDQ3LC0wLjA3NTY4NzgyNTY3OTc3OTA1LDAuMDIwNjk1Mzg2NDU0NDYzMDA1LC0wLjA4NDE3MDIxNDgzMTgyOTA3LC0wLjAyNzk... |
831 | hanges as much as possible and works with data flowing between functions In Python you might combine the two approaches by writing functions that take and return instances representing objects in your application e mail messages transactions etc Functional design may seem like an odd constraint to work under Why should... | en | "Wy0wLjA3NzUxNzIwMzk4NjY0NDc0LDAuMDIxNDIxNDY2MDIyNzI5ODc0LC0wLjAwNjA4NjAwMzk2NjYyOTUwNSwwLjAzMDUwNjM0NDUxMjEwNDk4OCwtMC4wMDY2NDQwODQxMTgzMDY2MzcsLTAuMTExMzYzNTA3ODA3MjU0NzksLTAuMDMxODU1NTMxMDM2ODUzNzksMC4wNDMyNDQwODYyMDU5NTkzMiwwLjAwNTQ0MDEzNzM0OTA2OTExODUsLTAuMDEwODE0OTcwMzU5MjA2MiwtMC4wNDc5NDY4NDQyNDk5NjM3NiwwLjA2MjM... |
832 | ortant foundation for writing functional style programs iterators An iterator is an object representing a stream of data this object returns the data one element at a time A Python iterator must support a method called __next__ that takes no arguments and always returns the next element of the stream If there are no mo... | en | "Wy0wLjA0OTQ1ODg5NDg3ODYyNTg3LDAuMDA1NjY1NzQ1NTg2MTU2ODQ1LC0wLjAxNjcwOTYyMzg1ODMzMjYzNCwtMC4wMDQyMzQ3NTc3NDAwNTA1NTQsMC4wMDE3NjI5NTI1MzkxMzg0OTYsLTAuMDc2NjE4MzQzNTkxNjkwMDYsLTAuMDE1MTA0NTIwMTM0NjI3ODE5LDAuMDU5ODQxOTMwODY2MjQxNDU1LC0wLjAxNzA3MTQ3NDM0MzUzODI4NCwtMC4wMDczODU2MTY2NTYzOTI4MTMsLTAuMDIzNjc0ODg0ODExMDQzNzQsMC4... |
833 | ns on an iterator s output are 1 performing some operation for every element 2 selecting a subset of elements that meet some condition For example given a list of strings you might want to strip off trailing whitespace from each line or extract all the strings containing a given substring List comprehensions and genera... | en | "Wy0wLjA3NTczNDg1Mzc0NDUwNjg0LDAuMDU2MTcyNjQyODU2ODM2MzIsMC4wNDYyMDgzMDM0MjE3MzU3NjQsMC4wMzU5NjYzMjU1NTEyNzE0NCwtMC4wMTYyMzQ5MDgyNTI5NTQ0ODMsLTAuMDc3NjAyNjc3MDQ3MjUyNjYsMC4wNTY0NTUyODA2MzE3ODA2MjQsMC4wMTgxNDM4Njk5MzY0NjYyMTcsLTAuMDU4NTQ0NTAxNjYyMjU0MzMzLC0wLjAyNDAyMDQ4MTg1NDY3NzIsLTAuMDIxMzQ3Mzc3NDQ5Mjc0MDYzLDAuMDE1MDI... |
834 | private namespace and a fresh set of local variables But what if the local variables weren t thrown away on exiting a function What if you could later resume the function where it left off This is what generators provide they can be thought of as resumable functions Here s the simplest example of a generator function ... | en | "Wy0wLjEyMzU0NTU2NDcxMTA5MzksLTAuMDE1NTY1NjAxMTc3NTEzNiwtMC4wNDg2NzIzOTY2ODk2NTM0LDAuMDg0MjkwMDM1MDY4OTg4OCwwLjAxMjYwMTkwODI5NjM0NjY2NCwtMC4wMjM1NzI1MzgwNDgwMjg5NDYsLTAuMDE3OTQ0NDU4ODcyMDc5ODUsLTAuMDMwNDIwOTM4NTA2NzIyNDUsLTAuMDI0NDU3MDUwNDg3Mzk5MSwtMC4wNTE5MDcyMjY0NDMyOTA3MSwwLjA0ODUxMjgzMTMzMDI5OTM4LDAuMDE2ODMxNzQwNzM... |
835 | rements by 1 and allows changing the value of the internal counter def counter maximum i 0 while i maximum val yield i If value provided change counter if val is not None i val else i 1 And here s an example of changing the counter it counter 10 next it 0 next it 1 it send 8 8 next it 9 next it Traceback most recent ca... | en | "Wy0wLjEyMDIxNzU0NjgyMDY0MDU2LDAuMDY2NjY2Mzk0NDcyMTIyMTksLTAuMDYzOTIzNTY3NTMzNDkzMDQsMC4wMzE5MTc5MTg0NzM0ODIxMywtMC4wMjcxNzA1Mzg5MDIyODI3MTUsLTAuMDM5NTMzMTA0NzQ3NTMzOCwwLjAwOTIzMjQ0NTYyMDAwMDM2MiwwLjAzOTg2NTU2MDgyOTYzOTQzNSwtMC4wMzI4NTE5MDgzNTU5NTEzMSwtMC4wMjc5MTU2ODYzNjg5NDIyNiwwLjAzNzQ0NzUyNzA1MDk3MTk4NSwtMC4wMjIzNTI... |
836 | ory list and exhaust all the input iterators before returning instead tuples are constructed and returned only if they re requested The technical term for this behaviour is lazy evaluation This iterator is intended to be used with iterables that are all of the same length If the iterables are of different lengths the r... | en | "Wy0wLjA2NDY0NjgzMjY0NDkzOTQyLDAuMDMzNDIzNjIxMjA3NDc1NjYsLTAuMDEyMTM3ODQ1MTU4NTc2OTY1LC0wLjAwNTM5MDk3OTgxNTI3NDQ3NywwLjAxMzMyODUxNzc4NzE1ODQ5LC0wLjA0MTE2Mzg2NTQ3Njg0NjY5NSwwLjAyNDU0Njc3OTY5MjE3MzAwNCwtMC4wMjAxNTE3NzUzMzAzMDUxLC0wLjA3ODQ1MjI4MTY1Mzg4MTA3LC0wLjAyNjQ1NDY3OTY2Nzk0OTY3NywtMC4wMTAxMzQ5MDkzMDE5OTYyMzEsMC4wNDQ... |
837 | as long as the predicate returns true Once the predicate returns false the iterator will signal the end of its results def less_than_10 x return x 10 itertools takewhile less_than_10 itertools count 0 1 2 3 4 5 6 7 8 9 itertools takewhile is_even itertools count 0 itertools dropwhile predicate iter discards elements w... | en | "Wy0wLjAwOTI0MjYxMTkzNzIyNDg2NSwwLjA4MDA0NTYyNTU2NzQzNjIyLDAuMDIyMzI0NjUxNDc5NzIxMDcsMC4wMjc5NzI4ODI2MTM1Mzk2OTYsMC4xMjcwMjI2MjQwMTU4MDgxLC0wLjAyNzI0MzA0NDIyNzM2MTY4LDAuMDU1Nzg3NTMzNTIxNjUyMjIsLTAuMDEwMjQzMzA1OTM2NDU1NzI3LC0wLjA4OTY4NzgyNDI0OTI2NzU4LC0wLjAwNzI3ODg3Nzc3NjExNjEzMywtMC4wMjQ0ODg5MDE3MTk0NTA5NSwwLjAxMzU2OTA... |
838 | tion application The constructor for partial takes the arguments function arg1 arg2 kwarg1 value1 kwarg2 value2 The resulting object is callable so you can just call it to invoke function with the filled in arguments Here s a small but realistic example import functools def log message subsystem Write the contents of m... | en | "Wy0wLjA1NzIzNDcyNjg0NjIxODExLDAuMDE5NjAxMDUwNzY0MzIyMjgsLTAuMDQ2Mjc2Nzc0MjU3NDIxNDk0LDAuMDMwODM1MDc5MDI5MjAyNDYsLTAuMTAwOTQ5OTEzMjYzMzIwOTIsLTAuMTIwMzA0NDgwMTk1MDQ1NDcsMC4wMjM2NTE3ODgwMTExOTMyNzUsMC4wNDMxOTkxODUyODE5OTE5NiwtMC4wMzIxODE0MTk0MzIxNjMyNCwtMC4wMDQ2MzA3NzE0NjU1OTk1MzcsLTAuMDIwNTcyMDM4MzY3MzkwNjMzLC0wLjAyNTk... |
839 | read Quick what s the following code doing import functools total functools reduce lambda a b 0 a 1 b 1 items 1 You can figure it out but it takes time to disentangle the expression to figure out what s going on Using a short nested def statements makes things a little bit better import functools def combine a b retur... | en | "Wy0wLjExMzc4Mzk0MDY3Mjg3NDQ1LDAuMDU3Mzk4ODg5MjEzODAwNDMsLTAuMDM1MjYxMDcyMjE4NDE4MTIsMC4wMTc1NTI1MzAzOTMwMDQ0MTcsLTAuMDAwMjMyOTAxMzA3NzU0MjE4NTgsLTAuMDIxOTEwMjYzMjI1NDM2MjEsMC4wNjM3MjM2OTgyNTgzOTk5NiwtMC4wNDM3NTQwMDc2NjczMDMwODUsLTAuMDEwMTU3NzE2NDYwNTI1OTksMC4wMjk2NTYxOTc4NzU3MzgxNDQsMC4wMTgxMDg0NDA1NjMwODI2OTUsLTAuMDE... |
840 | email parser Parsing email messages Source code Lib email parser py 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 interface and adding payload s using set_content and related methods or they can be ... | en | "Wy0wLjA0Mjk1ODYzMjExMTU0OTM4LC0wLjAyMzE2NTYyNjQ1MTM3MzEsMC4wMzkwMDM1NjIxODIxODgwMzQsMC4wMTgxNzIwNDQzMDY5OTM0ODQsMC4wMzU5NTMzMDU2NjE2NzgzMTQsLTAuMTA0MTIyNzIwNjU4Nzc5MTQsLTAuMDAxNDYyOTI5MDY3MjAxOTEyNCwwLjA1NDA4NDQ2MTE4MjM1NTg4LDAuMDAxODE1NzIxMDQzMzg1NTY1MywtMC4wMTA5OTYwNDgzMzg3MTEyNjIsLTAuMDA2Nzg2MDQ3OTQ2NjYxNzExLDAuMDI... |
841 | itch such partial lines together properly The lines can have any of the three common line endings carriage return newline or carriage return and newline they can even be mixed close Complete the parsing of all previously fed data and return the root message object It is undefined what happens if feed is called after th... | en | "Wy0wLjA2NDI2NDQ2ODg0ODcwNTI5LDAuMDE0NjM4MTEwOTk1MjkyNjY0LDAuMDI2NzI4OTM5MjY1MDEyNzQsLTAuMDI1Njg0Mzc3MTc4NTQ5NzY3LDAuMDE3NTg0MTQ1MDY5MTIyMzE0LC0wLjA0NzA2OTY2ODc2OTgzNjQyNiwtMC4wMTE3NjU3NTEwNTYzNzMxMiwtMC4wMTY5MzE0MDkwMTYyNTE1NjQsLTAuMDM1NzI2NDMxNzU3MjExNjg1LC0wLjAwMDYyODk0MzY3MTQ3MjM3MDYsLTAuMDE2ODAxNzc4MjI3MDkwODM2LC0... |
842 | object is such a common task four functions are provided as a convenience They are available in the top level email package namespace email message_from_bytes s _class None policy policy compat32 Return a message object structure from a bytes like object This is equivalent to BytesParser parsebytes s Optional _class a... | en | "Wy0wLjAyNzc4Nzk4OTAwNTQ0NjQzNCwwLjAxODk1NjM4MTgyNzU5Mjg1LC0wLjAxMDI2MDIwMTk5MDYwNDQsLTAuMDEzMDk4MDEyNjU1OTczNDM0LDAuMDM4NTU2ODcwMDczMDgwMDYsLTAuMDYzMDQ3MzQ5NDUyOTcyNDEsMC4wNjE5NjA5NTQyMTkxMDI4NiwwLjAyMTA4MTIzODk4NTA2MTY0NiwtMC4wMjAzODQ3NDkzOTc2MzU0NiwwLjA1NzIzMzMzNzMxMjkzNjc4LC0wLjAxNzE1NzAyMTkwOTk1MjE2NCwtMC4wMTA2NTY... |
843 | multiprocessing Process based parallelism Source code Lib multiprocessing 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 Introduction multiprocessing is a package that supports s... | en | "Wy0wLjA5NTc1NzM3MjY3NzMyNjIsLTAuMDUzOTE0MzI3MTc0NDI1MTI1LC0wLjA3NDc3ODY3NjAzMzAyMDAyLC0wLjAyNjIzOTE5NTgzODU3MDU5NSwtMC4wMzQ2NzcyODk0MjYzMjY3NSwtMC4wNjU1NjkzMTg4MzA5NjY5NSwtMC4wMTAxNDUwNzY1NTA1NDMzMDgsMC4wMTY0MzgzMTI4Mjg1NDA4MDIsLTAuMDI4NTgwMzYwMTE0NTc0NDMyLDAuMDE1Njk2OTAxODI4MDUwNjEzLC0wLjAyNzU2OTA1MTgzMTk2MDY3OCwtMC4... |
844 | process is single threaded unless system libraries or preloaded imports spawn threads as a side effect so it is generally safe for it to use os fork No unnecessary resources are inherited Available on POSIX platforms which support passing file descriptors over Unix pipes such as Linux Changed in version 3 4 spawn added... | en | "Wy0wLjA0MjcwNDE5NDc4NDE2NDQzLC0wLjA0ODY0MDc4MDE1MDg5MDM1LC0wLjA1MjgwMDI3MTY2MDA4OTQ5LC0wLjA3NjQwMzE1NTkyMjg4OTcxLDAuMDQwMDQ4MTg1NzM1OTQwOTMsLTAuMDUwMTgwMjY3NTQyNjAwNjMsMC4wMzAyMTkyNjk5MTY0MTUyMTUsMC4wNjkyMDkzMzcyMzQ0OTcwNywwLjAzMzc0NjA2MzcwOTI1OTAzLC0wLjAwOTA2MTAzNzU2Mjc4NzUzMywwLjAwMDAzNTIxNDc2NTM3NTcxMjg4NiwtMC4wMDI... |
845 | multiprocessing import Process Lock def f l i l acquire try print hello world i finally l release if __name__ __main__ lock Lock for num in range 10 Process target f args lock num start Without using the lock output from the different processes is liable to get all mixed up Sharing state between processes As mentioned... | en | "Wy0wLjA1MjkzODgxMTQ4MDk5ODk5LC0wLjA1NTEzNzE2NDg5MDc2NjE0NCwtMC4xMTQzNzQ4NDYyMjAwMTY0OCwtMC4wNjA5Mjk2NjcyMDQ2MTg0NTQsLTAuMDM0NzQ4MDE0MDYyNjQzMDUsLTAuMDA0Mjg4ODA5MzczOTc0OCwwLjAyNzU5MjAyMDEwOTI5NTg0NSwtMC4wMjA0NzU5Mjc3NDAzMzU0NjQsLTAuMDIzNzkyMTMwODcyNjA3MjMsMC4wMTYyNzc4NzM4ODg2MTE3OTQsLTAuMDI0MjM3MDUzNDY4ODIzNDMzLDAuMDg... |
846 | most recent call last Traceback most recent call last Traceback most recent call last AttributeError Can t get attribute f on module __main__ class _frozen_importlib BuiltinImporter AttributeError Can t get attribute f on module __main__ class _frozen_importlib BuiltinImporter AttributeError Can t get attribute f on m... | en | "Wy0wLjA3NzYzNzI3MDA5Mjk2NDE3LC0wLjA2NjQ2MjkwNDIxNDg1OTAxLC0wLjA3Mzc5MTQ4MTU1NDUwODIxLC0wLjAzNjQ3NjE5NDg1ODU1MTAyNSwwLjAyNjQ4NjIxNjExMjk3MTMwNiwtMC4wNTYwMTYzMjIyMjUzMzIyNiwtMC4wMzM4MjAzMTI0NzAxOTc2OCwwLjAxNzc1MjYyODc3MzQ1MDg1LC0wLjAwNzc5NzIzMjgyOTAzNDMyODUsLTAuMDA0NDk0ODYyNjMwOTYzMzI1NSwtMC4wMjQyMzg2NDA0NDI0OTA1NzgsMC4... |
847 | to the threading Thread API Process objects also support the following attributes and methods pid Return the process ID Before the process is spawned this will be None exitcode The child s exit code This will be None if the process has not yet terminated If the child s run method returned normally the exit code will b... | en | "Wy0wLjEwMDQ4MDgwOTgwNzc3NzQsLTAuMDA0OTA1ODQyNzEwMjg2Mzc5LC0wLjA0NjM1MjI2NzI2NTMxOTgyNCwtMC4wODQ4NjYxMDY1MTAxNjIzNSwtMC4wNTIwMjY3OTcwODYwMDA0NCwtMC4wMDYxNDA3NTQ1NTgxNDYsMC4wMzg5ODQwNzE0NjMzNDY0OCwwLjAwODI1MzU3NzE2NTMwNTYxNCwwLjExMzA2MjQ2MzcwMDc3MTMzLDAuMDYyODA4NjQ3NzUxODA4MTcsLTAuMDQwMTU1Mzk5NTkwNzMwNjcsLTAuMDA4NzU0Njg... |
848 | shed tasks may eventually overflow raising an exception Note that one can also create a shared queue by using a manager object see Managers Note multiprocessing uses the usual queue Empty and queue Full exceptions to signal a timeout They are not available in the multiprocessing namespace so you need to import them fro... | en | "Wy0wLjA5NDY4NDY3NTMzNTg4NDEsLTAuMDczMjI5OTUzNjQ2NjU5ODUsLTAuMDA2NTcwNTM5NDM3MjM0NDAyLDAuMDQ5MjQ4MDY5NTI0NzY1MDE1LC0wLjA1ODU3NzU1MjQzNzc4MjI5LC0wLjA3MTQwNDM4MjU4NjQ3OTE5LDAuMDE5MTk4NDUzMDUzODMyMDU0LC0wLjAzMTU1MDAzODYwNTkyODQyLDAuMDMyMDcwNDE2OTU3MTM5OTcsMC4wNzY2NzE3NDE5MDI4MjgyMiwtMC4wMzg5MDE1MDA0MDM4ODEwNywtMC4wMDM5ODM... |
849 | most timeout seconds and raises the queue Empty exception if no item was available within that time Otherwise block is False return an item if one is immediately available else raise the queue Empty exception timeout is ignored in that case Changed in version 3 8 If the queue is closed ValueError is raised instead of O... | en | "Wy0wLjA1NjYxNjkwMjM1MTM3OTM5NSwwLjAxOTk1MzQ4MTg1MzAwODI3LC0wLjA3Njk4Mzg5MTQyNzUxNjk0LC0wLjAxMzkxNTI3MjQyOTU4NTQ1NywtMC4wNDg0MjAxMTI1ODAwNjA5NiwtMC4wNjU1MTg4OTMzMDE0ODY5NywtMC4wMDIzNTY2NTY1OTQyMDE5MjI0LDAuMDExMTU0NjM3NjcyMDA3MDg0LDAuMDQ1MTU0ODYyMTA1ODQ2NDA1LDAuMDAzMzQ4NjI0NTY2NTY5OTI0NCwtMC4wMjE0MjQ5MzA1NDI3MDc0NDMsLTA... |
850 | ocess parent_process will be None New in version 3 8 multiprocessing freeze_support Add support for when a program which uses multiprocessing has been frozen to produce a Windows executable Has been tested with py2exe PyInstaller and cx_Freeze One needs to call this function straight after the if __name__ __main__ line... | en | "Wy0wLjA1NzcyOTY2NTE4OTk4MTQ2LC0wLjA0Nzk2ODUyNTQzOTUwMDgxLC0wLjA3ODgxODEwNTE2MTE5MDAzLC0wLjAwOTIzNzgzMjM4OTc3MTkzOCwwLjA0MjgyMjgwNDMwMTk3NzE2LC0wLjA0MzYzNDc4NzIwMTg4MTQxLC0wLjA4NzIwNzE2MDg5MDEwMjM5LDAuMTA3MDg2OTExNzk3NTIzNSwwLjAxMjUxMTQ5MjcwNjgzNTI3LC0wLjAxNDM5NzIyOTA2Nzk4MTI0MywtMC4wMTYzMjczNzc0MDg3NDI5MDUsMC4wMDQ4OTc... |
851 | end obj Send an object to the other end of the connection which should be read using recv The object must be picklable Very large pickles approximately 32 MiB though it depends on the OS may raise a ValueError exception recv Return an object sent from the other end of the connection using send Blocks until there is som... | en | "Wy0wLjAzNDc4MDc1MTkxMzc4NTkzNCwtMC4wMDU4NTE2Mjk2NTU4MDgyMSwtMC4wNzc1MTQ0MTAwMTg5MjA5LDAuMDI0NTA0MDIwODEwMTI3MjYsLTAuMDgyOTcyNjYwNjYwNzQzNzEsLTAuMDc3Mzg0ODI5NTIxMTc5MiwwLjAxMDU5NzkyMzc3MDU0NjkxMywwLjAyNDAwNjU1MTEzMTYwNjEwMiwwLjA3MzUwOTIwODg1ODAxMzE1LDAuMDM4MDEzOTA5MDEyMDc5MjQsLTAuMDUzNzQ1MTI0NDg5MDY4OTg1LDAuMDQ3OTI0MzU... |
852 | rence from its close analog exists its acquire method s first argument is named block as is consistent with Lock acquire Note On macOS this is indistinguishable from Semaphore because sem_getvalue is not implemented on that platform class multiprocessing Condition lock A condition variable an alias for threading Condit... | en | "Wy0wLjExMTk4NjA5MzIyMzA5NDk0LC0wLjA1MDQ4NzIzODkxMzc3NDQ5LC0wLjAyMjU2MzExMTAzNzAxNTkxNSwtMC4wNDY5NDc4NTE3NzcwNzY3MiwtMC4wMDk1NTc1MDQyMDY4OTU4MjgsLTAuMDA3MjIyNDUxNzM1Mjg3OTA1LDAuMDc3MTA3MDE5NzIyNDYxNywtMC4wMjY4NzMzNzgwODMxMDk4NTYsMC4wNzg5ODMxNTc4NzMxNTM2OSwwLjAzMTc0MTI3NjM4MzM5OTk2LDAuMDQ1NjA3OTg0MDY2MDA5NTIsLTAuMDIwOTc... |
853 | False If the lock is in an unlocked state the current process or thread takes ownership and the recursion level is incremented resulting in a return value of True Use and behaviors of the timeout argument are the same as in Lock acquire Note that some of these behaviors of timeout differ from the implemented behaviors ... | en | "Wy0wLjA4ODcyODIwNDM2OTU0NDk4LC0wLjAyNzE1NTk5MzUwNjMxMjM3LC0wLjAxNjY5MTY4NjU4NTU0NTU0LC0wLjA0MDUzODE2MTk5MzAyNjczLC0wLjAxOTc3MDI4ODgzOTkzNjI1NiwwLjAyMjM1NDczNjkyNDE3MTQ0OCwwLjA0NDA1MDE3OTQyMTkwMTcsLTAuMDMyNzA5NzI1MjAxMTI5OTEsMC4wOTkyMjI5ODc4OTAyNDM1MywwLjAzODQ5NjQzMDk2MzI3NzgyLDAuMDM1ODk4NzE4OTgyOTM0OTUsMC4wMjA3ODIwMzg... |
854 | ock object is created to synchronize access to the value If lock is a Lock or RLock object then that will be used to synchronize access to the value If lock is False then access to the returned object will not be automatically protected by a lock so it will not necessarily be process safe Note that lock is a keyword on... | en | "Wy0wLjA4MDM0MTM2ODkxMzY1MDUxLC0wLjAyODI5OTgxOTY3ODA2ODE2LC0wLjEyMDQ5Mjk1NzUzMjQwNTg1LDAuMDI2NDM2MjQxMzQzNjE3NDQsMC4wMDM3NjMxMDM2MjQ4MDU4MDgsLTAuMDI5MDU5ODY2NDQzMjc2NDA1LDAuMDg0NjU4ODA5MDA2MjE0MTQsMC4wMTgwNDIxMDgwNDQwMjgyODIsMC4wMzAzMTg4NTI1MTQwMjg1NSwtMC4wMTk3NzQ5MTkzNzU3NzcyNDUsLTAuMDY1MTYzMTM1NTI4NTY0NDUsMC4wNDc4ODU... |
855 | than accessing the raw ctypes object Changed in version 3 5 Synchronized objects support the context manager protocol The table below compares the syntax for creating shared ctypes objects from shared memory with the normal ctypes syntax In the table MyStruct is some subclass of ctypes Structure ctypes sharedctypes us... | en | "Wy0wLjA0MjQxOTcyNDE2NjM5MzI4LC0wLjAzNTY0OTA0NjMwMTg0MTczNiwtMC4wNTU0NzI2NDU5MDg1OTQxMywtMC4wMjE5NTcwNzcwODU5NzE4MzIsLTAuMDMzODM3Mzc0Mjk5NzY0NjMsLTAuMDY3OTM0MTI1NjYxODQ5OTgsMC4wMTMzODQ3MjAzMTA1Njg4MSwtMC4wMTk0ODcyMDIxNjc1MTA5ODYsLTAuMDU0NDEzMzAwMDA3NTgxNzEsLTAuMDM1MjEyMTE0NDUzMzE1NzM1LC0wLjA0MzU3ODM0MTYwMzI3OTExNCwtMC4... |
856 | or registering a type or callable with the manager class typeid is a type identifier which is used to identify a particular type of shared object This must be a string callable is a callable used for creating objects for this type identifier If a manager instance will be connected to the server using the connect method... | en | "Wy0wLjA5MDI3NjY4MDg4Njc0NTQ1LC0wLjA0OTU1NzI3NjA3MDExNzk1LC0wLjA4Nzk4MTYxODk0MDgzMDIzLDAuMDQ4ODk1NTY3NjU1NTYzMzU0LC0wLjEwMzUyNTgyNDg0NDgzNzE5LDAuMDEzMjA3MjY5ODMyNDkxODc1LDAuMDcyODUzNTk1MDE4Mzg2ODQsLTAuMDE0NzkxMzI3NTI4NjU1NTI5LC0wLjA3NTk0MjUxNjMyNjkwNDMsMC4wMDg1MTg0NzIzMTM4ODA5MiwtMC4wMTUwMjY2NDI5NDA5Mzg0NzMsMC4wMzQ4MjA... |
857 | xy and not an attribute of the referent mp_context multiprocessing get_context spawn manager mp_context Manager Global manager Namespace Global x 10 Global y hello Global _z 12 3 this is an attribute of the proxy print Global Namespace x 10 y hello Customized managers To create one s own manager one creates a subclass ... | en | "Wy0wLjAzNDUyMzc4NTExNDI4ODMzLC0wLjEwMzE2ODk3OTI4NzE0NzUyLC0wLjEwOTQ2NTQ2NDk0OTYwNzg1LC0wLjAyNDg3NzY5MzUwNDA5NTA3OCwtMC4wNjI4NDQ1MDczOTYyMjExNiwtMC4wNTM1OTg2MzQ4OTg2NjI1NywwLjA4NjgzNTU4NTUzNDU3MjYsLTAuMDI0NTAzOTYxMjA1NDgyNDgzLC0wLjExMTYwNzg0MjE0NzM1MDMxLDAuMDI3MTU3NDE4NDI5ODUxNTMyLC0wLjAwMzY3NDA3NTcwNTkzMDU5MDYsLTAuMDA... |
858 | es propagate through the manager and so to effectively modify such an item one could re assign the modified value to the container proxy create a list proxy and append a mutable object a dictionary lproxy manager list lproxy append now mutate the dictionary d lproxy 0 d a 1 d b 2 at this point the changes to d are not ... | en | "Wy0wLjA1NzgwODU3ODAxNDM3Mzc4LC0wLjAwMDY5MzQ1NTYyOTUxNjM5MywwLjAwMTI1ODI2MzQ4MDg0OTU2NCwtMC4wMjg4MDgyNzg5NjI5Njk3OCwtMC4xMDE4NzEyMDczNTY0NTI5NCwtMC4wNTY5MDI5ODk3NDUxNDAwNzYsLTAuMDA0NjYzOTMyNjAyODUyNTgzLC0wLjAwNzI4OTgyMTc0NzY5MDQzOSwtMC4wNDQ4NjcxNzY1NjI1NDc2ODQsMC4wMjMxOTI2NjQ2MDgzNTkzMzcsLTAuMDYyOTc1NTc4MDEwMDgyMjQsLTA... |
859 | er Changed in version 3 4 Added the context parameter Note Worker processes within a Pool typically live for the complete duration of the Pool s work queue A frequent pattern found in other systems such as Apache mod_wsgi etc to free resources held by workers is to allow a worker within a pool to complete only a set am... | en | "Wy0wLjE0OTU4MTU2NjQ1Mjk4MDA0LDAuMDAwMTc2NTMzMzg3Mjc1NDEyNjgsLTAuMDcyNTA4OTgzMzE0MDM3MzIsMC4wMzM0NzM1MzYzNzIxODQ3NSwwLjAyMzY3MTA5MjQ2NTUxOTkwNSwtMC4wOTkwNDUwODI5MjY3NTAxOCwwLjAzNzA2ODEwNjIzNDA3MzY0LC0wLjAwNTAxNzc1ODgxMjc1NTM0NiwwLjA0ODE3MDUzNjc1NjUxNTUsLTAuMDE1MDkxOTk1NzA4NjQ0MzksLTAuMDAyMzU1NDE3MDAzODU1MTA5LDAuMDMzMzk... |
860 | e must call close or terminate before using join Changed in version 3 3 Pool objects now support the context management protocol see Context Manager Types __enter__ returns the pool object and __exit__ calls terminate class multiprocessing pool AsyncResult The class of the result returned by Pool apply_async and Pool m... | en | "Wy0wLjA3Mjk2NzEyNjk2NTUyMjc3LDAuMDMxMjQxMTY3MzM2NzAyMzQ3LC0wLjA1MDE3OTA1MzA5Nzk2MzMzLDAuMDA3Mjc3MDM5ODExMDE1MTI5LDAuMDE5MjExNzg3NzMwNDU1NCwtMC4wNTU1NjQ4ODAzNzEwOTM3NSwwLjAzODUzNDc3OTEwMTYxMDE4NCwwLjAzOTcxOTk1MDQwNzc0MzQ1NCwwLjAxMTE3NTEwMzQ4NTU4NDI1OSwtMC4wMTU1MjE2MDczNjE3MzM5MTMsLTAuMDQ1MTcwNTg2NTU2MTk2MjEsLTAuMDI0MDQ... |
861 | emporary directory created using tempfile mkstemp If the listener object uses a socket then backlog 1 by default is passed to the listen method of the socket once it has been bound If authkey is given and not None it should be a byte string and will be used as the secret key for an HMAC based authentication challenge N... | en | "Wy0wLjA0MDIxNjg0MDgwMzYyMzIsLTAuMDM4MDM0OTkwNDI5ODc4MjM1LC0wLjA5NTY4MDYyNDI0NjU5NzI5LC0wLjA1NzYzNjQ1ODQyNjcxMzk0MywtMC4wNjcwNjUyMjQwNTE0NzU1MiwtMC4wODAyNDE0MTE5MjQzNjIxOCwwLjA2OTMyOTY0MTc1OTM5NTYsMC4wMTgzODI3OTg4ODAzMzg2NywwLjA0Njc1MTYxMDkzNDczNDM0NCwwLjA0MzMzOTg0NDc5MzA4MTI4NCwwLjAzNTkwMTc0NzY0Mzk0NzYsLTAuMDI1NDk0ODc... |
862 | ress Formats An AF_INET address is a tuple of the form hostname port where hostname is a string and port is an integer An AF_UNIX address is a string representing a filename on the filesystem An AF_PIPE address is a string of the form r pipe PipeName To use Client to connect to a named pipe on a remote computer called ... | en | "Wy0wLjA5MDU2Nzc5NzQyMjQwOTA2LC0wLjAyOTYxMzAwMTI3MjA4MjMzLC0wLjA3MDkwNTcyMjY3NzcwNzY3LC0wLjA1NDA4MDA4MDI0MDk2NDg5LC0wLjEwNzYwNzE0MTEzNzEyMzExLC0wLjA4MDk4ODUzMzc5NDg3OTkxLDAuMTA4MDMyODAwMjU3MjA1OTYsMC4wNTA3NjIwOTgyODI1NzU2MSwwLjExNjYyNTQwNTg0ODAyNjI4LDAuMDM5NjI2NDc1NDIzNTc0NDUsLTAuMDMzMzQ5MjYwNjg3ODI4MDY0LDAuMDMxNzQxNTg... |
863 | ame interface as Pool which is designed around a pool of processes and predates the introduction of the concurrent futures module As such it inherits some operations that don t make sense for a pool backed by threads and it has its own type for representing the status of asynchronous jobs AsyncResult that is not unders... | en | "Wy0wLjExMTQzOTA0OTI0MzkyNywtMC4wMzgzMTk5Njc2ODcxMjk5NzQsLTAuMDQ1NzQxNTk5MDUzMTQ0NDU1LC0wLjAyNjU3MjEwODI2ODczNzc5MywtMC4wODUxNTcyMTU1OTUyNDUzNiwtMC4wNzMwMDcwOTE4Nzk4NDQ2NywtMC4wNTI1OTQzNjc0MTQ3MTI5MDYsLTAuMDA3MzEwNzY4NTg5Mzc3NDAzLDAuMDE3NTg1OTg1MzYyNTI5NzU1LC0wLjAxMTkxODA1OTU1MDIyNTczNSwtMC4wOTE4MDY1OTgwMDc2Nzg5OSwwLjA... |
864 | cess So for instance from multiprocessing import Process Lock def f do something using lock if __name__ __main__ lock Lock for i in range 10 Process target f start should be rewritten as from multiprocessing import Process Lock def f l do something using l if __name__ __main__ lock Lock for i in range 10 Process target... | en | "Wy0wLjA4NjEyOTA3Njc3ODg4ODcsLTAuMDgxMDE3MjkzMDM1OTg0MDQsLTAuMDYyMDAzMDUzNzI0NzY1NzgsLTAuMDUwMDk0NzQyMzI3OTI4NTQsMC4wNTA5NDM5NjMyMjk2NTYyMiwtMC4wMjg2NTEwNjQyNjE3OTQwOSwwLjAyMzE1MjM3MTg2ODQ5MTE3MywwLjA2OTc2ODg5MDczODQ4NzI0LDAuMDQyMTUyODc0MTcxNzMzODU2LDAuMDM0NzkxNzU2NDIxMzI3NTksLTAuMDMwMzUzMzc0Nzc5MjI0Mzk2LDAuMDU0MzY5NTA... |
865 | ger MyManager manager start print 20 f1 manager Foo1 f1 f f1 g assert not hasattr f1 _h assert sorted f1 _exposed_ sorted f g print 20 f2 manager Foo2 f2 g f2 _h assert not hasattr f2 f assert sorted f2 _exposed_ sorted g _h print 20 it manager baz for i in it print d i end print print 20 op manager operator print op a... | en | "Wy0wLjA1MTg3NzgwNDEwMDUxMzQ2LC0wLjAyMTk3NTM4MzE2MjQ5ODQ3NCwtMC4wNDcwMDUyODgzMDI4OTg0MSwwLjA0MDQ5MzI3NTk3MDIyMDU2NiwwLjA0MDg1NDczNzE2MjU5MDAzLC0wLjA5MDY4MTA5ODQwMTU0NjQ4LDAuMDI0NjI1Mzg3MDQyNzYwODUsLTAuMDE4Mzc2MjI3NDY4MjUyMTgyLC0wLjA2MDUxMDE4NDYxNTg1MDQ1LDAuMDU3OTgzNTQzNzIzODIxNjQsLTAuMDAxNDIxMTYwNjQ2NzE0MjcwMSwtMC4wMjM... |
866 | ASKS2 print t done_queue get Tell child processes to stop for i in range NUMBER_OF_PROCESSES task_queue put STOP if __name__ __main__ freeze_support test | fr | "Wy0wLjA0NTQ2Njc3NjkzNzI0NjMyLDAuMDM0NzEwODM1NjY1NDY0NCwtMC4wNjQ0NDU4MDEwNzkyNzMyMiwtMC4wMTA3OTQwMjMwNTE4NTc5NDgsLTAuMDE5Mjk3NDkxNzU5MDYxODEzLC0wLjA1MjYwMTk5MzA4Mzk1Mzg2LDAuMDgwMDIyMTI2NDM2MjMzNTIsMC4wMTY1MTY4MTQwMDgzNTUxNCwtMC4wNTQzMjM3MDMwNTA2MTM0LDAuMDUwMjI2MzQxOTMzMDEyMDEsLTAuMDAxNDg4Nzk4MDY1MTExMDQxLC0wLjAzNjU2MzE... |
867 | Policies An event loop policy is a global object used to get and set the current event loop as well as create new event loops The default policy can be replaced with built in alternatives to use different event loop implementations or substituted by a custom policy that can override these behaviors The policy object ge... | en | "Wy0wLjA1MzMzMTY1ODI0NDEzMjk5NiwtMC4wMDU5NjUwNTE3MDY4ODAzMzEsLTAuMDg3NTA3OTQ4Mjc5MzgwOCwtMC4wMTQ0OTI4OTU0NTQxNjgzMiwtMC4wNzczMDMwMDcyNDUwNjM3OCwtMC4wNDYxMjI1MDk5ODYxNjIxODYsMC4wOTMyMzMxOTA0NzY4OTQzOCwwLjAyOTMyNzcwNzM2NTE1NTIyLC0wLjA2MTYxMjM5MzcwNzAzNjk3LC0wLjAyNjk3MTM0MzkwNDczMzY1OCwtMC4wMTA5NjA1MDgxMzc5NDEzNiwtMC4wMjI... |
868 | n a process with PID equal to pid terminates Specifying another callback for the same process replaces the previous handler The callback callable must be thread safe remove_child_handler pid Removes the handler for process with PID equal to pid The function returns True if the handler was successfully removed False if ... | en | "Wy0wLjExODM2MTIzNDY2NDkxNjk5LC0wLjAzNTQzMDkyMzEwNDI4NjE5NCwtMC4wNjEwOTg4MTQwMTA2MjAxMiwwLjAzNjA4NjAwMDUwMjEwOTUzLDAuMDYwNDUzNjUzMzM1NTcxMjksLTAuMDQwMDIyNTg1NTQxMDA5OSwwLjAxODY0NTcyNjE0NDMxMzgxMiwtMC4wNDMzMDk5OTQwNDE5MTk3MSwwLjA2ODg0MTE5NjU5NjYyMjQ3LDAuMDAwNDQxMjUyMzcwMzY0OTY0LDAuMDAzNjU3OTA3MjQ3NTQzMzM1LDAuMDU1OTQ1ODM... |
869 | What s New in Python 2 0 Author A M Kuchling and Moshe Zadka Introduction A new release of Python version 2 0 was released on October 16 2000 This article covers the exciting new features in 2 0 highlights some other useful changes and points out a few incompatible changes that may require rewriting code Python s devel... | en | "Wy0wLjEwOTYwODYwNTUwNDAzNTk1LC0wLjAyMjQ2MDk4MjIwMzQ4MzU4LDAuMDM3ODg0NTUyMDMxNzU1NDUsLTAuMDA5MTE0MDgyOTAyNjY5OTA3LDAuMDQyNDY5NzIxMjg3NDg4OTQsLTAuMDY0NDc2ODMyNzQ3NDU5NDEsLTAuMTIzMDg4MTk1OTE5OTkwNTQsMC4wMjAwNzM3MTM3MzQ3NDU5OCwtMC4wMjgzMjQ2MDAzMDkxMzM1MywwLjAxNjQ2Njc1MTY5NDY3OTI2LC0wLjAxMzY0MzU5OTExNTMxMjEsLTAuMDA1MTUzMzA... |
870 | e number of open bugs to measure progress This didn t come without a cost developers now have more e mail to deal with more mailing lists to follow and special tools had to be written for the new environment For example SourceForge sends default patch and bug notification e mail messages that are completely unhelpful s... | en | "Wy0wLjA1OTc2MzU5OTE4NzEzNTY5NiwtMC4wMzI3MjYyODAzOTEyMTYyOCwwLjAxNDE5NzM1NjA2NzU5Nzg2NiwtMC4wMTQ1NDg3NDIyMTIzNTUxMzcsMC4wODMxNDAyOTg3MjQxNzQ1LC0wLjA0NTk5NjA0MzgzMTExLC0wLjAyNTAyOTgyODc3MTk0ODgxNCwwLjAzNjM2MDkyNjkyNjEzNjAyLC0wLjAwNjc0Mjk3NTIwODkwODMxOTUsMC4wNTY3MjUzMTk0NzQ5MzU1MywwLjAwNTY5NzQzODQ5MzM3MTAxLC0wLjAxNTU3ODE... |
871 | fined for implementing and registering new encodings that are then available throughout a Python program If an encoding isn t specified the default encoding is usually 7 bit ASCII though it can be changed for your Python installation by calling the sys setdefaultencoding encoding function in a customized version of sit... | en | "Wy0wLjAzNDM2OTkyMzE3NDM4MTI1NiwtMC4wMTQ4NDY0MTE1MzM2NTM3MzYsLTAuMDA2ODQ0MTc1OTc5NDk1MDQ4NSwwLjAyMTIyNTI2MDU3MDY0NTMzMiwtMC4xMDM1ODU1NDg2OTg5MDIxMywtMC4wMTUxNDYyNjAxNDk3NzY5MzYsLTAuMDEwODgzNjA2MDM4OTg3NjM3LDAuMDA1ODM5ODUxNjg0ODY4MzM2LC0wLjAwMTI5OTE4NDYzMDYyNDk1LC0wLjA2Mzg0NzI5NTkzOTkyMjMzLDAuMDUzNTA3MTQ1NDk0MjIyNjQsLTA... |
872 | ts are to loop over them and either pick out the elements that meet a certain criterion or apply some function to each element For example given a list of strings you might want to pull out all the strings containing a given substring or strip off trailing whitespace from each line The existing map and filter functions... | en | "Wy0wLjAyMTIwNjk0NTE4MDg5Mjk0NCwwLjA1MDUwNTA0NTgwMTQwMTE0LDAuMTExNjY3NzM3MzY0NzY4OTgsLTAuMDA5NDQxMjEzNjgyMjkzODkyLDAuMDExMTc1MDgwMjAyNTE5ODk0LC0wLjA1NDAzNTkyMDY0OTc2NjkyLDAuMDg5MDE4NzkxOTEzOTg2MiwwLjAxNjczMjEzMjA2MjMxNTk0LC0wLjExMjg0MDQ4MTEwMjQ2NjU4LDAuMDExODQyNzE1NTUzOTM5MzQyLC0wLjA1NzIwMzE0NzU2MDM1ODA1LDAuMDM5NDA3NDc... |
873 | Thomas Wouters String Methods Until now string manipulation functionality was in the string module which was usually a front end for the strop module written in C The addition of Unicode posed a difficulty for the strop module because the functions would all need to be rewritten in order to accept either 8 bit or Unic... | en | "Wy0wLjAyMDk5MDA5Nzg5NTI2NDYyNiwwLjAzMTc4NjQ4NjUwNjQ2MjEsMC4wMzUxNjMzNjUzMDQ0NzAwNiwtMC4wMDQxMDk1MDA0NDE3MDAyMiwtMC4xMDY0ODk1NTQwNDc1ODQ1MywtMC4wNDUxMTM1MTUxMDg4MjM3NzYsLTAuMDQ1Njk3MzMxNDI4NTI3ODMsMC4wOTkzMzQ5MjU0MTMxMzE3MSwtMC4wMDY2MDIzMDQwNTYyODY4MTIsLTAuMDI2NzcwMjczMjIzNTE5MzI1LDAuMDQ5NjQ5MjQ5NzYyMjk2NjgsMC4wODk2MDc... |
874 | nning the configure script Several people tackled this problem and contributed to a solution An early implementation of the cycle detection approach was written by Toby Kelsey The current algorithm was suggested by Eric Tiedemann during a visit to CNRI and Guido van Rossum and Neil Schemenauer wrote two different imple... | en | "Wy0wLjA5NzQ4Mjk3OTI5NzYzNzk0LDAuMDExNTc1NTYzODEwNzY1NzQzLC0wLjAzODQ1MDAwMjY3MDI4ODA4NiwtMC4wMDgyMjA3NjIwMTQzODkwMzgsMC4wMjMyODI0MDEyNjM3MTM4MzcsLTAuMDU4MTg3MzQzMTgwMTc5NTk2LDAuMDA0OTA1Mzg1ODk2NTYzNTMsLTAuMDIwMTYyNjI3MTAwOTQ0NTIsLTAuMDQ2MzA4NDUwNDAwODI5MzE1LC0wLjAxMTM1MTczMzQ2ODQ3Mjk1OCwtMC4wMTAxMzA4NjQ1NjgwNTQ2NzYsMC4... |
875 | ats code as 32 bit on Itanium PythonWin also supports Windows CE see the Python CE page at https pythonce sourceforge net for more information Another new platform is Darwin MacOS X initial support for it is in Python 2 0 Dynamic loading works if you specify configure with dyld with suffix x Consult the README in the P... | en | "Wy0wLjA4NzkxMTY2NTQzOTYwNTcxLC0wLjAwNjA5MDUxODU1MjgwOTk1NCwtMC4wNTE4NDg0ODIzNDA1NzQyNjUsMC4wODc3NDc3NjAxMTcwNTM5OSwtMC4wMDM3NTk4MTA5MzM4NDMyNTUsLTAuMTAyMDc5MTA4MzU3NDI5NSwwLjAwNDE4MzA0NDE5MTQ0OTg4MSwwLjA3NTYwNjQ1MDQzODQ5OTQ1LC0wLjExMDU3MzcwMTU2MDQ5NzI4LC0wLjAwNzg3MTMzNDQ0MTAwNjE4NCwwLjAxMjk4OTg3NTg2MDUxMjI1NywtMC4wMTY... |
876 | error messages and treats multi argument calls as errors If you absolutely must use 2 0 but can t fix your code you can edit Objects listobject c and define the preprocessor symbol NO_STRICT_LIST_APPEND to preserve the old behaviour this isn t recommended Some of the functions in the socket module are still forgiving i... | en | "Wy0wLjA1MjcwODUwNjU4NDE2NzQ4LDAuMDA0NzY0ODU4NjMzMjc5OCwtMC4wMjQ2NjQ1ODA4MjE5OTA5NjcsMC4wNDk4MjMwOTQxNTkzNjQ3LC0wLjA3MjIzNzYyNTcxODExNjc2LC0wLjAzNTk4ODc5NjUwMjM1MTc2LDAuMDAxMDYyNjEzMjEzNDM0ODE1NCwwLjAyNTI2OTU3MzU1NDM5NjYzLC0wLjAyOTkyNDg5OTMzOTY3NTkwMywwLjAzNDY1MzI4NzM4MDkzMzc2LDAuMDM4OTI5OTE2OTE4Mjc3NzQsMC4wMjM4MTQxMzQ... |
877 | een added so that ExtensionClasses are now supported by isinstance and issubclass This means you no longer have to remember to write code such as if type obj myExtensionClass but can use the more natural if isinstance obj myExtensionClass The Python importdl c file which was a mass of ifdefs to support dynamic loading ... | en | "Wy0wLjEyNzkyMTgxOTY4Njg4OTY1LDAuMDIyMTc4MDcyNDgyMzQ3NDksLTAuMDA3NTkwOTE0NjEwNzczMzI1LC0wLjAwNTg1OTA5NzkzMTUzNDA1MiwwLjA1MjgzOTg2NDA0NTM4MTU0NiwtMC4xMDg4MjIyMzM5NzQ5MzM2MiwtMC4wMjYyMjc5MTc1MjIxOTIsMC4xMDUxMDUyODA4NzYxNTk2NywtMC4wOTM2OTk2NjM4Nzc0ODcxOCwtMC4wNDM1NjY4MzQxODE1NDcxNjUsMC4wMTkzMzcwODIyODE3MDg3MTcsLTAuMDAxNTc... |
878 | e build from the install building or installing in non default directories and more In order to use the Distutils you need to write a setup py script For the simple case when the software contains only py files a minimal setup py can be just a few lines long from distutils core import setup setup name foo version 1 0 p... | en | "WzAuMDA5ODQxNTU5NDU0Nzk4Njk4LC0wLjA1NDA2MjgyNDY5NjMwMjQxNCwwLjAwMzAwODE0NDQ0MTk5MjA0NDQsLTAuMDQwOTY0NDY5MzEzNjIxNTIsMC4wMDY2NDY4ODkyNjE5MDEzNzksLTAuMDc5ODU2NTA3NDgwMTQ0NSwwLjAwNzA3OTE0MjYxMTQ3Mzc5OSwwLjEwMzIzMTgyNDkzNDQ4MjU3LC0wLjA3NDE2NDk3OTE1OTgzMiwtMC4wMjI0NjUwNzI1NzIyMzEyOTMsMC4wOTE0MTc0MTY5MzAxOTg2NywtMC4wNDI4NDc... |
879 | the resulting tree any way you like access element and attribute values insert and delete nodes and convert the tree back into XML The DOM is useful for modifying XML documents because you can create a DOM tree modify it by adding new nodes or rearranging subtrees and then produce a new XML document as output You can a... | en | "Wy0wLjAwNDEwNzIzOTE5MDQ4OTA1NCwwLjA4NjE0NzM0NTYwMjUxMjM2LDAuMDA5ODI2ODU2NjY1MzEzMjQ0LDAuMDU5MzgyMjAwMjQxMDg4ODcsMC4wNTkxMTY1MzExNjM0NTQwNTYsLTAuMTEwNjg2MzI0NTM2ODAwMzgsLTAuMDI4NDg3ODM1MDc5NDMxNTM0LDAuMDUyMjczODc2OTY1MDQ1OTMsLTAuMDAzMDUwOTk0ODI2NDgwNzQ2MywtMC4wMTEwNzgxMjIwNzE5MjE4MjUsMC4wMzc4NDk0MDc2NDMwNzk3NiwwLjAxMDA... |
880 | ard compatibility with the 1 5 version of httplib is provided though using HTTP 1 1 features such as pipelining will require rewriting code to use a different set of interfaces The Tkinter module now supports Tcl Tk version 8 1 8 2 or 8 3 and support for the older 7 x versions has been dropped The Tkinter module now su... | en | "Wy0wLjEwMTcwNjEwMjQ5MDQyNTExLC0wLjAwMzUxMzk5MzIyOTcxNzAxNjIsLTAuMDE3MTkyOTgzOTk5ODQ4MzY2LC0wLjA1ODUxMTY3MDY3ODg1Mzk5LC0wLjA1MTIzNDI3ODgyNzkwNTY1NSwtMC4wNTIyODQ3Mjg3MzU2ODUzNSwtMC4wNjM0NzE1MTg0NTY5MzU4OCwwLjAxODU5Njc1NTM0MDY5NTM4LC0wLjAwMzAwNjIyMTcyNjUzNjc1MSwtMC4wNDcwNzQzMjUzODI3MDk1LC0wLjA1OTY4MTczOTY1ODExNzI5NCwwLjA... |
881 | rchives These are archives produced by PKZIP on DOS Windows or zip on Unix not to be confused with gzip format files which are supported by the gzip module Contributed by James C Ahlstrom imputil A module that provides a simpler way for writing customized import hooks in comparison to the existing ihooks module Impleme... | en | "Wy0wLjEyOTAwMjU4NjAwNzExODIzLDAuMDcwMjExODM1MjA1NTU0OTYsLTAuMDkxODI0ODc0MjgxODgzMjQsMC4wMzQwMzI4NTE0NTc1OTU4MjUsMC4wNjI0ODI1NTQ0NjU1MzIzLC0wLjA3NTQ4MDI4MjMwNjY3MTE0LDAuMDM0OTkxODgyNzQxNDUxMjYsMC4xMTg1NzI3NTY2NDgwNjM2NiwtMC4wMjc1NTQwNDI2MzczNDgxNzUsLTAuMDAyMzY2NTUwOTY1MjM0NjM3MywtMC4wMDI3MzY0MzQ4MDYxMzgyNzcsMC4wMzgxNDg... |
882 | Python Frequently Asked Questions General Python FAQ Programming FAQ Design and History FAQ Library and Extension FAQ Extending Embedding FAQ Python on Windows FAQ Graphic User Interface FAQ Why is Python Installed on my Computer FAQ | en | "Wy0wLjAxNjc2MjM5MDczMjc2NTE5OCwtMC4wMDM2MDkyODgwMTgxOTY4MjEsLTAuMDM0NDgwMzg1NDgyMzExMjUsMC4wMTcyMTUyNzYxMzY5OTQzNjIsMC4xMzEzNjQ0Nzk2NjA5ODc4NSwtMC4wNDQ5NDM2NDE4NzEyMTM5MSwwLjAzMTQ5MzAzNzkzOTA3MTY1NSwwLjA3OTQwNjEwNDk4MTg5OTI2LC0wLjAyMzA1MDc4MzIwMjA1MjExNiwtMC4wNTA3NjU5MDE4MDM5NzAzNCwtMC4wNzY0ODgwNzc2NDA1MzM0NSwwLjAyNTg... |
883 | Built in Types The following sections describe the standard types that are built into the interpreter The principal built in types are numerics sequences mappings classes instances and exceptions Some collection classes are mutable The methods that add subtract or rearrange their members in place and don t return a spe... | en | "Wy0wLjA0MzE1NTg5NzQwODcyMzgzLDAuMDIxMzEzMjcwNTUzOTQ2NDk1LC0wLjA3MjMyMzg3MzYzOTEwNjc1LDAuMDEyNTU5NzE4NDUyMzk0MDA5LC0wLjA3ODk2MTg1NjY2MzIyNzA4LC0wLjA1MzU5MTM5MjkzNDMyMjM2LC0wLjAyMjg1MzU0NTg0NDU1NDksLTAuMDE3MDg0NTM1MjExMzI0NjkyLC0wLjAxMjM2Mjg4MzQyNjI0OTAyNywtMC4wMDcxMjQ0NzA1NDY4NDE2MjEsLTAuMDI5MTQxMzM2Njc5NDU4NjE4LC0wLjA... |
884 | floating point number To extract these parts from a complex number z use z real and z imag The standard library includes the additional numeric types fractions Fraction for rationals and decimal Decimal for floating point numbers with user definable precision Numbers are created by numeric literals or as the result of... | en | "Wy0wLjEwMjIzMDg0Njg4MTg2NjQ2LDAuMDYzNjk4MTQyNzY2OTUyNTEsLTAuMDU2MzI5MTUzNDc4MTQ1NiwwLjAyNzI2NTE4OTIxNTU0MDg4NiwtMC4wNTI2NDI2MTM2NDkzNjgyODYsLTAuMTMwNzY4ODIwNjQzNDI1LDAuMDEzNDg4NjYwNTY2NTA4NzcsMC4wMjg3MTQ2NDAwNjYwMjc2NCwtMC4wMDg3NDIzOTM5MjU3ODYwMTgsLTAuMDQ3NTMwNTY5MTM2MTQyNzMsLTAuMDAwNzQ0OTgxMTY3MzcyMzE2MSwtMC4wNzQyMzc... |
885 | n by pow 2 n 4 Performing these calculations with at least one extra sign extension bit in a finite two s complement representation a working bit width of 1 max x bit_length y bit_length or more is sufficient to get the same result as if there were an infinite number of sign bits Additional Methods on Integer Types The... | en | "WzAuMDUzNzA4NDgyNTMzNjkzMzE0LDAuMDM4MjUxOTk2MDQwMzQ0MjQsLTAuMDY4OTA3MjIzNjQxODcyNCwtMC4wNDY2NDkzNjI4OTE5MTI0NiwtMC4wMDUzMjQwMTY3OTA4MzcwNDk1LC0wLjA0MzM1MDA5Njc5MTk4MjY1LDAuMDMxNDE3NDU5MjQ5NDk2NDYsMC4wOTQ4MDgzODQ3NzYxMTU0MiwtMC4wNjIzMzU5ODI5MTg3MzkzMiwtMC4wNTI3ODExMjczOTMyNDU3LC0wLjA1NjM4MTgyNTM1NzY3NTU1LC0wLjAyNDI0MjI... |
886 | red return n New in version 3 2 Changed in version 3 11 Added default argument value for byteorder int as_integer_ratio Return a pair of integers whose ratio is equal to the original integer and has a positive denominator The integer ratio of integers whole numbers is always the integer as the numerator and 1 as the de... | en | "Wy0wLjA0NDA0NzI1MTM0MzcyNzExLC0wLjAwMTcyNTkxNTkzNTgyMTgzMTIsLTAuMTE4Njc0NzY5OTk3NTk2NzQsMC4wMDAxNjEyNDQxODQ3MTAwODU0LDAuMDMyNDAyOTk5Njk5MTE1NzUsLTAuMTA0MjIxMjMyMjM1NDMxNjcsLTAuMDE0ODUzODU2NTI2MzE1MjEyLDAuMDA2NDMwNzY1MTQ4MjUyMjQ5LC0wLjAxMTY1MTg0ODQ0Mjg1MjQ5NywtMC4wNDk2ODk5NTYwMDkzODc5NywtMC4wMzU2MzY5NDI4MzM2NjIwMywtMC4... |
887 | to be the constant value sys hash_info inf If x m n is a negative rational number define hash x as hash x If the resulting hash is 1 replace it with 2 The particular values sys hash_info inf and sys hash_info inf are used as hash values for positive infinity or negative infinity respectively For a complex number z the ... | en | "Wy0wLjAxMjkzMDgzMDk0MDYwNDIxLDAuMDIzNTUyMTA4NTU2MDMyMTgsLTAuMDY1ODIyNDk3MDEwMjMxMDIsLTAuMDUzOTA0NDM2NTI4NjgyNzEsMC4wMzgyNjg3NDEyMjAyMzU4MjUsLTAuMTI4Njc5ODExOTU0NDk4MywwLjA4NzIwMDA5NzczOTY5NjUsMC4wMjY1ODM1ODU4ODgxNDczNTQsLTAuMDI1NzI2NTA2NDg2NTM1MDcyLDAuMDAyNDY2OTU5MTgwMzEwMzY4NSwwLjA1ODA2NzMzMjk1MzIxNDY0NSwwLjAzODQwMzk... |
888 | n defines several iterator objects to support iteration over general and specific sequence types dictionaries and other more specialized forms The specific types are not important beyond their implementation of the iterator protocol Once an iterator s __next__ method raises StopIteration it must continue to do so on su... | en | "Wy0wLjEyMTM4NjgzMzQ4ODk0MTE5LDAuMDE1NTY0Mzk0MTgzNDU2ODk4LC0wLjAyNzQyODYzODE5MDAzMTA1LC0wLjA0MzU5NTE2MTI4ODk3NjY3LC0wLjA2MDE3MzE5MTEzMDE2MTI4NSwtMC4wMDQ4MTEwNTU5NTgyNzEwMjcsLTAuMDQ0NTU5OTEwODkzNDQwMjUsMC4wMDgxNjI1MDY4NTYwMjQyNjUsLTAuMDI5ODk4MTM0OTkxNTI2NjA0LC0wLjAzMjA5MTkzNzk1OTE5NDE4LC0wLjAyOTU3MTY5ODk3ODU0MzI4LDAuMDM... |
889 | e 0 If j is omitted or None use len s If i is greater than or equal to j the slice is empty 5 The slice of s from i to j with step k is defined as the sequence of items with index x i n k such that 0 n j i k In other words the indices are i i k i 2 k i 3 k and so on stopping when j is reached but never including j When... | en | "Wy0wLjAzMDQzMDY4MDE0MDg1MjkyOCwwLjA2MDA5NTg4NzYzMTE3NzksMC4wMDk0MjU2NzE3NzExNjg3MDksLTAuMDA4MTU5MjkzNzkzMTQxODQyLC0wLjA2MjUxNTcyMDcyNTA1OTUxLC0wLjAzMzMyODk3NjQ4MjE1Mjk0LDAuMDQxMzI2NjgzMDE0NjMxMjcsMC4wMDEzNDMxMDk3NjEzNjQ3NTgsMC4wMjk0Mzk2NzQ2OTAzNjU3OSwwLjAyMjAyNDg0OTQyOTcyNjYsLTAuMDAzMjE3MzgxNjU4MDMyNTM2NSwtMC4wMDU3Njc... |
890 | ded for consistency with the interfaces of mutable containers that don t support slicing operations such as dict and set copy is not part of the collections abc MutableSequence ABC but most concrete mutable sequence classes provide it New in version 3 3 clear and copy methods 6 The value n is an integer or an object im... | en | "Wy0wLjEwNjY2NDc4NDI1MjY0MzU5LDAuMDAyMTE1Njc0NzgyNTQ0Mzc0NSwtMC4wMjEzNDIwOTY4NTAyNzU5OTMsLTAuMDU1NzEwOTgyNTMxMzA5MTMsLTAuMDM5NzQ3MzEyNjY0OTg1NjYsLTAuMDk2NDk3OTM4MDM2OTE4NjQsMC4wMTEwODMwODMyMjcyNzY4MDIsLTAuMDE2NjAzNjc0NzM5NTk5MjI4LC0wLjAwMjc3MDk3NDA2Nzk3MTExMDMsLTAuMDMwNjc5MDYzODcxNTAyODc2LDAuMDU2MzIzODkzMzY4MjQ0MTcsMC4... |
891 | ample tuple abc returns a b c and tuple 1 2 3 returns 1 2 3 If no argument is given the constructor creates a new empty tuple Note that it is actually the comma which makes a tuple not the parentheses The parentheses are optional except in the empty tuple case or when they are needed to avoid syntactic ambiguity For ex... | en | "Wy0wLjAwNjU4MTczOTk4ODE3ODAxNSwwLjAxNDY4NjY0OTY2NTIzNjQ3MywtMC4wMzIyNzc2NTg1ODE3MzM3MDQsLTAuMDI5MDQzMjM0ODg0NzM4OTIyLC0wLjA0MDY1ODQ1MTYxNjc2NDA3LC0wLjAwMTMzNTIzNDI2NDg0MzE2NTksLTAuMDE3NDgzNzE0OTY3OTY2MDgsLTAuMDAwMTg1ODAxNDU4NDI4NjEzODQsLTAuMDU4MDQ0MzAzMjA4NTg5NTU0LC0wLjA1MDE4ODc1NzQ3OTE5MDgyNiwtMC4wNDgwOTgxNzI5OTI0Njc... |
892 | quoted strings may span multiple lines all associated whitespace will be included in the string literal String literals that are part of a single expression and have only whitespace between them will be implicitly converted to a single string literal That is spam eggs spam eggs See String and Bytes literals for more a... | en | "Wy0wLjA3MTUyMTE4NTMzODQ5NzE2LC0wLjAyMTk0OTczMDgxMzUwMzI2NSwwLjAyMzc1MjAzMTg0NzgzNDU4NywwLjA1MTk4ODc0MzI0NTYwMTY1NCwtMC4wMzE3Njc2ODQ5NjYzMjU3NiwtMC4wNjQ2MTcxMTIyNzg5MzgzLC0wLjAzMjU4ODQ3NDQ1MjQ5NTU3NSwwLjAyNTcyOTM0ODg4MzAzMjgsMC4wMDkwMDY5OTk0MzMwNDA2MTksLTAuMDQ0ODk3MTcyNjAwMDMwOSwtMC4wMjQ2Mjk1OTQ3NTgxNTI5NiwtMC4wMTE0NTI... |
893 | ault is an ASCII space The original string is returned if width is less than or equal to len s str count sub start end Return the number of non overlapping occurrences of substring sub in the range start end Optional arguments start and end are interpreted as in slice notation If sub is empty returns the number of empt... | en | "Wy0wLjA3MDE4NTMzMzQ5MDM3MTcsLTAuMDAzMTI2NDM3MDc3Mjk4NzYwNCwtMC4wNDM5ODIzNzkxMzg0Njk2OTYsMC4wNDU5OTQ0NjA1ODI3MzMxNTQsLTAuMDY3MzAyNTEwMTQyMzI2MzUsLTAuMDc0NTQ0NjMwOTQ0NzI4ODUsMC4wMjI5NzgwNjM2NzI3ODA5OSwwLjA2Mjc5NDYyNTc1OTEyNDc2LDAuMDE0NDA2MzM3NDAyNzYwOTgzLC0wLjA1MzMxMjExMTY0NTkzNjk2NiwwLjA2Mjk3MDk5NTkwMzAxNTE0LC0wLjA4NzE... |
894 | lt name Guido Guido was born in country New in version 3 2 str index sub start end Like find but raise ValueError when the substring is not found str isalnum Return True if all characters in the string are alphanumeric and there is at least one character False otherwise A character c is alphanumeric if one of the follo... | en | "Wy0wLjAxMzQ5MzgxODIzMDkyNjk5LC0wLjAzNTkzOTU4NTQxNzUwOTA4LDAuMDIwODE2NDU0NjYzODcyNzIsMC4wMjU2MzA4NDI4OTQzMTU3MiwtMC4wNTk5Njk5NjUzNjg1MDkyOSwwLjAxNTExOTE5NDk4NDQzNjAzNSwtMC4wMDU5NDQxMzYwNjQ0OTk2MTcsMC4wMjI3NzUzNjMxNzcwNjEwOCwwLjAyMDk3ODIyNzI1NzcyODU3NywtMC4wNDU5NzIwMTE5ODMzOTQ2MiwwLjExNjQ3NDU2ODg0Mzg0MTU1LC0wLjA1NDQzMjU... |
895 | elements is the string providing this method str ljust width fillchar Return the string left justified in a string of length width Padding is done using the specified fillchar default is an ASCII space The original string is returned if width is less than or equal to len s str lower Return a copy of the string with all... | en | "WzAuMDEwMzI4MjM3ODk4NjQ3Nzg1LDAuMDM3MjQyNTc2NDc5OTExODA0LDAuMDE5NjY5OTg3MjYxMjk1MzIsMC4wMDAzNDA2NTg5MDk0MDgzNzU2LC0wLjA3NDAyODg0OTYwMTc0NTYsLTAuMDE3OTE2MjAwNjgyNTIwODY2LC0wLjAxNDc2Mzk4NjY5MTgzMjU0MiwwLjAzMjQwODM0OTIxNTk4NDM0NCwtMC4wMjAwODQ0NzYwOTg0MTgyMzYsLTAuMDQxNTkwOTczNzM0ODU1NjUsMC4wOTUzMjcxODM2MDQyNDA0MiwwLjAyMDk... |
896 | s of its values are stripped spacious rstrip spacious mississippi rstrip ipz mississ See str removesuffix for a method that will remove a single suffix string rather than all of a set of characters For example Monty Python rstrip Python M Monty Python removesuffix Python Monty str split sep None maxsplit 1 Return a lis... | en | "Wy0wLjAxOTA5Njg0OTQ4NjIzMTgwNCwtMC4wMjgwNTAwMjk2NTAzMzA1NDQsMC4wNDE2NzI1Njg3NjgyNjI4NiwtMC4wMjg0NDg0NjYyMTE1NTczOSwtMC4wMDkyNzgwNjY0NTYzMTc5MDIsLTAuMDM4NDMwNzAxOTQxMjUxNzU1LC0wLjAyNTM1NzkxMTM2MzI0NDA1NywwLjA0NDkzNjg4NDE5NDYxMjUsLTAuMDQwMjU4NTE1NjI2MTkyMDksLTAuMDAyOTIyNTgyMjA3MjQ3NjE1LC0wLjAxOTcyOTM1NTM1MDEzNjc1NywwLjA... |
897 | ill s friends from the UK title They Re Bill S Friends From The Uk The string capwords function does not have this problem as it splits words on spaces only Alternatively a workaround for apostrophes can be constructed using regular expressions import re def titlecase s return re sub r A Za z A Za z lambda mo mo group ... | en | "WzAuMDA2MzQ1MjczOTI2ODU0MTM0LC0wLjAyNTIxMjA0MjAzMzY3MjMzMywwLjA3NTU2MTU1MzIzOTgyMjM5LC0wLjAyMTU1NDQyMTYzMzQ4MTk4LC0wLjA3MzY4NjAwMzY4NDk5NzU2LC0wLjAwMDE0MDY0NTQzOTM4NzI5OTEyLDAuMDc0MDU1ODEzMjUyOTI1ODcsLTAuMDU0NDkxNzczMjQ3NzE4ODEsLTAuMDQwMTEyODQ1NTk5NjUxMzQsLTAuMDA5ODUxNDUxMDMxODYzNjksMC4wNTk1MjEzMDI1ODA4MzM0MzUsLTAuMDU... |
898 | l parameter list The conversion flag characters are Flag Meaning The value conversion will use the alternate form where defined below 0 The conversion will be zero padded for numeric values The converted value is left adjusted overrides the 0 conversion if both are given a space A blank should be left before a positive... | en | "WzAuMDE3MDQ2OTg2MTQ3NzYxMzQ1LDAuMDEwMDIzNzEyMTgwNTU0ODY3LC0wLjA1NzM4MjY4MDQ3NTcxMTgyLC0wLjA0MzY0MDA4NDU2NDY4NTgyLDAuMDEyOTQxNDU1NDY4NTM1NDIzLC0wLjA2OTU3OTI4MDkxMjg3NjEzLDAuMDE3MTI4MjE0MjQwMDc0MTU4LDAuMDc3MzM5OTU0Njc0MjQzOTMsLTAuMDI0OTkwMzgxNjcyOTc4NCwtMC4wMjA2NTcxODM2MDI0NTIyNzgsMC4wNDU5OTg1MjQ4NzQ0NDg3NzYsLTAuMDUxNTQ... |
899 | 0 x 256 attempts to violate this restriction will trigger ValueError This is done deliberately to emphasise that while many binary formats include ASCII based elements and can be usefully manipulated with some text oriented algorithms this is not generally the case for arbitrary binary data blindly applying text proces... | en | "WzAuMDM5Mzg0NTY5OTcyNzUzNTI1LDAuMDQzMDAzNTc0MDEzNzEwMDIsLTAuMDI4MjkxOTQ4MTM5NjY3NTEsLTAuMDM0NjY4MzA0MDI2MTI2ODYsLTAuMDcwMTUxMzQzOTQxNjg4NTQsLTAuMDMxOTUwOTk5MDUxMzMyNDc0LDAuMDA2NzkwNzc1MzQwMDUwNDU5LDAuMDA4MzA1OTQ4MjI3NjQzOTY3LC0wLjAzNDIwNTY3ODg1MDQxMjM3LC0wLjA1NTQ5NzU4MzAwMTg1MjAzNiwwLjAwMzczNjc0OTA1ODU4OTMzOTMsLTAuMDM... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.