I want to set up a complete Python IDE in Sublime Text 2.
I want to know how to run the Python code from within the editor. Is it done using build system? How do I do it ?
I had the same problem. You probably haven't saved the file yet. Make sure to save your code with .py extension and it should work.
How do I run Python code from Sublime Text 2?