r/learnpython • • Feb 27 '21

So i “learned” python. What next?

So for the past few days i watched a couple of courses and wrote a few lines of very basic primitive code. But I don’t know what to do next. When i try to do a bigger project I feel completely lost as if i have learned nothing. Am i missing something? Am I doing something wrong? I’m just lost...

0 Upvotes

5 comments sorted by

9

u/tangerinelion (C++ Software Eng.) Feb 27 '21

> When i try to do a bigger project I feel completely lost as if i have learned nothing.

Well, yeah. Not to be a jerk, but you haven't learned anything. What you've done is the literary equivalent of reading a cereal box in French and saying you've learned French.

The thing you're missing is knowing how to write code as a general concept. Trying to attack a bigger project just makes no sense to even try right now. You can't work with multiple libraries, multiple files, multiple classes, multiple functions until you work with one.

So start there. Write code in one file as a script. Then find repeated parts and make functions. Then find related data between the functions and make a class. Then move the class into another file. Then make a library from your classes. Then combine it with other libraries. Now you've got a real project.

The part you'll struggle with is figuring out what the project should do. Find something interesting enough to want to work on it but small enough to be achievable. Don't try to make a desktop program with a GUI, don't try to make a big huge website, don't try to make a deep learning AI. Something from Automate the Boring Stuff would be reasonable.

1

u/delasislas Feb 27 '21

Have you just learned the basics: common data types, operators like + and -?

Have you learned the concepts like for loops, functions, and the like, how they work, when to use them, when not to use them?

Have you worked on your problem solving skills, this is one of the important bits. Have a task, understand the task, break it down into parts, figure out how to get through each step.

I’m going to say that the problem solving aspect is one of the more important tasks. It is also important to note, the people who make YouTube tutorials have likely already done the hard work of figuring out the project and developing it, and now they are just spoon feeding it to you.

1

u/[deleted] Feb 27 '21

You are not doing something wrong.

You just need to code.

My goal will be to create a mini game arcade once I mastered my current course. Just for me.

And with more and more complexity I will make sure to increase my skills and my arcade ;)

1

u/xelf Elf Feb 27 '21

Learning python (or any language) is more about doing than reading.

So get out there and start coding.

If you're looking for ideas, or websites on where you can practice check the FAQ and the wiki in the sidebar.

Some popular site's include:

1

u/shiftybyte Feb 27 '21

Try a tutorial or an ebook instead of videos.

https://automatetheboringstuff.com/2e/chapter0/

When you finish this online book you'll have much better grasp of python.