Skip to content

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.

3 points20 comments
Open on Reddit
About this post
Posted
Archived
Score
3 · 71% up
Kind
Text
ID
iko275

Author

36
posts
151
comments
4
media
View profile

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.

5 points
unknown author6 hidden

PyCharm is by far the best ide for python development! Change my mind.

4 points

PyCharm has no idea of Git staging. No way.

3 points
unknown author2 hidden

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.

3 points

PyCharm is ok for big projects, but small and shorter stuff I really prefer VSCode or Sublime Text.

1 points
unknown author

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.

1 points

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

2 points

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.

1 points

I like Atom and, for Python specifically, I still prefere it, but for the rest... VSCode is lighter.

1 points

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

1 points

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

1 points

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.

1 points

I’ve been using a combination of pyenv and poetry to manage my venvs, especially now that pyproject.toml is gaining some traction.

1 points

I use vim in my servers. For local development, VSCode and terminal

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.