r/learnpython • u/That_Rich_Guy • Mar 22 '23
What do you even code?
I am a beginner to python and all coding. I don't know much. All the recommendations are "code everyday". Practice every day is great but what do I practice? Do I open up an empty IDE and code what? I don't know how to do any projects on my own. Do I just YouTube crap and copy them or what? What do I actually code?
341
Upvotes
1
u/Naive_Programmer_232 Mar 22 '23 edited Mar 22 '23
Practicing by building small programs to large programs. It's vague because you really can do a lot with programming, it's hard to narrow it down into a single bunch of tasks. But I'd start with an outside purpose. For example, maybe you're really interested in the stock market and you like to trade stocks. So from there, you could research libraries that have something to do with stock trading, of which there are many in python, and figure out how to manipulate those tools for it to do what you would like to.
So the ideas of building something often times come from knowledge of some other discipline / purpose and then the programming is the tool you'll use to get that done. Now that's in the sense of building 'side projects'. You start with some kind of idea and expectation, then work on that to formulate a goal of what to build, drill down on what the things should do, develop a plan of how its going to work, do research into tools that make sense providing services that can accomplish pieces of those things, then go off and use those tools to implement it.
There's also the exploratory side of programming. Sometimes you just want to write programs to explore how things are working. For example, reverse engineering something that already exists and trying to remake it yourself. This can get pretty fun, cause once you know how it works and you can remake it, you can make it do anything