在 Windows 中从命令行运行 python 脚本

在 Windows 中从命令行运行 python 脚本

问题描述:

我正在尝试运行 SnakeFood 来分析 Python 项目.我在 Windows 机器上,到目前为止我已经能够弄清楚如何:

I'm trying to run SnakeFood, to analyze a python project. I'm on a Windows machine and so far I've been able to figure out how to:

  • 安装 Tortoise for Mercurial 以从站点下载 SnakeFood 代码
  • 设置 windows 路径以从命令提示符接受 python,这样我就可以执行 python setup.py install 并将蛇食品放入我的site-packages"文件夹
  • install Tortoise for Mercurial to download the SnakeFood code from the site
  • set the windows Path to accept python from the command prompt so I could do python setup.py install and got snakefood to go into my "site-packages" folder

现在,文档除了:sfood/path/to/my/project

我无法使用此命令.我错过了什么?

I can't get this command to work. What am I missing?

这行得通吗?

python "DriveLetter:\path\to\sfood.py" "DriveLetter:\path\to\your\project"