python_command-line_usage

Python Command-Line Usage

Command lines used to launch Python programs from a system shell have the following format:

python [option*] [ scriptfile | -c command | -m module | - ] [arg*]

In this format, python denotes the Python interpreter executable with either a full directory path, or the word python that is resolved by the system shell (e.g., via PATH settings). Command-line options intended for Python itself appear before the specification of the program code to be run (option). Arguments intended for the code to be run appear after the program specification (arg).

python_command-line_usage.txt · Last modified: 2024/04/28 03:21 by 127.0.0.1