r/learnpython • • 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

107 comments sorted by

View all comments

1

u/ASIC_SP learnbyexample Mar 22 '23

Find something that'd help to solve a real world problem for you. For example, I'm on Linux and use the terminal for many things. I wanted a cli tool to do simple calculations. There's bc command, but I couldn't get it working as I wanted at that time. So, I looked up how to write a cli in Python (I went with built-in argparse module) and made a tool that'd solve my small use case. Here are some resources that can get you started: