Python Executable Under Windows
Brought to you by:
emuntyan
When running python scripts with Shift+F9 under Windows medit uses its local distribution of python.
This doesn't allow me to use my system's distribution and its libs. To do so I had to modify PYTHON_COMMAND in "C:\Program Files (x86)\medit\share\medit-1\python\medit\runpython.py" to be PYTHON_COMMAND = '"C:\Python27\pythonw.exe" -u'
I don't know if this breaks something elsewhere?
Python plugin should have such option, so the user doesn't have to modify medit's files by hand.
Agree, this is not good. Not sure how to fix it though, would an env variable (e.g. MEDIT_PYTHON_COMMAND) work for you?
I'd recommend this be made into a medit INI file directive/key, as is customary in Windows...