Sublime Text 2 console input [duplicate]

Since, Sublime not directly support for input console. So, it is easy to get input in Sublime with following extra steps:

  1. Make sure that you have install Package control in Sublime.
    • If you have no install Package control then, go to here then, click install Now button (top right) copy those code and paste it in your Console (make sure you have tick the Show Console option) and Press Enter. (after that restart sublime)
  2. Go to ->Command Palette(Cltr + Shift + p) click “Package Control: Install Package
  3. Search : “SublimeRepl” and wait for Installing.
  4. Once, it is Installed, ,Restart Sublime
    • Go to Tools you will see “”SublimeRepl” option at the bottom (which indicates that it is successfully installed in your sublime)
  5. To run python scripts: Go to Tools->SublimeRepl->Python->Python-RUNcurrentfile option and your code is run in new Repl Tab.

Note: This works fine for sublimeText3 (windows )

Leave a Comment