赞
踩
做比赛时竞赛方常常会对选手使用的第三方库进行限制,然而,博主往往对于自己使用的库到底是标准库还是第三方库感到疑惑。即使查找百度,有些库也不能给出明确的答案,因此,博主找到了最新的python3.10.3官方稳定供大家参考,只要不在这个里面的就是第三方库。
目录
不需要挂VP,点击即可
如果仅仅想查找某一模块是不是标准库,博主也按照首字母排序整理好了全部标准库供大家参考:
__future__ — Future statement definitions __main__ — Top-level code environment _thread — Low-level threading API 2to3 - Automated Python 2 to 3 code translation abc — Abstract Base Classes aifc — Read and write AIFF and AIFC files argparse — Parser for command-line options, arguments and sub-commands array — Efficient arrays of numeric values ast — Abstract Syntax Trees asynchat — Asynchronous socket command/response handler asyncio — Asynchronous I/O asyncore — Asynchronous socket handler atexit — Exit handlers audioop — Manipulate raw audio data Audit events table Bad file descriptor error example base64 — Base16, Base32, Base64, Base85 Data Encodings bdb — Debugger framework binascii — Convert between binary and ASCII binhex — Encode and decode binhex4 files bisect — Array bisection algorithm builtins — Built-in objects bz2 — Support for bzip2 compression calendar — General calendar-related functions cgi — Common Gateway Interface support cgitb — Traceback manager for CGI scripts chunk — Read IFF chunked data cmath — Mathematical functions for complex numbers cmd — Support for line-oriented command interpreters code — Interpreter base classes codecs — Codec registry and base classes codeop — Compile Python code collections — Container datatypes collections.abc — Abstract Base Classes for Containers colorsys — Conversions between color systems compileall — Byte-compile Python libraries concurrent.futures — Launching parallel tasks configparser — Configuration file parser contextlib — Utilities for with-statement contexts contextvars — Context Variables copy — Shallow and deep copy operations copyreg — Register pickle support functions crypt — Function to check Unix passwords csv — CSV File Reading and Writing ctypes — A foreign function library for Python curses — Terminal handling for character-cell displays curses.ascii — Utilities for ASCII characters curses.panel — A panel stack extension for curses curses.textpad — Text input widget for curses programs dataclasses — Data Classes datetime — Basic date and time types dbm — Interfaces to Unix “databases” decimal — Decimal fixed point and floating point arithmetic difflib — Helpers for computing deltas dis — Disassembler for Python bytecode distutils — Building and installing Python modules doctest — Test interactive Python examples Effects of the Python Development Mode email — An email and MIME handling package ensurepip — Bootstrapping the pip installer enum — Support for enumerations errno — Standard errno system symbols faulthandler — Dump the Python traceback fcntl — The fcntl and ioctl system calls filecmp — File and Directory Comparisons fileinput — Iterate over lines from multiple input streams fnmatch — Unix filename pattern matching fractions — Rational numbers ftplib — FTP protocol client functools — Higher-order functions and operations on callable objects gc — Garbage Collector interface getopt — C-style parser for command line options getpass — Portable password input gettext — Multilingual internationalization services glob — Unix style pathname pattern expansion graphlib — Functionality to operate with graph-like structures grp — The group database gzip — Support for gzip files hashlib — Secure hashes and message digests heapq — Heap queue algorithm hmac — Keyed-Hashing for Message Authentication html — HyperText Markup Language support html.entities — Definitions of HTML general entities html.parser — Simple HTML and XHTML parser http — HTTP modules http.client — HTTP protocol client http.cookiejar — Cookie handling for HTTP clients http.cookies — HTTP state management http.server — HTTP servers IDLE imaplib — IMAP4 protocol client imghdr — Determine the type of an image imp — Access the import internals importlib — The implementation of import inspect — Inspect live objects io — Core tools for working with streams ipaddress — IPv4/IPv6 manipulation library itertools — Functions creating iterators for efficient looping json — JSON encoder and decoder keyword — Testing for Python keywords linecache — Random access to text lines locale — Internationalization services logging — Logging facility for Python logging.config — Logging configuration logging.handlers — Logging handlers lzma — Compression using the LZMA algorithm mailbox — Manipulate mailboxes in various formats mailcap — Mailcap file handling marshal — Internal Python object serialization math — Mathematical functions mimetypes — Map filenames to MIME types mmap — Memory-mapped file support modulefinder — Find modules used by a script msilib — Read and write Microsoft Installer files msvcrt — Useful routines from the MS VC++ runtime multiprocessing — Process-based parallelism multiprocessing.shared_memory — Provides shared memory for direct access across processes netrc — netrc file processing nis — Interface to Sun’s NIS (Yellow Pages) nntplib — NNTP protocol client numbers — Numeric abstract base classes operator — Standard operators as functions optparse — Parser for command line options os — Miscellaneous operating system interfaces os.path — Common pathname manipulations ossaudiodev — Access to OSS-compatible audio devices pathlib — Object-oriented filesystem paths pdb — The Python Debugger pickle — Python object serialization pickletools — Tools for pickle developers pipes — Interface to shell pipelines pkgutil — Package extension utility platform — Access to underlying platform’s identifying data plistlib — Generate and parse Apple .plist files poplib — POP3 protocol client posix — The most common POSIX system calls pprint — Data pretty printer pty — Pseudo-terminal utilities pwd — The password database py_compile — Compile Python source files pyclbr — Python module browser support pydoc — Documentation generator and online help system Python Development Mode queue — A synchronized queue class quopri — Encode and decode MIME quoted-printable data random — Generate pseudo-random numbers re — Regular expression operations readline — GNU readline interface reprlib — Alternate repr() implementation resource — Resource usage information ResourceWarning Example rlcompleter — Completion function for GNU readline runpy — Locating and executing Python modules sched — Event scheduler secrets — Generate secure random numbers for managing secrets select — Waiting for I/O completion selectors — High-level I/O multiplexing shelve — Python object persistence shlex — Simple lexical analysis shutil — High-level file operations signal — Set handlers for asynchronous events site — Site-specific configuration hook smtpd — SMTP Server smtplib — SMTP protocol client sndhdr — Determine type of sound file socket — Low-level networking interface socketserver — A framework for network servers spwd — The shadow password database sqlite3 — DB-API 2.0 interface for SQLite databases ssl — TLS/SSL wrapper for socket objects stat — Interpreting stat() results statistics — Mathematical statistics functions string — Common string operations stringprep — Internet String Preparation struct — Interpret bytes as packed binary data subprocess — Subprocess management sunau — Read and write Sun AU files symtable — Access to the compiler’s symbol tables sys — System-specific parameters and functions sysconfig — Provide access to Python’s configuration information syslog — Unix syslog library routines tabnanny — Detection of ambiguous indentation tarfile — Read and write tar archive files telnetlib — Telnet client tempfile — Generate temporary files and directories termios — POSIX style tty control test — Regression tests package for Python test.support — Utilities for the Python test suite test.support.bytecode_helper — Support tools for testing correct bytecode generation test.support.import_helper — Utilities for import tests test.support.os_helper — Utilities for os tests test.support.script_helper — Utilities for the Python execution tests test.support.socket_helper — Utilities for socket tests test.support.threading_helper — Utilities for threading tests test.support.warnings_helper — Utilities for warnings tests textwrap — Text wrapping and filling The Python Profilers The concurrent package threading — Thread-based parallelism time — Time access and conversions timeit — Measure execution time of small code snippets Tkinter Dialogs tkinter — Python interface to Tcl/Tk tkinter.colorchooser — Color choosing dialog tkinter.dnd — Drag and drop support tkinter.font — Tkinter font wrapper tkinter.messagebox — Tkinter message prompts tkinter.scrolledtext — Scrolled Text Widget tkinter.tix — Extension widgets for Tk tkinter.ttk — Tk themed widgets token — Constants used with Python parse trees tokenize — Tokenizer for Python source trace — Trace or track Python statement execution traceback — Print or retrieve a stack traceback tracemalloc — Trace memory allocations tty — Terminal control functions turtle — Turtle graphics types — Dynamic type creation and names for built-in types typing — Support for type hints unicodedata — Unicode Database unittest — Unit testing framework unittest.mock — getting started unittest.mock — mock object library urllib — URL handling modules urllib.error — Exception classes raised by urllib.request urllib.parse — Parse URLs into components urllib.request — Extensible library for opening URLs urllib.response — Response classes used by urllib urllib.robotparser — Parser for robots.txt Using importlib.metadata uu — Encode and decode uuencode files uuid — UUID objects according to RFC 4122 venv — Creation of virtual environments warnings — Warning control wave — Read and write WAV files weakref — Weak references webbrowser — Convenient web-browser controller winreg — Windows registry access winsound — Sound-playing interface for Windows wsgiref — WSGI Utilities and Reference Implementation xdrlib — Encode and decode XDR data XML Processing Modules xml.dom — The Document Object Model API xml.dom.minidom — Minimal DOM implementation xml.dom.pulldom — Support for building partial DOM trees xml.etree.ElementTree — The ElementTree XML API xml.parsers.expat — Fast XML parsing using Expat xml.sax — Support for SAX2 parsers xml.sax.handler — Base classes for SAX handlers xml.sax.saxutils — SAX Utilities xml.sax.xmlreader — Interface for XML parsers xmlrpc — XMLRPC server and client modules xmlrpc.client — XML-RPC client access xmlrpc.server — Basic XML-RPC servers zipapp — Manage executable Python zip archives zipfile — Work with ZIP archives zipimport — Import modules from Zip archives zlib — Compression compatible with gzip zoneinfo — IANA time zone support __future__ — Future statement definitions __main__ — Top-level code environment _thread — Low-level threading API 2to3 - Automated Python 2 to 3 code translation abc — Abstract Base Classes aifc — Read and write AIFF and AIFC files argparse — Parser for command-line options, arguments and sub-commands array — Efficient arrays of numeric values ast — Abstract Syntax Trees asynchat — Asynchronous socket command/response handler asyncio — Asynchronous I/O asyncore — Asynchronous socket handler atexit — Exit handlers audioop — Manipulate raw audio data Audit events table Bad file descriptor error example base64 — Base16, Base32, Base64, Base85 Data Encodings bdb — Debugger framework binascii — Convert between binary and ASCII binhex — Encode and decode binhex4 files bisect — Array bisection algorithm builtins — Built-in objects bz2 — Support for bzip2 compression calendar — General calendar-related functions cgi — Common Gateway Interface support cgitb — Traceback manager for CGI scripts chunk — Read IFF chunked data cmath — Mathematical functions for complex numbers cmd — Support for line-oriented command interpreters code — Interpreter base classes codecs — Codec registry and base classes codeop — Compile Python code collections — Container datatypes collections.abc — Abstract Base Classes for Containers colorsys — Conversions between color systems compileall — Byte-compile Python libraries concurrent.futures — Launching parallel tasks configparser — Configuration file parser contextlib — Utilities for with-statement contexts contextvars — Context Variables copy — Shallow and deep copy operations copyreg — Register pickle support functions crypt — Function to check Unix passwords csv — CSV File Reading and Writing ctypes — A foreign function library for Python curses — Terminal handling for character-cell displays curses.ascii — Utilities for ASCII characters curses.panel — A panel stack extension for curses curses.textpad — Text input widget for curses programs dataclasses — Data Classes datetime — Basic date and time types dbm — Interfaces to Unix “databases” decimal — Decimal fixed point and floating point arithmetic difflib — Helpers for computing deltas dis — Disassembler for Python bytecode distutils — Building and installing Python modules doctest — Test interactive Python examples Effects of the Python Development Mode email — An email and MIME handling package ensurepip — Bootstrapping the pip installer enum — Support for enumerations errno — Standard errno system symbols faulthandler — Dump the Python traceback fcntl — The fcntl and ioctl system calls filecmp — File and Directory Comparisons fileinput — Iterate over lines from multiple input streams fnmatch — Unix filename pattern matching fractions — Rational numbers ftplib — FTP protocol client functools — Higher-order functions and operations on callable objects gc — Garbage Collector interface getopt — C-style parser for command line options getpass — Portable password input gettext — Multilingual internationalization services glob — Unix style pathname pattern expansion graphlib — Functionality to operate with graph-like structures grp — The group database gzip — Support for gzip files hashlib — Secure hashes and message digests heapq — Heap queue algorithm hmac — Keyed-Hashing for Message Authentication html — HyperText Markup Language support html.entities — Definitions of HTML general entities html.parser — Simple HTML and XHTML parser http — HTTP modules http.client — HTTP protocol client http.cookiejar — Cookie handling for HTTP clients http.cookies — HTTP state management http.server — HTTP servers IDLE imaplib — IMAP4 protocol client imghdr — Determine the type of an image imp — Access the import internals importlib — The implementation of import inspect — Inspect live objects io — Core tools for working with streams ipaddress — IPv4/IPv6 manipulation library itertools — Functions creating iterators for efficient looping json — JSON encoder and decoder keyword — Testing for Python keywords linecache — Random access to text lines locale — Internationalization services logging — Logging facility for Python logging.config — Logging configuration logging.handlers — Logging handlers lzma — Compression using the LZMA algorithm mailbox — Manipulate mailboxes in various formats mailcap — Mailcap file handling marshal — Internal Python object serialization math — Mathematical functions mimetypes — Map filenames to MIME types mmap — Memory-mapped file support modulefinder — Find modules used by a script msilib — Read and write Microsoft Installer files msvcrt — Useful routines from the MS VC++ runtime multiprocessing — Process-based parallelism multiprocessing.shared_memory — Provides shared memory for direct access across processes netrc — netrc file processing nis — Interface to Sun’s NIS (Yellow Pages) nntplib — NNTP protocol client numbers — Numeric abstract base classes operator — Standard operators as functions optparse — Parser for command line options os — Miscellaneous operating system interfaces os.path — Common pathname manipulations ossaudiodev — Access to OSS-compatible audio devices pathlib — Object-oriented filesystem paths pdb — The Python Debugger pickle — Python object serialization pickletools — Tools for pickle developers pipes — Interface to shell pipelines pkgutil — Package extension utility platform — Access to underlying platform’s identifying data plistlib — Generate and parse Apple .plist files poplib — POP3 protocol client posix — The most common POSIX system calls pprint — Data pretty printer pty — Pseudo-terminal utilities pwd — The password database py_compile — Compile Python source files pyclbr — Python module browser support pydoc — Documentation generator and online help system Python Development Mode queue — A synchronized queue class quopri — Encode and decode MIME quoted-printable data random — Generate pseudo-random numbers re — Regular expression operations readline — GNU readline interface reprlib — Alternate repr() implementation resource — Resource usage information ResourceWarning Example rlcompleter — Completion function for GNU readline runpy — Locating and executing Python modules sched — Event scheduler secrets — Generate secure random numbers for managing secrets select — Waiting for I/O completion selectors — High-level I/O multiplexing shelve — Python object persistence shlex — Simple lexical analysis shutil — High-level file operations signal — Set handlers for asynchronous events site — Site-specific configuration hook smtpd — SMTP Server smtplib — SMTP protocol client sndhdr — Determine type of sound file socket — Low-level networking interface socketserver — A framework for network servers spwd — The shadow password database sqlite3 — DB-API 2.0 interface for SQLite databases ssl — TLS/SSL wrapper for socket objects stat — Interpreting stat() results statistics — Mathematical statistics functions string — Common string operations stringprep — Internet String Preparation struct — Interpret bytes as packed binary data subprocess — Subprocess management sunau — Read and write Sun AU files symtable — Access to the compiler’s symbol tables sys — System-specific parameters and functions sysconfig — Provide access to Python’s configuration information syslog — Unix syslog library routines tabnanny — Detection of ambiguous indentation tarfile — Read and write tar archive files telnetlib — Telnet client tempfile — Generate temporary files and directories termios — POSIX style tty control test — Regression tests package for Python test.support — Utilities for the Python test suite test.support.bytecode_helper — Support tools for testing correct bytecode generation test.support.import_helper — Utilities for import tests test.support.os_helper — Utilities for os tests test.support.script_helper — Utilities for the Python execution tests test.support.socket_helper — Utilities for socket tests test.support.threading_helper — Utilities for threading tests test.support.warnings_helper — Utilities for warnings tests textwrap — Text wrapping and filling The Python Profilers The concurrent package threading — Thread-based parallelism time — Time access and conversions timeit — Measure execution time of small code snippets Tkinter Dialogs tkinter — Python interface to Tcl/Tk tkinter.colorchooser — Color choosing dialog tkinter.dnd — Drag and drop support tkinter.font — Tkinter font wrapper tkinter.messagebox — Tkinter message prompts tkinter.scrolledtext — Scrolled Text Widget tkinter.tix — Extension widgets for Tk tkinter.ttk — Tk themed widgets token — Constants used with Python parse trees tokenize — Tokenizer for Python source trace — Trace or track Python statement execution traceback — Print or retrieve a stack traceback tracemalloc — Trace memory allocations tty — Terminal control functions turtle — Turtle graphics types — Dynamic type creation and names for built-in types typing — Support for type hints unicodedata — Unicode Database unittest — Unit testing framework unittest.mock — getting started unittest.mock — mock object library urllib — URL handling modules urllib.error — Exception classes raised by urllib.request urllib.parse — Parse URLs into components urllib.request — Extensible library for opening URLs urllib.response — Response classes used by urllib urllib.robotparser — Parser for robots.txt Using importlib.metadata uu — Encode and decode uuencode files uuid — UUID objects according to RFC 4122 venv — Creation of virtual environments warnings — Warning control wave — Read and write WAV files weakref — Weak references webbrowser — Convenient web-browser controller winreg — Windows registry access winsound — Sound-playing interface for Windows wsgiref — WSGI Utilities and Reference Implementation xdrlib — Encode and decode XDR data XML Processing Modules xml.dom — The Document Object Model API xml.dom.minidom — Minimal DOM implementation xml.dom.pulldom — Support for building partial DOM trees xml.etree.ElementTree — The ElementTree XML API xml.parsers.expat — Fast XML parsing using Expat xml.sax — Support for SAX2 parsers xml.sax.handler — Base classes for SAX handlers xml.sax.saxutils — SAX Utilities xml.sax.xmlreader — Interface for XML parsers xmlrpc — XMLRPC server and client modules xmlrpc.client — XML-RPC client access xmlrpc.server — Basic XML-RPC servers zipapp — Manage executable Python zip archives zipfile — Work with ZIP archives zipimport — Import modules from Zip archives zlib — Compression compatible with gzip zoneinfo — IANA time zone support
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。