Text of docs.python.org › 3.16 › library › cmdline.html as Styx crawled it on Oct 17, 2026. The page may have changed since. Only its words are kept, without pictures or layout.

Open the live page

Modules command-line interface (CLI) — Python 3.16.0a1 documentation

Navigation index modules | next | previous | Python » 3.16.0a1 Documentation » The Python standard library » Modules command-line interface (CLI) | Theme | Modules command-line interface (CLI) ¶ The following modules have a command-line interface. ast asyncio base64 calendar code compileall cProfile : see profiling.tracing dis doctest encodings.rot_13 ensurepip filecmp fileinput ftplib gzip http.server idlelib inspect json mimetypes pdb pickle pickletools platform poplib profiling.sampling profiling.tracing pstats py_compile pyclbr pydoc quopri random runpy site sqlite3 symtable sysconfig tabnanny tarfile this timeit tokenize trace turtledemo unittest uuid venv webbrowser zipapp zipfile See also the Python command-line interface .

Previous topic syslog — Unix syslog library routines Next topic Superseded modules This page Report a bug Improve this page Show source « Navigation index modules | next | previous | Python » 3.16.0a1 Documentation » The Python standard library » Modules command-line interface (CLI) | Theme | © Copyright 2001 Python Software Foundation. This page is licensed under the Python Software Foundation License Version 2.

Examples, recipes, and other code in the documentation are additionally licensed under the Zero Clause BSD License. See History and License for more information. The Python Software Foundation is a non-profit corporation. Please donate. Last updated on Oct 16, 2026 (20:22 UTC). Found a bug ? Created using Sphinx 8.2.3.