11

I've done a bit of programming before. I'm in a bachelors program for structural engineering, but they only get us to focus on Python.

Python material is so very wordy. I often try to restart from basics, and there's a lot of 'you have to reinstall it and use the pure python version, it's the only way you'll learn it properly' - but I find this way more confusing than using an IDE. I struggle to implement new libraries as well, in my existing IDE (i use spyder). Feels so clunky.

I want to be able to make things i can actually use, practice programming regularly, but I'm really not good at self directed stuff. Or even setting things up, as i tried to explain with the second paragraph. Any pointers towards relevant resources?

top 3 comments
sorted by: hot top new old
[-] stembolts@programming.dev 4 points 6 hours ago* (last edited 5 hours ago)

Addressing your verbosity complaint:

Spend time learning to read the lowest level documentation possible.

stdlib

It's dense and terse, which makes it difficult to read. But the knowledge per word is the value.

For example, you were mentioning relying on tools to build your environment and manage your installation. Don't. Learn how venv and pip work. Learn at the lowest level. Build up. Stop learning from the top and building down. Save that for when a project demands it.

Understand "why", not "how", and then you can evaluate whether a guide is wasting your time.

[-] Maddier1993@programming.dev 2 points 5 hours ago* (last edited 5 hours ago)

I faced this problem numerous times. This is mostly a problem with parsing the text.

Most often the solution is to translate the text into how other people think through a problem and replicate their mental model of the world in your head. This sounds tough but when you read, you should pay attention at various levels: Phrases -> Sentences -> Paragraph. Construct the mental model as numerous Cause->Effect relations. Identify other types of relations that the author wants to convey.

Often also change the way you parse the text. What I described above is Bottom-Up approach where you construct the big picture from smaller pieces. The other way would be to start Top-Down, construct a big picture view by reading only the start and end of a specific paragraph/technique, understand the transformation that is happening to code/data/control flow, then move on to the next big chunk. Eventually you will get the general idea. Then you can drill down on specific paragraphs/ideas and focus on the details.

Regarding Python itself, The sentence "reinstall it and use the pure python version, it's the only way you'll learn it properly" is assuming that one would easily figure out one among the the numerous ways of installing a python environment. It's not an easy thing to do given that you as a beginner won't understand all the nuances of what each method achieves.

Easiest way to proceed is to pick one way to setup your python environment and be done with it.

Tl; Dr

I am on Linux, so my personal stack is:

  1. pyenv -> a. curl -fsSL https://pyenv.run/ | bash b. ~/.pyenv/bin/pyenv init --install

  2. Install a python version -> a. pyenv install 3.14

  3. Create my workspace and set the python version to the one I installed: a. mkdir workspace b. cd workspace c. pyenv local 3.14

  4. Create a venv so I have a local python virtual environment: a. python3 -m venv .venv b. source .venv/bin/activate

  5. Start working on my project/code.

(Note for others: I don't recommend uv here as I don't use it myself and haven't tried to properly use it for an extended duration of time)

On Windows, use python install manager + Venv.

This is a good tutorial:

https://www.youtube.com/watch?v=6e3WLhPLiZQ

Edit: I forgot to mention that the python docs are an excellent starting point for learning python in general: https://docs.python.org/3/

[-] Valmond@lemmy.dbzer0.com 2 points 6 hours ago

Use PyCharm if you can, a very very user friendly (and newbie friendly) IDE IMO.

Are you struggling with something specific otherwise?

You can also just ask away on duck.ai, useful for short examples like open and read a file, store things on a dict etc.

this post was submitted on 23 Sep 2026
11 points (100.0% liked)

Learn Programming

2242 readers
17 users here now

Posting Etiquette

  1. Ask the main part of your question in the title. This should be concise but informative.

  2. Provide everything up front. Don't make people fish for more details in the comments. Provide background information and examples.

  3. Be present for follow up questions. Don't ask for help and run away. Stick around to answer questions and provide more details.

  4. Ask about the problem you're trying to solve. Don't focus too much on debugging your exact solution, as you may be going down the wrong path. Include as much information as you can about what you ultimately are trying to achieve. See more on this here: https://xyproblem.info/

Icon base by Delapouite under CC BY 3.0 with modifications to add a gradient

founded 3 years ago
MODERATORS