windows下py文件的运行需要安装python,如果是exe文件就可以直接运行
pip install pyinstaller
pyinstaller -F demo.py 会在目录下生成dist文件,exe文件就在里面