Adding Python Path on Windows 7

后端 未结 19 1603
盖世英雄少女心
盖世英雄少女心 2020-11-21 23:37

I\'ve been trying to add the Python path to the command line on Windows 7, yet no matter the method I try, nothing seems to work. I\'ve used the set command, I\

19条回答
  •  无人共我
    2020-11-22 00:04

    Try adding this python.bat file to System32 folder and the command line will now run python when you type in python

    python.bat

    @C:\Python27\python.exe %*
    

    Source:

    https://github.com/KartikTalwar/dotfiles/blob/master/bat/python.bat

提交回复
热议问题