Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can't run python script on windows #3

Open
firestalk opened this issue Feb 13, 2014 · 2 comments
Open

can't run python script on windows #3

firestalk opened this issue Feb 13, 2014 · 2 comments

Comments

@firestalk
Copy link

When I trying to run python script on windows, I see an error, but can't even dig what is it.
image

I tried to use python, python.exe and full path to python binary - no success, but if cmd string will be like "echo 'TEST'" - it will show result like "TEST\n" in console.

@firestalk
Copy link
Author

Не хочу изображать индуса своим английским, автор, похоже, русский знает =)

@firestalk firestalk reopened this Feb 13, 2014
@wandering-andy
Copy link

This is what I am using as a run command in Notepad++:

cmd /C "taskkill /F /IM pythonw.exe & C:\Python27\Lib\idlelib\idle.bat -c "execfile(r'$(FULL_CURRENT_PATH)')"

After escaping everything for JSON I tried:

"name": "Python",
"cmd": "cmd /C \"taskkill /F /IM pythonw.exe & C:\\Python27\\Lib\\idlelib\\idle.bat -c \"execfile(r'$FILE')\""

However in the developer console I keep getting this error:
image

Not really sure why and it's quickly approaching the hour when my brain ceases to function.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants