-m
参数告诉python以模块的方式运行某个脚本。命令格式:
python -m package.script
执行此命令,python会自动先帮你引入包package
,然后执行脚本script
。
Ref
https://stackoverflow.com/questions/22241420/execution-of-python-code-with-m-option-or-not
-m
参数告诉python以模块的方式运行某个脚本。命令格式:
python -m package.script
执行此命令,python会自动先帮你引入包package
,然后执行脚本script
。
Ref
https://stackoverflow.com/questions/22241420/execution-of-python-code-with-m-option-or-not