r/learnpython • • Mar 01 '21

Python is kicking my butt

I’ve been learning python since early December now.. I seemed to become comfortable with the syntax and was gaining confidence quickly!

Then I moved on to Django and was quickly sent a reality check as the difficulty level increased really fast... I went back to python and started learning classes... this also is extremely hard to grasp..

While learning classes I realized I didn’t know for loops.. dictionaries.. len/range() nearly as much as I thought I did... the confidence I so quickly built is now gone.

I know the journey to web dev isn’t going to be easy at all.. I’m not giving up.. just wanted to get this off my chest.. I’m going back to the basics this week. Wish me luck. Have a nice week!

486 Upvotes

118 comments sorted by

View all comments

2

u/Rcyr0813 Mar 02 '21

So I am in a masters program for heath data science and last semester I had a dedicated python class. I came out of it and felt like I had such a good handle on python. Then this semester I had to take machine learning and for the first assignment I literally cried every day for 4 weeks trying to set up and clean data, encode, run models, and tune them. It was awful, I felt like I had learned nothing. But after getting through my first big machine learning assignment this time around I am killing it, for real. I wrote my first major function with multiple loops imbedded ( sounds lame but it was a big deal in the context of what I am doing) without any help, without going back and looking at examples. I feel like the stuff won't cement until you apply it to something like machine learning. For my class we are using the text book "Hands -On machine Learning with Scikit-Learn and Keras, & TensorFlow. This is the best text book I have ever had in my 18 years of education. I really suggesting getting a copy of it (~40 dollars) and going through that and doing the problem sets. It's amazing, it give you great examples and has a github to go along with it with the answers to everything and how to spruce up your graphs. I would highly recommend. Don't get down! Also I found some really great more basic practice problems and you can typically find the answers (or some variation of the answer on stack or python or github). I have like 200 problems feel free to message me if you want them! Keep your head up and keep going :)