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

5

u/littlenekoterra Mar 22 '23

So your a beginner. First start with values and passing them around. Then try getting values from files, then write some. Now do something with the values. What should you do? Go alter an open source game they normally use json values for items and such. Make the game your bitch using this newfound power. Congrations you now understand the basics.

Now for something slightly harder. Let's make an app. Get pysimplegui it'll be the easiest to start with. Make a window that uses every element. Make the elements output their values to a file. Oops that went full circle. Might as well make the changes to the game also be done in your app. Congrations you now understand intermediates.

Now for the hard stuff. Let's make an ai. Grab pytorch. Get a feel for it. Let's automate making the game your bitch. When the game is ran lets have the ai rebalance it completely. Oh...that's alot of data..no worries we can multithread it and use pandas to assist with the handling. Congrations, you used industry standard tools to make a small project an efficient big one.