How do I go about working on projects, specifically python?
Recently upgraded from windows, still figuring some things out. On windows I installed anaconda, Installed spyder via anaconda, opened files in spyder through anaconda.
On Arch I understand anaconda also exists, but also now I;m starting to use vim, and also before upgrading I was thinking I liked the look of Atom, and I know Atom can, like, work with vim or something? In general I am aware of a large amount of relevant things and I am unsure of how to proceed.
Any help is appreciated.
About this post
- Posted
- Archived
- Score
- 3 · 71% up
- Kind
- Text
- ID
- iko275
20 comments
I just use vim and run it in a terminal.
The speed I can achieve with vim is unmatched and if you wanted something specific there's plugins for pretty much everything. There's even some that mimic intellisense.
PyCharm is by far the best ide for python development! Change my mind.
PyCharm has no idea of Git staging. No way.
What do you mean? You have a pane that displays staging, previous commits and shows branches and you have a diff/merge tool built in.
PyCharm is ok for big projects, but small and shorter stuff I really prefer VSCode or Sublime Text.
That makes sense. PyCharm requires you to make a new dedicated folder structure for a project which might be overkill for small scripts. I personally use Pycharm all the time and have one "Scripts" project for all the small stuff. That way I have access to all the sophisticated features without the drawbacks.
VSCode and terminal
VSCode with or without vim?
As atom will most likely die out in favor of Vs code. So sad.
you should make sure to use virtenv to prevent messing up system python with your packages. this can also brake updates.
base install with miniconda, and than install what you need into env's.
used pycharm, atom, spyder etc... currently stuck on jupyter lab
This should be higher up. Creating virtual environments with python on arch is basically a requirement. I also just use miniconda and get whatever I need through that for each project/env. This is probably the easiest thing once you get used to it.
I like Atom and, for Python specifically, I still prefere it, but for the rest... VSCode is lighter.
Is there some reason to use Atom over VS Code(ium)? I thought Atom is nowadays a poor version of VS Code, especially after Microsoft bought GitHub
I develop with python and Django and don't use anaconda, and I don't need it, for light text editing I use Vim and the unbranded version of Vscode from the AUR for coding, I used to use atom but Vscode is just faster + have almost everything you need ootb, I remember loosing hours with atom's external modules
Anaconda is not required. Arch comes with python and there are several officially maintained python libraries in the arch repos. You may also prefer to install pip to manage python packages.
As for editors/ides . . . use whatever you like. I use vim, but there are many other options. Atom is one such option. Spyder is another (which might suit you because it is familiar). I knew a guy who recommended ninja IDE . . . whatever floats your boat, really.
Vim and venv, propably make and ctags will do.
I’ve been using a combination of
pyenvandpoetryto manage my venvs, especially now thatpyproject.tomlis gaining some traction.I use vim in my servers. For local development, VSCode and terminal