What does python.exe do as an argument?

Is a .py file name required and then what?

+3
source share
2 answers

It takes any parameters for python.exe itself, then the file name (or command or module), and then any arguments that should be passed to your program.

If the file is not specified, it puts you online.

As indicated in Adam's comments, enter python -hto see the full list.

+6
source

The documentation is here.

+11
source

Source: https://habr.com/ru/post/1751090/


All Articles