Running a python script from the command line in Windows

后端 未结 3 785
忘了有多久
忘了有多久 2021-01-14 02:24

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:

  • install Tortoise for Merc
3条回答
  •  难免孤独
    2021-01-14 03:10

    Considering the documentation says "sfood /path/to/my/project" it most likely assumes a *nix environment. That leads me to the assumption that sfood probably has a shebang line.

    On Windows you probably need to use "python sfood ". If "sfood" isn't in your PATH, you'll need to write the full path rather than just "sfood".

提交回复
热议问题