简体   繁体   English

python.exe作为参数是什么?

[英]what does python.exe take as arguments?

它采用.py的文件名然后是什么?

文档在这里。

It takes any options for python.exe itself, then the name of the file (or command or module), then any arguments to be passed to your program. 它接受python.exe本身的任何选项,然后是文件(或命令或模块)的名称,然后是传递给程序的任何参数。

If no file is specified, it puts you in interactive mode. 如果未指定文件,则会使您进入交互模式。

As indicated in the comments by Adam, type python -h to see the full list. 如Adam的评论中所示,键入python -h以查看完整列表。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM