Sublime Forum

How to run python 2.7 scripts with sublimetext 3 on win 7?

#1

Hi guys,
I read for 1 hour this forum but i cannot find the answer how to run python 2.7 scripts with sublimetext 3 on win 7. I tried all the processes with finding packages, but no success.

I try somethng like

print (“hello”)

If I press Ctrl + B, then the console just shows “[Finished in 0.1s]”, but no python output.

I’m desperate and I cannot believe there is ABSOLUTELY NO documentation about how to set it ti run.

Thanx for any help, idea or URL on the web with solution.

Maros

0 Likes

#2

The unofficial documentation should help you: http://docs.sublimetext.info/en/latest/reference/build_systems/basics.html

0 Likes

#3

I use this

https://packagecontrol.io/packages/Send%20to%20Shell

Like to run it in an external shell

0 Likes

#4

Python works out of the box if you have one installed. Check Sublime’s console after triggering a buld (ctrl+`), it shows shell command used. You may running not the build you’re expecting. To choose build use ctrl+shift+b.

0 Likes