Windows: run python command from clickable icon

前端 未结 4 731
北荒
北荒 2020-12-20 19:25

I have a python script I run using Cygwin and I\'d like to create a clickable icon on the windows desktop that could run this script without opening Cygwin and entering in t

4条回答
  •  时光说笑
    2020-12-20 19:49

    This tutorial shows how to create a batch file that runs a python script.

    Note that many of the other answers are out of date - py2exe is out of support past python 3.4. More info here.

提交回复
热议问题