.py文件的打开方式 1.利用ide直接打开2.利用其他方式打开 1.利用ide直接打开 只要将注册表中HKEY_CLASSES_ROOT\py_auto_file\shell\open\command的值设置为: “C:\python27\pythonw.exe” “C:\python27\Lib\idlelib\idle.pyw” -e “%1”(路径要改为自己python的安装路径) 就可以完美解决了。 2.利用其他方式打开