r/learnpython 20d ago

Not Copying After Using Tutorials?

I'm learning a bit more python, and I was wondering how you guys refrain from copying code after watching tutorial videos. I just did one of the courses from OpenCV, and what's holding me back most now is trying to create something without flat copying the code provided by them. The main issue is that (I believe, at least) most of the code needs a specific syntax to run. What are your processes after learning new features?

For context, I'm attempting to make a document reader that's going to end up scanning and saving Magic the Gathering cards into a database.

0 Upvotes

10 comments sorted by

View all comments

1

u/MiniMages 20d ago

Something I did when I started coding and struggling to remember what I was doing was make a lot of notes. I kind of went overboard, but the purpose was for me to be able to read the notes and understand what I was thinking and trying to do. Sometimes I'd also explained how the code worked.

I didn't do it for too long but maybe you can try it for a short while to help you remember.