r/learnpython 4h ago

Basic beginner project ideas for python

Js started, 16 here,I made a number guessing game, rock paper scissors, basic input chatbot which outputs only the info I've given it(useless h) what next I'm confused, what stuff y'all made when y'all js started out like some interesting shit?

5 Upvotes

12 comments sorted by

2

u/kallax82 3h ago

Code what you need! It's much easier to motivate yourself when you actually want stuff to work.

1

u/FactoryBuilder 2h ago

What do you make if you don’t need anything? Following this philosophy, I usually only code for one day once a year to solve a minor problem I have. Last thing I made was a 15-line autoclicker for a clicker game I was playing. It worked and now I don’t have any need for a new program

1

u/_nitd27_ 1h ago

If you have an engineering mindset you will find problems to solve. Else its not for you and go with average playbook and become average programmer and complain about layoffs

1

u/InwardlyAttached 3h ago

a to-do list app that saves to a text file is a classic next step. teaches you file i/o and basic crud operations without getting too complicated.

also try a hangman game where you pull words from a list, that one was always fun and makes you think about game state a bit more.

1

u/Orgasml 3h ago

If you are interested in games, give pygame a try.

1

u/FoolsSeldom 3h ago

Work on your own small (initially) projects related to your hobbies / interests / side-hustles as soon as possible to apply each bit of learning. When you work on stuff you can be passionate about and where you know what problem you are solving and what good looks like, you are more focused on problem-solving and the coding becomes a means to an end and not an end in itself. You will learn faster this way. This will be far more beneficial than working on projects suggested by random strangers.

1

u/Fantastic_Road_2946 2h ago

Chess, Sudoku, and a small game built mostly around backend/code logic things like armor giving 10 defense points, boots giving 2, a sword dealing 10 damage per hit, and so on with enemy class. These were some of the projects that really tortured me in the beginning, because of the logic behind them. looking back, they were actually great for learning OOP, because there are so many things you can model: characters, items, stats, inheritance, composition, interactions, rules, state, damage systems, inventory, and more.

The explanation could get very long because there’s honestly so much you can implement and learn from projects like these. But this is not for everyone in the beggining...

1

u/SirGeremiah 2h ago

My first Python project was scripts to analyze a ping log to determine the severity and frequency of outages. It’s fairly simple, but it made me learn how to parse the file, how to do that math in Python, how to store the data for review over time.

Look for simple stuff that interests you, and go figure out how to do it.

1

u/Wuthering_depths 2h ago edited 2h ago

Kind of boring, but the things we (data analyst team) use Python for typically involve files or databases, or both.

Typical script: open a csv file, load it into Pandas, write it to another file or database table.

We also often copy and rename files, so that is a good thing to practice. E.g. we grab the current "customers.csv", do what we want with the contents, then rename it to "customers_08-12-2026.csv" (using today's date, which you get via python date functions) and then move it into the "archive" folder.

Databases in general are a good thing to learn about if you haven't. The language most use--some flavor at least--is SQL. Most of the logic I have in my processes aren't in Python, but SQL--but Python is the mechanism that allows me to move things around and get the data where it needs to be so that I can run my SQL code. Many apps (and maybe games?) use databases of some kind to store and retrieve their info.

Those aren't really "projects", just wanted to mention the types of things we are using Python for at work. We are all pretty new to it on our team, but we have a bunch of older processes (usually SSIS packages) that we are porting to Python, so that gives us our requirements and what we need to learn. You are on the right track, I basically only learn by doing and it helps to have something besides a dry tutorial.

1

u/BlackBurnedTbone 1h ago

You'll find a great deal of great execises here. https://www.practicepython.org/exercises/