EDIT: If you are using different libraries, installing Python directly to Windows could be cumbersome. Configuring py2exe's "setup.py" may also require extra effort. I offer another alternative for ...
py2exe是一个能将python脚本转化成windows系统中的.exe可执行文件。即双击test.exe和python test.py的效果是完全一样的 ...