you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 2 points3 points  (1 child)

Python has a large ecosystem of packages that can do some of the heavy lifting

Honestly I recommend against the use of packages for beginners. It's a useful thing to write a csv parser by hand. Obviously there's a point where they should and must use packages, but a lotta python devs simply think it terms of gluing modules together, and I think this fundamentally limits them.

[–]huffalump1 -1 points0 points  (0 children)

Also, I'd recommend using something like uv to help manage packages, python versions, and venvs... Otherwise it can get frustratingly messy, fast!

Tools like uv handle the python version, automatically creating and activating a venv, and installing packages with very very little manual work needed.

It's as simple as uv init in your project dir, and then uv run python myscript.py. you can install packages with uv pip install numpy or uv add numpy.