How to Run Python Code on SublimeREPL
python, python-2.7, sublimerepl, ubuntu
Solution
First "`Install Package Control`" from https://sublime.wbond.net/installation#st2
Optional(To check the above package is successfully installed: Click the `Preferences > Browse Packages`… at this folder Click `Back Button` one time and then into the Installed Packages/ folder, check there will be `Package Control.sublime-package` file)
then go to `Preferences > Package Control > Package Control: Install Package` in sublime text 2
find `SublimeREPL` in list.
Restart SublimeText2
open `Preferences > Package Settings > SublimeREPL > Settings - Default` file copy all text from there.
then open `Preferences > Package Settings > SublimeREPL > Settings - User` and paste the text here.
Restart SublimeText2
Go to `Tools > SublimeREPL > Python > Python`
And you are done
Problem
I really like using sublime text 2 to write Python codes, however any time I try to run a script which has an input, the sublime text console reports an error. So, I decided to try `SublimeREPL`, however I've been searching for hours and I didn't find out how to run Python code... could you guys help me? I want to run the code on `SublimeREPL` as we do with the sublime text console (`CTRL+b`).. what I actually want to know is whether or not there's a way to do the same with `SublimeREPL`. Thank you in advance!