wuub / SublimeREPL

SublimeREPL - run an interpreter inside ST2 (Clojure, CoffeeScript, F#, Groovy, Haskell, Lua, MozRepl, NodeJS, Python, R, Ruby, Scala, shell or configure one yourself)
https://github.com/wuub/SublimeREPL
Other
2.14k stars 312 forks source link

Being able to set the executable for the Python repl would be useful #139

Open pfmoore opened 11 years ago

pfmoore commented 11 years ago

I have Python 2.7 and 3.3 installed (on Windows), and I use both, via the "py.exe" launcher supplied with Python 3.3. So to run Python 2.7 I use "py -2" and for Python 3.3 I use "py -3" or just "py". I do not have python.exe in my PATH at all. It would be useful to be able to set my preferences to point to the command I want to run for my Python REPL.

wuub commented 11 years ago

I don't know how to add this option nicely so for now place this: https://gist.github.com/wuub/5190168 in %AppData%\Roaming\Sublime Text 2\Packages\User\SublimeREPL\config\Python. It will override default options such way, that Ctrl+Alt+P will still work as expected.

AlexDT commented 11 years ago

Thanks Wuub!