r/learnpython • • 8h ago

After a while of learning programming

So I am stuck in tutorial hell for a long while and I had to realize that I have no idea what a program’s code looks like so I can’t compare myself from it and can’t learn from it. And tutorials don’t give practice lessons for some reason.

2 Upvotes

9 comments sorted by

4

u/mc_pm 8h ago

Start by typing in the code as you watch. When they type in code, you type in code. When they run their code, you run yours - and if it doesn't work you stop right there and figure it out (figuring out why something doesn't work is half the job).

Once you are used to typing in the code, it'll be easier to start fooling around with it, making small changes to see what happens, etc. Then, once you can type in the code and get it to work, then it's time to start solving little problems.

1

u/TJATAW 7h ago

Also, at the end of each tutorial, find some new feature, or multiples, to add to the code. Something you will have to research and do all on your own with no one telling you what to write.

I did a tutorial that created a browser based note taking app.

I added a time stamp to the notes, then created a way to see the notes organized by date, then a way to edit the timestamps so I could have them spread over multiple dates, then a calendar that showed me the number of notes on that date, and clicking on the date showed me all of that notes from that date, then I put in a feature to tag the note by project, so then I needed something to show me all the notes for that project....

I currently use that system to track what I do at work. It was invaluable for myself evaluation, as I had notes for everything I did, for every project I worked on, everyone who was involved with those projects, etc.

All in a simple note taking app I built in a tutorial.

2

u/Fast-Station1106 8h ago

schreib mal noch woher du deine holst YT? Bücher? Website? YT ist schlecht für Programmieranleitung, es ist stressig, sehen verstehen,zeitgleichtippen pause replay play werbung skip nimm lieber Bücher für Einsteiger und learnpython.org,

2

u/baubleglue 8h ago

Cs50p free online course has exercises.

1

u/TheRNGuy 8h ago

Make any software, after few years you'll get better.

Instead of tutorials make something you actually gonna use. If there's nothing with Python, then other language.

1

u/try_pull_the_other 7h ago

python crash course by Eric Mathes. Has exercises following the lessons. Do them.

•

u/conhao 1m ago

Code something you are interested in having from scratch.

0

u/notacanuckskibum 7h ago

TBH if it hasn't clicked by now then maybe programming isn't for you. Some people find programming easy, some don't