How to run Python Code from Sublime,and How to run Python Code with input from sublime
Using SublimeREPL
To install it you need package control
this lets you easily install plugins. Follow the instructions. Once thats done:
- in Sublime press Ctrl + Shift + P (linux command in
ST
for 'goto anything'). - Type in 'install',
- click on 'sublime package control: install package'.
- Then select
SublimeREPL
. It will install it automatically. - To use it go to
Tools>sublimerepl>python
from the menus.