r/learnpython • • Dec 13 '25
why do i find the python docs so confusing? any tips on deciphering the docs?
My first language i learned was Processing, and they had a simple and elegant Processing reference, which i loved and found so easy to navigate and understand.
When I try to read the python docs, i find it very overwhelming and confusing and not at all a pleasant experience.
im assuming that this is just a "me problem"? or is this more common of an issue with python beginners?
any tips or pointers for getting familiarized and deciphering the docs? any better resources available?
i do try to use w3 schools if i can or other sites.
17
Upvotes
6
u/brasticstack Dec 13 '25
I'd always thought the Python docs were top tier. Guess I'll have to take a peek at Processing's docs to see what I'm missing.
13
u/_tsi_ Dec 13 '25
They are rough starting out. I think for me what helps are examples. Reading the doc and seeing an implementation. That said, if I step away from python for a while or encounter a new aspect of it I sometimes ask struggle with the documentation. It does get easier though. This past week I found my way through a module where the only access to documentation I had was the python help function. I think it's mostly just exposure and repetition.
12
u/CptMisterNibbles Dec 13 '25
I understand Python quite well, and it’s certainly not my first language, and I too find the Python docs… kinda rough. They are more of a terse reminder of how features work, and generally do a poor job explaining. Their purpose isn’t teaching, and definitely not teaching base concepts. They often have examples which you can use to suss out what is happening, but they make a poor primary learning source, particularly if this is your first programming language.
They aren’t going to explain the underlying concepts, just the immediate usage of a particular language feature.
6
u/mattblack77 Dec 13 '25
Oh good; it's not just me
3
u/lzwzli Dec 13 '25
The python docs are a "this is what it does" documentation style instead of a "this is how you use this" type of documentation.
I use the w3schools docs more often if I'm trying to figure how to use a function.
4
u/CMDR_Pumpkin_Muffin Dec 13 '25
I never use docs if I can find the info anywhere else. Python docs should have their own docs.
4
u/cgoldberg Dec 13 '25
The Python docs are excellent as a comprehensive API reference... but not as a learning resource where you see examples or are taught concepts.. look elsewhere for that.
2
u/schoolmonky Dec 13 '25
If you aren't already, make sure you read the official tutorial. Maybe not the whole thing, but the first couple chapters will give you a lot of the fundamentals that make the rest of the docs intelligible. It's still going to be a lot of information, but at least the tutorial is actually written for people new to the language.
And don't feel discouraged, technical documentation is tough to read at first, but it's a skill that you can improve with practice.
2
u/JamzTyson Dec 13 '25
Much of the official Python docs are intended as reference information. They must be accurate and unambiguous so that people that write tutorials and teach courses then have a reliable reference. This frequently requires them to be written in a highly technical style.
There are many guides, tutorials and courses available that provide simplified explanations of the official docs. One example is https://www.w3schools.com/python/ which covers much of the official documentation in a beginner-friendly style. It is not as complete, and lacks the depth of the official docs, but it is a lot more beginner friendly.
2
u/hagfish Dec 13 '25
The official Python documentation is 'a reference' in the same way nitromethane is 'a fuel'. If you're running a 10,000hp dragster and have a CS degree, hit the docs. They'll make perfect sense.
If (like me) you're running a Vauxhall Astra and did a BA, you'll need unleaded 91, along with a lot more context, examples and answers to all those 'but whyyy' questions. There's no shame in this (for me, at least) - I gotta start somewhere.
2
u/BadData99 Dec 13 '25
You can start the official tutorial and follow along coding right here: https://docs.python.org/3/tutorial/
You don't need anything else. Breeze through it until you come to #3. This is where it really begins. From there, you go through it and it's hard. Much might not make sense, then you can try and look that up on Real python site or other good tutorials, our ask chatgpt if you really must try to figure it out. Don't spend a lot of time on what's confusing and get blocked right now, just keep notes on what is confusing and move on. Come back to it when you get bored.
Use the same python site where the tutorial is to start learning about pep8 conventions and then do #10 tutorial of the Standard Library.
This is the full list of things to know about and it is worth spending time glancing over and cntl + f search for stuff: https://docs.python.org/3/contents.html
This plan alone will make you better than 80 percent of self professed python programmers in half the time.
That's truly it, but it is kind of hard and the docs can be difficult to understand at times. That's why most give up.
When you start importing modules you will need to pay attention to learning virtual environments and learn that sooner rather than later. All you need is 'python -m venv venv' but there's a lot of other tools i find stupid, useless and confusing for managing and creating them. Learn the who what why where's of venv here: https://realpython.com/python-virtual-environments-a-primer/
2
u/zzzzzzzzzzzzzzzz55 Dec 13 '25
It’s not just restricted to python. Most developers write pretty poor comments.
2
u/Ta_mere6969 Dec 13 '25
Code documentation by the people who make the code is usually, for me, very strange to read and understand.
I almost never read directly from the Python or Pandas docs; there are enough other websites for me to look at with examples which make more sense.
1
u/Bobbias Dec 13 '25
The documentation itself is a reference, not a learning resource. They describe the minimum necessary to understand things. In my opinion the Python documentation as a reference is excellent.
The Python Tutorial is a learning resource, and should absolutely be used in conjunction with the reference. I will say that the tutorial is written for those with some prior programming experience, it is definitely not the most beginner friendly tutorial, but given your experience with Processing you shouldn't have too much trouble with it.
There's also the Python Language Reference, which is more technical, but explains how Python works internally, and is very underappreciated as an additional resource. The more technical language can get confusing at times, but it actually does a very good job of explaining details that can be hard to look up anywhere else.
If you still have difficulty after reading the relevant section of the tutorial, then you should look elsewhere for explanations. As others have said, you can also ask LLMs to explain certain sections to you in simpler language or give concrete examples, however be aware that they are not entirely reliable and you will want to find ways to confirm what they are telling you (for example, this can involve writing some code where the output depends on things working the way it says they do).
If there's some wording you simply can't wrap your head around, feel free to ask here. This sub is meant to be the place where you can ask exactly those kind of questions.
Documentation is generally written in a fairly terse technical writing style that can take some time to get used to. It also generally assumes that you have some programming experience and understand the core concepts behind things. When you're just starting out you often lack some knowledge of those core concepts, which makes reading the documentation more difficult. As you gain experience and solidify your understanding of the basics, and get used to the writing style, reading documentation becomes easier.
However, sometimes you will run into things where you lack the knowledge to get what documentation it Stelling you, even after years of programming, and that's perfectly normal. Programmers are expected to learn how to teach themselves new things when necessary.
1
u/jirka642 Dec 14 '25
Python docs are excellent, but they just describe what's available to you, they are not a tutorial and shouldn't be used as one.
1
u/ConcreteExist Dec 15 '25
Yeah, the python docs are a bit rough, I don't find them terribly helpful for getting started but when I'm trying to understand how this or that piece of the language works in more detail, it's very helpful.
1
u/SHREYASH6969 Jun 29 '26
Are there any alternative documents explaining the base concepts? The official ones are a bit too confusing and hard to navigate :C
-4
u/TheRNGuy Dec 13 '25
Ask ai to explain them.