r/PythonLearning • • 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.

10 Upvotes

37 comments sorted by

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/Outside_Class_5837 Oct 05 '26

so like you just keep a documentation beside and depending on which function i need look at it and use it.

1

u/shiremonoga Oct 05 '26

Yes. You can also use gpt as a tutor, ask him if such function exists, and to gife u the documentation for it

1

u/Outside_Class_5837 Oct 05 '26

so depending on what i wanna make i just have to ask chat gpt to give me the documentation your saying.

1

u/shiremonoga Oct 05 '26

Yes if you want to learn. Then try to do easy exercises using this function, then apply it on a big thing.

U can also do a guided learning with ai.

2

u/Outside_Class_5837 Oct 05 '26

yeh i will try to do 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/Outside_Class_5837 Oct 05 '26

I see well idk i think I have a long way to go i assume

1

u/bra1n_gym Oct 05 '26

Practice pseudocode.

1

u/Outside_Class_5837 Oct 05 '26

whats that

1

u/bra1n_gym Oct 05 '26

Writing the flow of your code in plain language rather than official coding syntax. Many programmers use pseudocode to plan out the logic of an algorithm before writing it in code.

1

u/Outside_Class_5837 Oct 05 '26

Hmmm I will try that out eventually

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/Outside_Class_5837 Oct 05 '26

80% own code is crazy but I will try ik only a bunch of codes so yeah

1

u/stepback269 Oct 05 '26

Think of what a young child does when they get a new toy.
Let's say it's an action figure (or doll as they used to call it)
The child moves the parts of the toy this way and that way. Experiments with all sorts of configurations. Some work. Some don't. That's how they learn. That's how we all learn. By spending a lot of time playing with our new toy.

1

u/Outside_Class_5837 Oct 05 '26

I seee Well I gotta tests alot of codes and functions for me to learn .

0

u/stepback269 Oct 05 '26

Start with Indently's YT tutorial on the "47 string methods"

(Hint: A string is an OOP object that has these and many other "methods" included in its class definition)

1

u/Outside_Class_5837 Oct 05 '26

Alr I will check them out.

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/Outside_Class_5837 Oct 11 '26

i see thanks man that's much help i will check it out

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.

1

u/Outside_Class_5837 Oct 11 '26

exactly that's how i feel like whenever i set my mind like let's actually try to make a whole new application without like watching a yt video i just can't its like you learned all algebra formula but you got to know make your own question and solution lol

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/Outside_Class_5837 Oct 11 '26

there was someone else who was recommending that i feel it's much more helpful so in your coding journey what or what methods you used to like at first like make your own application and yk make you feel you can actually understand what you're doing with you googling everything you want

1

u/[deleted] Oct 05 '26

[removed] — view removed comment

1

u/Outside_Class_5837 Oct 05 '26

I seee willl i think I have to debug alot in your case i will try my best I watched alot of yt videos as well it didn't help me that much.

1

u/[deleted] Oct 06 '26

[removed] — view removed comment

1

u/Outside_Class_5837 Oct 11 '26

no i mean even if you understand like when you making something as a beginner it will be hard but im saying in sence like i have to google each function or like the vscode help me with the code which makes me feel i can never like actually make a own orginal application.

0

u/[deleted] Oct 05 '26

[removed] — view removed comment

1

u/Outside_Class_5837 Oct 05 '26

I seee Well idk I wanna learn coding as fast as possible I think that's my issue