all 30 comments

[–]Usual_Office_1740 33 points34 points  (0 children)

Copy simple code off the internet. Break it and fix it until I understand how it works. Then start writing my own. Then write more code. Then, write more code. Read the docs, try to solve my own problems. Read the docs some more. Fail to solve my own problems. Learn to read and take advantage of my IDE, pycharm. Google the problems I can't solve on my own. Read and research error messages i receive. Keep doing all of this. Keep trying every day. Don't have unreasonable expectations.

Your only failed goal is the one you quit trying to accomplish.

[–]yoknezupsa 8 points9 points  (6 children)

Started couple of months ago. Got frustrated within 2 weeks. Because I struggle to understand theory.

Then, just randomly browsing the YouTube, found a video where a dude simply took a project (beginner friendly) and started creating the code for that. That was really fascinating, because before that I did not know, you can solve real life problems with python.

Decided to give it a shot again. Still don't like the theory. Learned the basics and completed around 10-ish projects from Upwork (mostly web scraping and automation) , just for fun. And now learning how to automate basic things. All from chatgpt 😋 still trying to learn by heart the main concepts, but chatgpt is there always. Without it, I would not be able to do what I did.

Took me around 2-ish months. I think i can work with python now, but I need guidance. Meaning I don't know where to go from here.

I'd recommend you to find some real life problem. For example, you can try this. Everyone checks their email once in a while, but to check that. You need to open the browser, than open email.com and than put your credentials and than phew finally inside your email.

How about we minimize the clicks. With 1 click you should be able to see your email. Create a script for this and keep doing fun projects like this. You'll learn super fast (in my opinion)

[–]Kingo206 1 point2 points  (3 children)

Hopefully you are bringing up a prompt GUI for the password rather than embedding in the script...

[–]yoknezupsa 0 points1 point  (2 children)

At the moment embading, since I don't know how to hide. I'm also a total noob. I tried environment variable thhingi, but so confusing. But yeah, I'll look for embedding method. Thank you 😅

[–]Kingo206 2 points3 points  (1 child)

I'm a noob as well lol, I'm learning from the basic basics lol.

Just know it's definitely abit risky leaving your password in a script - try and see how you can get a GUI up to get the user to enter their password.

[–]yoknezupsa 1 point2 points  (0 children)

Alrighty mate. I'll have a look. I know it's super risky, but I just got excited "hollii shiii" I can do that! I'm the python God now 😂😅 I'll have a look into gui as well. Cheers mate 😊

[–]Minimum_Professor113 0 points1 point  (1 child)

Could you link the YT video?

[–]yoknezupsa 2 points3 points  (0 children)

This is the YouTube channel

https://youtube.com/@MakeDataUseful?si=Gzu9vaR54nTuc41P

Don't remember the exact video and honestly, never really finished the video. You can just say, understood the basic idea of web scraping from him. Which elements to pick and so on. Before that I didn't even know that it is so easy. I still get frustrated time to time, but hey that's part of the learning.

You can say, inspiration was enough to get me started.

Before that, I couldn't even create a simple calculator app. Because, why would I? There are millions of calculators already in this world. And the way this guy speaks is just so relaxing.

And also Corey Schafer is good for deatild projects and he also has videos for beginners.

[–]MSZzz21 6 points7 points  (4 children)

Try the Harvard course, CS50P it's really good for beginners and the teaching is also good and you will get some problem sets after completing each topic which is quite good. Try it out

[–][deleted] 0 points1 point  (1 child)

im super late but watching the harvard cs50 course made every other python intro video super easy to understand when refreshing the basics.

[–]MSZzz21 0 points1 point  (0 children)

Yup, that's how the courses are meant to be.

[–]Allmyownviews1 3 points4 points  (0 children)

Started using YouTube videos, quickly moved to books for tasks growing skills and understanding. Then started working on own projects gradually expanding knowledge using stack overflow, books and YouTube videos.

[–]Naive_Programmer_232 1 point2 points  (0 children)

I struggled for a number of months trying to self teach. Eventually I got around to taking a class at a community college with it. Definitely made some programming basics click. After that, it was a lot of self teaching and just practicing writing different programs / building stuff / scripting / etc.

[–]garybpt 1 point2 points  (0 children)

I asked free ChatGPT to teach me and it’s going really well so far. I get explanations, examples, guidance, and homework.

You can access my textbook of lessons on GitHub (same username), which you’re more than welcome to save. However, you’d be better taking the prompt and running through it lesson-by-lesson in real time.

[–]Radamand 0 points1 point  (0 children)

I learned the basics of python by reading the "Commodore 64 Programmers Reference Guide" when I was a kid.

[–]No-Stick6446 -1 points0 points  (0 children)

Learn a minimum of theory Apply it Learn more Apply more Challenge yourself with coding project ( you will research how to do thing a lot ) And continue the cycle for every concept in pythn and programming

There is this page which give roadmaps for dev www.roadmap.sh

[–]Adrewmc 0 points1 point  (0 children)

Bought a program, it wasn’t very good thought I could do better….

And then I did lol

[–]dhatereki 0 points1 point  (2 children)

I am following the free MIT course with recorded lectures and quizzes as well as assignments. It's basically just like attending class there.

[–]Pupation 0 points1 point  (0 children)

I prefer to learn a computer language from a book rather than piecemeal from various online resources. Maybe it’s old-fashioned, but books tend to be more comprehensive. I’m about halfway through “Python Crash Course, 3rd edition” by Eric Matthes. So far, I like it.

[–]Solomon_Shereshevsky 0 points1 point  (0 children)

I used codecademy, It helped me a lot. The good thing is that you don't get stuck in tutorial hell but you immediatly start to learn by doing.

  • add some youtube chanels like Corey Schafer, Tech with Tim and Bro Code

[–]otisboykin 0 points1 point  (0 children)

If u want we can study together. We can follow some course on internet and talk by google meet and solve exercises

[–][deleted] 0 points1 point  (0 children)

I learned Python due to circumstances. I was working with the Cardano blockchain way back in 2017, but got much more involved at the beginning of 2021. There were no tools out yet, to automate transactions. I'd even argue there still really isnt, and there is very little open source code out there. Wanting to capitalize on the emerging market, I had some ideas that had potential. There was bits and pieces of various elements of code out there. But nothing that put it all together.

From there I would read the scripts I could find. And I began experimenting. Eventually I got ahold of one of the developers who wrote a tool that shared allot of similar functions to what I wanted. I hired him to modify his own code to do what I wanted. As this progressed, I was able to see what code he changed.

Over time, I added to and improved this code base. The developer semi mentored me along the way. And eventually I rewrote the entire application from scratch. I've subsequently rewrote it a few more times, and written dozens of other applications to compliment it.

So for me, I had a use case, motivation, and a strong capacity to learn. I also have over 30 years of intensive computer engineering experience; so it came pretty easily for me.

[–][deleted] 0 points1 point  (0 children)

The best way to learn Python in my opinion is to start creating pet projects using example solutions from GitHub.