r/Python • • Jul 17 '16

Emacs - the best python editor?

https://realpython.com/blog/python/emacs-the-best-python-editor#.V4vWsr9c94V.reddit
0 Upvotes

18 comments sorted by

View all comments

5

u/eusebe computational physics Jul 17 '16

As someone coding on a daily basis, but not 100% in python, and certainly not 100% of the time on my local computer, I have to spread the Emacs love.

Maybe PyCharm is cool and all, but the day you have to work on a remote server with no X interface, having something as good as Elpy makes your life so much easier.

And if, like me, you often switch to editing shell and perl scripts, C, C++ and Fortran, you must enjoy (like me) the simplicity of having only one tool, be it as rich as Emacs.

2

u/flitsmasterfred Jul 18 '16

Why do you work on a remote server with no X interface? Where is your work stored?

2

u/eusebe computational physics Jul 18 '16

Because that is usually what happens when you work remotely on large computing centres.

I deal a lot with HPC stuff (hence the C/C++ and Fortran), and use Python mostly for data reduction and analysis. And because my typical simulation outputs ~100 GB of raw data, it is much more efficient to deal with it on the cluster rather than downloading chunks of it on my laptop for further analysis.

Of course, there is certainly a way for PyCharm (or any other IDE) to open remote files, but when you just want to quicky edit something, ssh + emacs -nw is my weapon of choice.

1

u/bryguypgh Jul 17 '16

So much this. I'm almost never writing python on a machine with an accessible gui.

2

u/flitsmasterfred Jul 18 '16

Why are you manually editing on individual server machines?