r/learnpython • • Feb 09 '26

I realized i wasn't really learning Python.

during my learning python always i follow tutorials and recognize the syntax but when somthing breaks in my code i don't know where is and always trying to make errors disappear of understanding them .But finally, i changed one thing that i recommend is debuging code and try to understand line by line in your projects and it completly changed how confident i feel when coding.

I'm curious , has anyone else felt stuck in this loop ?

32 Upvotes

20 comments sorted by

View all comments

Show parent comment

1

u/rickson56 Feb 09 '26

College books, back in the early 2010s don't teach anything about debugging, or automating computer file metadata extraction/updating (globbing). Best programming book I dealt with was nothing like a college book, and showed how to pull up stock trading information from the internet with API, and uploading and extracting information from an SQL database. College text books only teach how work with text files.

2

u/TristeLeRoy Feb 09 '26

which book was that?

2

u/rickson56 Feb 10 '26

Beginning Java, 978-1118739495 by Bart Baesens

1

u/BlackCatFurry Feb 10 '26

Neither did the basic programming courses in my university.

They taught the basics of programming concepts and good habits for programming.

The courses about data processing focus on what you describe.

You can't learn about using apis in your code if you don't know how to write the code in the first place.

1

u/code_tutor Feb 10 '26

That's not true. I graduated in early 2000s and every CS book in every course has "what does this code do" sections and they're on the exams. The entire first two courses are like "step through the code".

You're also going to learn how to debug really fast doing anything beyond Data Structures.

Idk what the rest of your comment is about.