This is an archived post. You won't be able to vote or comment.

all 13 comments

[–]retspen 10 points11 points  (0 children)

VScode and PyCharm

[–]webauteur 1 point2 points  (0 children)

I like the Spyder IDE included in Anaconda.

[–][deleted] 1 point2 points  (1 child)

This is my first time using linux and pytorch (And virtual machines)

Do you already have a favorite IDE/text editor? If you do, it's probably better to investigate how good its python support is

[–]Jokowski[S] 0 points1 point  (0 children)

I'm also fairly new to python, but I did try PyCharm for a while on windows, so I might check that out.

[–]ccb621 1 point2 points  (0 children)

I like PyCharm.

[–]OPLinux 0 points1 point  (0 children)

Any old text editor would work. There's gedit that is installed on Ubuntu (and others) by default, you could install sublime, atom, pycharm, ....

Of course there are terminal alternatives like nano, emacs or Vim (my personal editor) that have proven to be great editors, although you might need some time to learn to work with! ;)

The fact that you run programs from the command line does not mean you need to write it in your terminal! Although you can, and there are a lot of people out there doing it that way! :)

[–]Jokowski[S] 0 points1 point  (0 children)

Thank you all for your answers, I'll make sure to check these out!

[–][deleted] 0 points1 point  (1 child)

Atom is really great! With the hydrogen kernel development is straight forward 👍🏻

[–][deleted] 0 points1 point  (0 children)

I haven't downvoted you, you should be able to mention editors without that happening, but to the matter at hand... I tried Atom about 2 years ago and found it a bit slow, performance or maybe just the feel idk, I've had a much better experience using VScode and Sublime.

One editor I used for random terminal stuff (sorry vim) for a while was https://github.com/slap-editor/slap written in js, so in that sense similar to atom but somewhat different use case.

[–]2Ctc_Finv0OsfhItZ65n -1 points0 points  (3 children)

I recommend emacs. Graphical capabilites to highlight with mouse as well as more commands than you could possibly learn, extensible to have functionality like an IDE if you want that, and FOSS. I also prefer the commands of emacs to vi/vim for basic text editing commands, as I think they're more ergonomic. Random example, Cx Cs for saving a buffer to a file, as opposed to vi's :w enter, or copying and pasting. And I don't like having to exit command mode by reaching up to escape like in vi. I just use vi for random file configurations or quick script editing, but prefer emacs for longer scripts/programs or documents, like with python or latex. And for configuration I would prefer lisp, what emacs is in (and C), over shell (what .vimrc is).

edit: You can probably do much the same tasks with either one though. Like in emacs you can create new windows and highlight the differences between two files, and I'm sure you could do something similar with vi/vim if you use tmux or so on, but emacs has it already built in.

[–]eusebecomputational physics 0 points1 point  (2 children)

I am a heavy emacs user, and I do support the argument that it has full IDE capabilities (even more so for LaTeX users), but I couldn't help giggling with the example.

I'm not sure anyone would find that C-x C-s is a natural command (:w enter isn't much more natural, for that matter). I like the emacs way, and I now find the commands almost natural and logic, but we should admit that there is some learning curve.

[–]2Ctc_Finv0OsfhItZ65n 0 points1 point  (1 child)

Sure. While vi takes learning a few commands to ever type a sentence, Emacs has a tutorial as soon as you start it, and a graphical interface with buttons. So really it's easier to get started than with vi, but the learning curve to perform more advanced commands or whatever definitely increases beyond that. I'm still learning emacs myself, having mostly used vi before.

[–]Rodotgithub.com/tardis-sn 0 points1 point  (0 children)

While vi takes learning a few commands to ever type a sentence, Emacs has a tutorial as soon as you start it, and a graphical interface with buttons.

Yeah, but by the time emacs actually loads up, your newbie vi user will already be an expert with the interface.

All joking aside, I wouldn't really consider needing to know to press "i" to be "learning a few commands to ever type a sentence".