This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Cover directory and zipfile execution in __main__ module docs
Type: enhancement Stage: needs patch
Components: Documentation Versions:
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: docs@python Nosy List: docs@python, ncoghlan
Priority: normal Keywords:

Created on 2021-09-09 07:45 by ncoghlan, last changed 2022-04-11 14:59 by admin.

Messages (1)
msg401440 - (view) Author: Nick Coghlan (ncoghlan) * (Python committer) Date: 2021-09-09 07:45
bpo-39452 covered significant improvements to the __main__ module documentation at https://docs.python.org/dev/library/__main__.html, making it a better complement to the CPython CLI documentation at https://docs.python.org/dev/using/cmdline.html#command-line

This follow up ticket covers the `__main__` variant that the previous ticket didn't cover: directory and zipfile execution (which underlies the utility of the `zipapp` stdlib module: https://docs.python.org/dev/library/zipapp.html)

The relevant info is present in the CLI and runpy.run_path documentation, so this ticket just covers adding that info to the `__main__` module docs.
History
Date User Action Args
2022-04-11 14:59:49adminsetgithub: 89312
2022-03-11 14:52:45petr.viktorinsetassignee: docs@python

components: + Documentation
nosy: + docs@python
2021-09-09 07:45:42ncoghlancreate