Getting ActivePython to work with WSH

前端 未结 1 1146
粉色の甜心
粉色の甜心 2020-12-31 15:59

I\'ve installed ActivePython 2.7.2 and I\'m trying to execute a .pys script via the console with wscript/cscript, [i.e. ActivePython (PythonScript with .pys extension) in M

相关标签:
1条回答
  • 2020-12-31 16:14

    To fix this:

    1. Install Python for Windows Extensions (PyWin32)
    2. Register python, C:\YourPythonVersion\Lib\site-packages\win32comext\axscript\client\pyscript.py
    0 讨论(0)
提交回复
热议问题