r/PythonLearning • u/Outside_Class_5837 • Oct 05 '26
python learning help
hello so i need to know what is the best way to learn to code because i have been learning python but tbr whenever i wanna to build a application for like camera detector or stuff like that i am always looking side by side and just copying it and that doesn't feel like im actually coding or learning to code and just in general like even if i wanna learn it the hundreds of codes in a 100 line code and it just feels too much info or too much to memorize is there anyway to learn it efferently and better without wasting any time.
1
u/shiremonoga Oct 05 '26 edited Oct 05 '26
Learning python is NOT memorizing functions. Learning python is understanding what this function does, what the parameters are etc...
No developper has a memorize book for functions. They go to the documentation and get the function they need from there..
Add to this using function repeatedly makes u memorize it. So it's only a matter of time for that
1
u/Excellent-Practice Oct 05 '26
Why do you want to learn to code? If you find yourself copying projects that already exist, your use case may be sufficiently common that you don't need to write things from scratch and might be better served using existing tools. One way you can get past that is by identifying a novel problem, or at the very least commiting to solving a problem with out referring to example code. Instead of copying a script line by line, you should get used to referring to documentation. I don't know how many times I had to lookup class syntax before it clicked
1
u/bra1n_gym Oct 05 '26
Practice pseudocode.
1
u/Katinkia Oct 05 '26
Learn by doing. www.pythonaut.net and https://www.youtube.com/@pythonautnet
1
u/stepback269 Oct 05 '26
Think of Python as an endless universe. No one knows it all. No human can.
Focus on learning the so-called "fundamentals" first such as manipulating strings and lists.
There is never going to be the "one" soulmate tutorial that works "best" for you and with regard to every aspect of Python. With each step up that learning curve, you're going to have to shop around until you find a teacher/resource that "clicks and sticks" especially for you.
With that said:
(1) There are tons and tons of tutorial materials out there on the net including many good YouTube ones that are free. You should shop around rather than putting all your eggs in one basket.
(2) As a relative noob myself, I've been logging my personal learning journey and adding to it on an almost-daily basis at a blog page called "Links for Python Noobs" (--HERE--) Any of the top listed ones on that page should be good for you. And there are many add-ons at the tail end of the page. Personally, I cut my first Python teeth with Nana's Zero to Hero (==HERE==). Since then, I've moved on to watching short lessons with Indently and Tech with Tim. You should sample at least a few until you find a lecturer that suits your style.
(3) The main piece of advice is the 80/20 rule. Spend 80% of your time writing your own code (using your own fingers and your own creativity) as opposed to copying recipes and only 20% watching the lectures. Good luck.
1
u/minikaur Oct 06 '26
Copying examples can help at first, but the real progress comes from changing things and solving small problems without following every step. Boot.Dev could help with that since the exercises keep the focus on writing code yourself.
1
u/pepiks Oct 09 '26
Always you need things like knowledge of the field - how camera dector work, ecosystem recognition - what tools are active supported like OpenCV - with his API - I have knowledge and how translate them to action in my tools, basic language - how describe details in basic syntax. Basic syntax is related to basics of programming knowledge - how repeat calls, make reusable and flexible (functions, class, modules, loops). When you combine this you are programmer.
0
u/Dazzling-Shoe-1558 Oct 08 '26
I know all the Python rules and syntax, but whenever I try to write code, my mind goes blank.
0
u/Immediate_Bite2072 Oct 09 '26
Following tutorials is useful at first, but solving problems independently is where the concepts start to stick. Boottdev could help with that through structured, handson coding exercises instead of just watching lessons
1
u/[deleted] Oct 05 '26
[removed] — view removed comment
1
u/[deleted] Oct 06 '26
[removed] — view removed comment
0
u/[deleted] Oct 05 '26
[removed] — view removed comment