Some modules in Python can act as command-line tools when run with the -m argument, such as webbrowser for opening URLs or http.server for starting a web server.
Python modules avoid import side effects, but some fun Easter egg modules like antigravity have them. The __name__ variable distinguishes between running a module as a script or importing it.
Collection
[
|
...
]