Made a simple package for running selected text in Python: https://github.com/rgbkrk/atom-python
Simply run apm install python
to install.
To use it, just select some text and hit cmd-i (wasn’t sure what the best binding was). Your code will run in a split tab:
I’m still figuring this out, so I’ll have to see how to test this (I’m a total novice to javascript, front end stuff is not my day job). After finishing this up, I realized that making a generic script/interpreter dealy would be a piece of cake (thanks to BufferedProcess
and ScrollView
).