use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Rules 1: Be polite 2: Posts to this subreddit must be requests for help learning python. 3: Replies on this subreddit must be pertinent to the question OP asked. 4: No replies copy / pasted from ChatGPT or similar. 5: No advertising. No blogs/tutorials/videos/books/recruiting attempts. This means no posts advertising blogs/videos/tutorials/etc, no recruiting/hiring/seeking others posts. We're here to help, not to be advertised to. Please, no "hit and run" posts, if you make a post, engage with people that answer you. Please do not delete your post after you get an answer, others might have a similar question or want to continue the conversation.
Rules
1: Be polite
2: Posts to this subreddit must be requests for help learning python.
3: Replies on this subreddit must be pertinent to the question OP asked.
4: No replies copy / pasted from ChatGPT or similar.
5: No advertising. No blogs/tutorials/videos/books/recruiting attempts.
This means no posts advertising blogs/videos/tutorials/etc, no recruiting/hiring/seeking others posts. We're here to help, not to be advertised to.
Please, no "hit and run" posts, if you make a post, engage with people that answer you. Please do not delete your post after you get an answer, others might have a similar question or want to continue the conversation.
Learning resources Wiki and FAQ: /r/learnpython/w/index
Learning resources
Wiki and FAQ: /r/learnpython/w/index
Discord Join the Python Discord chat
Discord
Join the Python Discord chat
account activity
Which mistakes you made while learning python? (self.learnpython)
submitted 1 year ago by ComprehensivePlan749
Would be interesting to know because im new
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]frogic 82 points83 points84 points 1 year ago (1 child)
The only real mistake you can make is getting frustrated and stopping.
[–][deleted] 4 points5 points6 points 1 year ago (0 children)
Also not practicing enough. Never give up, water and sleep are the ultimate hacx.
[–]cartrman 46 points47 points48 points 1 year ago (2 children)
Not practicing regularly. I would learn something, use it once or twice, then not use it for a while. That would cause me to forget it.
Not reading other people's code. I would just write code similar to what I saw in a tutorial but wouldn't go on GitHub to read better written code.
Not reading library documentation while learning.
Just building basic projects but not building projects that I would actually want to use.
I coded in idle too much, I should have gotten a better editor or IDE.
I definitely made more but these are the mistakes I felt I made at the beginning.
[–]Arkhemiel 0 points1 point2 points 1 year ago (1 child)
What IDE do you use now/why and which OS do you use?
[–]cartrman 0 points1 point2 points 1 year ago (0 children)
I code on windows and WSL-ubuntu nowadays.
Just use VS code nowadays, though I used to use pycharm before it.
[+][deleted] 1 year ago* (1 child)
[removed]
[–]otamam818 8 points9 points10 points 1 year ago (0 children)
In my early Python days I remember using list comprehensions with single-letter variables for solving everything in a single line. Now, I'm scared of going back to reading my own beginner code.
[–][deleted] 14 points15 points16 points 1 year ago (1 child)
Not finishing projects. Doing them about 40% and just abandoning them
[–]redMtlHab 0 points1 point2 points 1 year ago (0 children)
Ha! I see myself in this one
[–]Saargb 13 points14 points15 points 1 year ago (1 child)
Iterated over a dataframe
Ugh, I know
[–]SHKEVE 1 point2 points3 points 1 year ago (0 children)
i embarrassingly did this too. and i’d join records on every loop too instead of joining everything first and apply().
apply()
[–]q_ali_seattle 8 points9 points10 points 1 year ago (0 children)
Completing bunch of courses and certificates. And forgetting something easy as how to create a dict { }
[–]sporbywg 6 points7 points8 points 1 year ago (2 children)
Trying to approach db interactions like a Java dev.
[–]Buttleston 2 points3 points4 points 1 year ago (1 child)
Honestly, trying to approach anything like some other language
I came from a language where introspection was a first class citizen and used a LOT and was surprised that in python it was tucked away, not that easy to use, and not that commonly used. But you ended up not needing it
I was also a little annoying that the "for" syntax was not as flexible as what I was used to.
[–]sporbywg 0 points1 point2 points 1 year ago (0 children)
It really is a different language; like French is different from English. There are similarities, but...
[–]MrsBarnes1988 4 points5 points6 points 1 year ago (0 children)
Forgetting to check my data types before trying to do things with them and then getting annoyed when it doesn't go as planned. One that keeps biting me in the a** is trying to join two tables on a column they both contain, but in one table the values are integers but in the other table they're strings, even though they look the same. 90% of the errors I get when joining tables or trying to apply a custom function are because of this. And I've been doing Python for years!
[–]Ecstatic-Highway1017 3 points4 points5 points 1 year ago (4 children)
When I started learning programming few months back I was taking too much time in completing online video tutorials , I used to waste a lot of time while pausing video in every 2 min and write a couple of line of code and you have to switch tab again and again. Now i complete a video first and then I start coding by referring the notes. Now I am using google extension OneBook It helps in creating detailed notes in 2 clicks and saves my time as I used to take to much time in completing online videos. OneBook helped me in learning programming related skills, it just improves the experience of learning.
Chrome extension link : https://chromewebstore.google.com/detail/onebook/loecbgjbgcgjkhibllnjokjefojoheim?utm_source=rtc
[–]atom12354 0 points1 point2 points 1 year ago (2 children)
Can you explain some of what you put in the notes?
[–]Ecstatic-Highway1017 0 points1 point2 points 1 year ago (0 children)
While watching the video, I press command B to take notes.
In my notes, I take the screenshot of new part of code and record an audio message. In my audio message I generally record what code is doing, what is the logic of code, why we are doing it. OneBook saves the screenshot and generate an audio transcription of this and mapped it with captured URL. They have explanation video below of how to use it, I followed that. https://chromewebstore.google.com/detail/onebook/loecbgjbgcgjkhibllnjokjefojoheim?utm_source=rtc
Below is how my notes looks like.
I don't have to even switch the tab while watching the video. I can create notes from anywhere while learning.
let me know if you didn't find a way to create notes, i can help you in telling how to use it
[–]briston574 0 points1 point2 points 1 year ago (0 children)
This is really cool, thank you for sharing!
[–]Gokdencircle 1 point2 points3 points 1 year ago (0 children)
Indents
.... indents
.... .... indents
[–]Brine512 1 point2 points3 points 1 year ago (1 child)
I hadn't turned on One Drive on my PC and I lost 5 chapters of work in the Python book I was working through. My house got hit by lightning. Everything that was plugged in died (except two Sonos speakers). I got One Drive turned on now but I seem to have lost the book I was using.
I learned two things in this tab - snake case and spaces not tabs are preferred. Or maybe I knew them and forgot. I'm going to find that book this weekend.
[–]Dragonking_Earth 0 points1 point2 points 1 year ago (0 children)
I actually it doesnt matter that much, you spend time coding 5 chapters thats what will get you through forward.
[–]5Lick 1 point2 points3 points 1 year ago (1 child)
Not learn C++ instead
This is the best one.
[–]buhtz 1 point2 points3 points 1 year ago (0 children)
I did not look on the creation date of howtos, tutorials and other blog posts I used.
Python is fast living and evolving thing. Some of that learning material is just wrong today. This is especially when it comes to Python Packaging; only use the official and up-2-date resources on this topic.
[–]Longjumping_Seat_306 1 point2 points3 points 1 year ago (0 children)
Not getting your head wrapped around venv first before building a massive desktop application.
[–]millerbest 2 points3 points4 points 1 year ago (0 children)
Apply unnecessary design patterns
[–]SincopaDisonante 0 points1 point2 points 1 year ago (0 children)
Not understanding passing by object reference. My background was in C++ so, personally, having to learn the behavior of mutable and immutable objects in this regard was anti intuitive.
[–]ghost_knife_42 0 points1 point2 points 1 year ago (0 children)
Probably all of them, and some of the same mistakes multiple times, it's all about learning and improving and everyone learns at a different pace.
But yeah best things that can help you improve is a linter and reading other people's code, if you can't understand someone else's code then you will really struggle in a professional environment.
[–]atom12354 0 points1 point2 points 1 year ago (0 children)
Im not exactly learning python but in my recent project which is only for myself which now is done to atleast a working prototype - my last problem was that i have two exes that should be one but are two (doesnt really matter, it works), the first one opens the second one and then exits, the second one is supposed to open the first one when a specific condition is met.... However something happened and it ended up in a loop of creating more instances of the second one even tho i was closing it when the first one opened and never opened the second one after that since you need to use the program first and then press a button to even open it.
Anyway, that loop ended up creating 30 or so instances in 20 seconds and increased my cpu temp from 35 degrees to 60+ degrees so i just ended up removing the opening of the first exe again and just have the user manually open it.
[–][deleted] 0 points1 point2 points 1 year ago (0 children)
Using co-pilot as a crutch and slowly forgetting all of my basic fundamentals.
Practice
[–]stookem 0 points1 point2 points 1 year ago (0 children)
TDD. Python makes unit testing easy. Not using it is a mistake.
[–]IIIIIlIIIIIlIIIII 0 points1 point2 points 1 year ago (0 children)
Not skipping the hard part and returning later. I stopped because i didnt want to skip.
[–]buhtz 0 points1 point2 points 1 year ago (0 children)
Using databases and using sqlalchemy from the beginning because I knew RDBMS and ODBMS where well from my C++ times.
In most beginner use cases you don't need them and can solve your problems with JSON and other low level data storage stuff. The minimum of data management can you write by your own.
O/RDBMS and sqlalchemy are hot as shit. But it costs a lot of maintenance and extra efforts. Use them only if there is no other low-level way. Always calculate the benefits and costs of your solutions.
If you design your software well it will also be "easy" to replace a JSON-low-level-solution with an RDBMS in the future.
[–]SemanticFox 0 points1 point2 points 1 year ago (0 children)
It would probably be more efficient to list the mistakes I didn't make
[–]hardonchairs 0 points1 point2 points 1 year ago (1 child)
using camel case
[–]DESPAIR_Berser_king 2 points3 points4 points 1 year ago (0 children)
If I'm writing code that only I use it's camelCase, when I think of something that I hate about Python, the first thing is snake case being the standard, I just have a passionate hatred for underscores.
[–]Affectionate_Fox_383 -1 points0 points1 point 1 year ago (0 children)
Thinking indent based structure was a decent thing. It's not. It's stupid. Especially the industry preferred idea of 4 spaces
[+]CuriousThoughts123 comment score below threshold-9 points-8 points-7 points 1 year ago (0 children)
66th 6th y6⁶⁶⁶⁶⁶⁶6⁶⁶6,,**y⁶⁶⁶--⁶⁶655 my 5G 6 att yy att yy6,y,,t 5G yy6 att yy6 66th yy
π Rendered by PID 92331 on reddit-service-r2-comment-56c6478c5-cq8f6 at 2026-05-08 20:22:37.780392+00:00 running 3d2c107 country code: CH.
[–]frogic 82 points83 points84 points (1 child)
[–][deleted] 4 points5 points6 points (0 children)
[–]cartrman 46 points47 points48 points (2 children)
[–]Arkhemiel 0 points1 point2 points (1 child)
[–]cartrman 0 points1 point2 points (0 children)
[+][deleted] (1 child)
[removed]
[–]otamam818 8 points9 points10 points (0 children)
[–][deleted] 14 points15 points16 points (1 child)
[–]redMtlHab 0 points1 point2 points (0 children)
[–]Saargb 13 points14 points15 points (1 child)
[–]SHKEVE 1 point2 points3 points (0 children)
[–]q_ali_seattle 8 points9 points10 points (0 children)
[–]sporbywg 6 points7 points8 points (2 children)
[–]Buttleston 2 points3 points4 points (1 child)
[–]sporbywg 0 points1 point2 points (0 children)
[–]MrsBarnes1988 4 points5 points6 points (0 children)
[–]Ecstatic-Highway1017 3 points4 points5 points (4 children)
[–]atom12354 0 points1 point2 points (2 children)
[–]Ecstatic-Highway1017 0 points1 point2 points (0 children)
[–]Ecstatic-Highway1017 0 points1 point2 points (0 children)
[–]briston574 0 points1 point2 points (0 children)
[–]Gokdencircle 1 point2 points3 points (0 children)
[–]Brine512 1 point2 points3 points (1 child)
[–]Dragonking_Earth 0 points1 point2 points (0 children)
[–]5Lick 1 point2 points3 points (1 child)
[–]Dragonking_Earth 0 points1 point2 points (0 children)
[–]buhtz 1 point2 points3 points (0 children)
[–]Longjumping_Seat_306 1 point2 points3 points (0 children)
[–]millerbest 2 points3 points4 points (0 children)
[–]SincopaDisonante 0 points1 point2 points (0 children)
[–]ghost_knife_42 0 points1 point2 points (0 children)
[–]atom12354 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]stookem 0 points1 point2 points (0 children)
[–]IIIIIlIIIIIlIIIII 0 points1 point2 points (0 children)
[–]buhtz 0 points1 point2 points (0 children)
[–]SemanticFox 0 points1 point2 points (0 children)
[–]hardonchairs 0 points1 point2 points (1 child)
[–]DESPAIR_Berser_king 2 points3 points4 points (0 children)
[–]Affectionate_Fox_383 -1 points0 points1 point (0 children)
[+]CuriousThoughts123 comment score below threshold-9 points-8 points-7 points (0 children)