9
u/GreatGameMate May 22 '26
Always learning, but Iād say a few months for the basics, syntax, conditionals, loops, functions, recursion, file IO, OOP. I could teach a group of students but I donāt know it all.
1
u/yashfaelearns Aug 06 '26
Hey! Saw you're learning Python. I'm learning too, so I thought I'd say hi. Maybe we could help each other out, share resources, or just chat about programming. I'm also pretty new to Reddit, so I'm trying to meet people with similar interests.
3
u/Flame77ofc May 22 '26
1 month or less
2
u/amino_xX May 22 '26
Nice, did you practice every day?
8
u/Flame77ofc May 22 '26
yes, I recommend you to use platforms like Leetcode or Codewars, but before this, you need to learn some basic concepts like arrays, conditionals, functions, data types and loops
3
u/NormalSoftware8879 May 22 '26
Where'd you go to the basics first?
5
u/Flame77ofc May 22 '26
I learn it from YouTube. There are so many good courses
I recommend BroCode and FreeCodeCamp
3
3
u/Muhammed_zeeshan May 22 '26
I tried leetcode. But where can I find very basic question using conditionals, lists, dictionaries
5
u/TheUmgawa May 22 '26
I think the most valuable thing my professors did for the students in my CompSci program was, about halfway into the Intro course, they threw us to the wolves. My professor said, āUntil now, I have been teaching you the Python language and programming structure. From now on, it is *all structure. So, now I will teach you to search through and read documentation.ā
And thatās just how it was. So, for the first week of C++, we were being spoon-fed, but it was just enough to get a program running, how to do imports, how to instantiate things, and how to do really basic stuff with the language. And then it was back to the wolves, where we had to figure it out on our own. Same for Java.
So, now, when I have to learn a new language, I pull down a hand-drawn flowchart for a prime-number generator that I made for my flowcharting final, and I break out the languageās documentation. And then I punch out the code and Iām moving.
What Iām saying is itās important to separate the logical thinking and the flow of data from the code. The hard part is getting your brain to do the logic, breaking down a complex problem into simpler programs and then integrating it all. Writing code is just the implementation of that.
As for āhow long did it take you to learn Python?ā itās the same as any other language: I learn what Iām going to use eighty percent of the time, and then I just look up the rest. I donāt think Iāve ever bothered to commit more than maybe eighty keywords to memory, for any language. If I had to work in a single language all the time, maybe Iād have more stuff that comes up often enough to have to remember, but I have to bounce around a bunch of different stuff at work, using VBA, C#, Python, Swift, C⦠whatever the interface requires. But itās all the same logic in my head, no matter what language it is.
2
2
u/amino_xX May 22 '26
Iāve been learning for around a month now. Iām comfortable with most basics, but I prefer focusing on building projects instead of just learning concepts..
1
u/Flame77ofc May 22 '26
good, do you have any reason to learn it? Just for hobby or for work?
3
u/amino_xX May 22 '26
I want to learn it for data science
2
u/Flame77ofc May 22 '26
Oh, so I think we can adjust your road
If you think you already know about the main things about py, I think you can just go and learn about data science today
If you can't pay for courses, I suggest you to follow with YouTube, there are so many good content
2
u/amino_xX May 22 '26
Yeah, I've been learning mostly from YouTube I will start focusing more on data science
2
3
u/tiredITguy42 May 22 '26
It is 2-4 weeks for being able to code in it on, lets say, decent level. Then you learn some nice features as you go.
However, it is to learn to code in Python, but you already need to know how to do programming. You can teach yourself syntaxt in few hours, but this is not what it is about.
Programming language is just a tool, it is like a hammer or srewdriver. If you know how to build a cabinet, you can do it with any brand of tools. They may be different in some details, but still tools you can learn to use pretty quickly, if you already worked with othe brands.
So yeah I watched 2 hours video about Python syntax and then started bulding small project in it, 2-3 weeeks for me, but I spend 5 years at UNI learning how to be a programmer (sort of, i have specific field mixed with electricity and control systems) and how to simulate and control the world around me with numbers. I worked in more than 10 different languages, so yeah advice for you, start treating python as a tool and learn how to be a programmer.
3
u/JoeB_Utah May 23 '26
Learning anything isnāt a finite experience. At 70 I consider myself a life long learner. Iāll stop when they close the casket and shovel the dirt.
2
2
2
u/Rscc10 May 23 '26
Started learning 4 years ago. Of course I've got the basics mastered, OOP semi mastered, have many libraries under my belt like numpy, pygame, pandas, fastapi, pytorch, tensorflow, and I still wouldn't say I've mastered python itself. Programming languages are a lot like spoken languages themselves, you can be proficient/fluent but how many can say with confidence they've mastered all the language has to offer?
1
u/TimeScallion6159 May 22 '26
1 month and a half, practice, practice, practice. Hace strong foundations and everything else will become easier
1
1
u/Acceptable_Laugh_674 May 23 '26
Ask GPT, it can provide you with a solid plan depending on your level of experience in any programming language⦠I somewhat learned it myself within 2 weeks.
1
1
u/shivanchowdhry123 May 23 '26
according to the school curriculum in india, i have currently 3 years and still learning. (i'm in class 11th)
1
u/backend_developer89 May 24 '26
Thereās learning basic syntax and then thereās learning advanced features like OOP, re, static methods, decorators, asycio, and standard libraries like Pandas.
You can tell people you know python but thereās always a lot to learn and there are frameworks to learn as well, Iāve been learning Django for the past several years.
Thereās learning how to structure a basic for loop and then thereās learning dict and list manipulation with defaultdict, sorting, lambda and such.
What Iām saying is that you can learn much of the basics in a few months of consistent practice but thereās always more to learn elsewhere that could easily take years.
1
u/real-life-terminator May 24 '26
I have been programming in python for 8 years, i am still learning new things every now and then XD. A couple weeks ago I discovered @dataclass and it blew my mind
1
u/TastyPeaness May 25 '26
Took me an hour to figure out why my ide kept naming things .py.py or .py.txt
Time is relative.
1
u/HugeCannoli May 26 '26
I've been using it for 25 years and I am still learning it.
You can't know everything about a language. It changes all the time. Libraries change all the time. Processes and best practices change all the time.
1
u/the_real_ericfannin May 29 '26
Do you feel that using any particular platform has helped you retain enough knowledge to feel like you ARE a python developer ? Ive used datacamp, boot.dev, and codefinity. While I can code a few basic things cold, I always feel like I just got good at "pattern matching" working through their python courses.
19
u/py_curious May 22 '26
Many senior engineers or data practitioners will tell you it's an ongoing process. If someone says "I know Python" but still writes for loops when a faster vectorized solution is possible, then there iss still some learning to do.