- Secret Recipes of the Python Ninja
- Cody Jackson
- 89字
- 2025-04-04 16:56:19
Generic options
Like most programs, Python has generic options that are common to commercial products, and most home-grown software as well:
- -?, -h, --help: Any one of these options will print out a short description of the command and all available command-line options.
- -V, -VV, --version: Calling -V or -version will print the version number of the Python interpreter. Using -VV puts it into verbose mode (only when using Python 3), which provides more information, such as the Python environment, for example, Anaconda, or the GCC version used.