pythonbatch-file

Creating a BAT file for python script


How can I create a simple BAT file that will run my python script located at C:\somescript.py?


Solution

  • c:\python27\python.exe c:\somescript.py %*