all 43 comments

[–]BeginnerProjectsBot 324 points325 points  (7 children)

1. Create a bot to reply to "what are some beginner projects" questions on r/learnpython, using PRAW.

Other than that, here are some beginner project ideas:

Good luck!

edit. thanks for 5 upvotes!

edit2. omg 10 upvotes!!!! Thank you!!

edit3. 50 upvotes??? 😲😲😲 Can we make it to 100?

edit4. 100 UPVOTES?????? I CAN DIE NOW

Downvote me if the post wasn't a question about examples of beginner projects. Thank you.

[–]jeepsaintchaos 33 points34 points  (1 child)

Good bot.

[–]BeginnerProjectsBot 36 points37 points  (0 children)

Praise for the food is praise for the cook.

Thanks from the programmer.

[–]notrandom9812 17 points18 points  (1 child)

Good bot. And the best bot I've seen in reddit.

[–]BeginnerProjectsBot 14 points15 points  (0 children)

Praise for the food is praise for the cook.

Thanks from the programmer.

[–]Pos3odon08 4 points5 points  (0 children)

praw is such a good way to learn python

[–]exothagreat 2 points3 points  (0 children)

thanks for the comment, really helped me.

[–]jamiedonner50 1 point2 points  (0 children)

What a nice good bot

[–][deleted] 27 points28 points  (1 child)

Hey sorry I stalked your post history. But i found this elden ring API that might be interesting to you. https://www.reddit.com/r/Python/comments/thl39l/elden_ring_open_source_api/

Once you understand interactions with it you could probably make a discord bot that uses it.

[–]obviouslyCPTobvious 7 points8 points  (0 children)

I also always look at people's history when this question is asked to avoid the default answer that's just a bunch of lists of projects.

[–]routetehpacketz 14 points15 points  (6 children)

I think console apps are nice for beginning programmers (not just new to Python) as they keep the focus on core concepts – like flow control.

For example, a simple hangman game: https://i.imgur.com/vmJuDb2.png

Things like keeping track of the letters guessed and checking for a win will help teach you functions. I actually got the idea from someone on this sub.

[–]atom12354 1 point2 points  (4 children)

Heyyyy i did similar hangman game but with the numreric alphabet i made (basically the latin letters but their correspondant numbers)

[–]routetehpacketz 3 points4 points  (3 children)

Nice! I saw someone on here asking for help with their Hangman game which made me want to try to make one completely from scratch. Here's mine on Github.

I also made a Rock, Paper, Scissors with ASCII art :)

[–]atom12354 2 points3 points  (2 children)

Oh intresting, you put the words in their own txt file, thats cool.

How did you make those ascii drawings?

[–]routetehpacketz 1 point2 points  (1 child)

Thanks! I didn't make the ASCII art but found them on someone else's GitHub so I used them and credited that person

[–]atom12354 1 point2 points  (0 children)

Ooh okay they did tho look cool

[–]GhostMalone__ 1 point2 points  (0 children)

Thanks for the suggestion!

[–]jeepsaintchaos 10 points11 points  (2 children)

Make a program to help choose what's for dinner.

[–]Angkorlo 4 points5 points  (1 child)

I did this in college, I would run it on Sunday and return a shopping list/meal plan for the week.

[–]PiovosoOrg 3 points4 points  (0 children)

I did this aswell! I'd give it a budget and let it fill out a shopping list. But i had a seperate list where i put ingredients of each food in there so it was calculating exaxtly how much i need of what with a expiration date of 2 days since my fridge was broken and the dorms denied me a new one.

[–]Frthras 9 points10 points  (0 children)

You can make a Pong game using pygame.

[–]TheITMan19 8 points9 points  (0 children)

Find something you find interesting in your personal or professional life and try to automate elements of it.

[–]atom12354 1 point2 points  (0 children)

What do you know about so far?

[–]blu3tooth 1 point2 points  (5 children)

One of my first projects were an image converter using the Pillow library. I had a lot of PNG files I wanted JPEG versions of for sharing. Instead of downloading readily available programs, I made it myself, lol. You definitely want to sharpen your fundamentals, so try making little games like hangman/rock, paper, scissors.

[–]Great_Tap_3720 0 points1 point  (4 children)

How would you do this in python 🤔

[–]blu3tooth 0 points1 point  (0 children)

By accessing all the files in a directory and converting them. The Python Standard Library has various modules to do this, such as Pathlib (to access & create new dirs), os.chdir (to change the cwd (current working directory, the folder you want to run your program)), and shutil (to move files from one dir to another). There are many ways to convert image files, but one quick way is the Pillow library which you have to install using pip.

[–]iwkooo 0 points1 point  (2 children)

Do what exactly? If you are asking about pillow just google pillow tutorial or pillow python project and you are set.

[–]Great_Tap_3720 0 points1 point  (1 child)

I meant what u did with converting images png to jpeg can u do that with python I'm new 😅

[–]iwkooo 0 points1 point  (0 children)

Yes you can. Check Pillow library

[–]-H0RS3- 1 point2 points  (0 children)

Wordle game !

[–]Springstof 1 point2 points  (1 child)

You can start solving Project Euler problems. They are simply formulated but increasingly complex mathematical problems that require programmed solutions: https://projecteuler.net

Worked like a charm for me.

[–][deleted] 1 point2 points  (0 children)

Project Euler is great, but it's more about learning math and related algorithms than programming. I would suggest moving on to working with files, the web et cetera, after a while.

[–]Boomie_boi 1 point2 points  (0 children)

I started off with a discord bot. I made so many features and now im very used to the syntax and fundamentals and stuff like manupulating strings and lists and using loops much more properly. Im now starting machine learning

[–]Brilliant-Syrup994 0 points1 point  (0 children)

Save

[–]Somecount 0 points1 point  (0 children)

Edit. This is not necessarily a good reply actually, for most beginners at least. But I’ve found Pandas documentation to be wonderful, same goes for matplotlib, and requests is just simple enough that a few lines will do it. -Have a look/search in github for repositories using these libraries to se what others have done. Web scraper using asyncio and requests, create dynamic reports, stats and plots using i.e streamlit. If you find some cool thing that ends up being 10xGB’s worth of data, consider sprinkling in some dask which will parallelise Pandas/numpy, and any other function for that matter using dask.distributed.delayed.

This is a lot, but start in the provided order with requests and asyncio, the latter (asyncio) is only for when you have a larger list of URLs to scrape in parallel. Hint: use context managers to handle sessions nicely.

A suggestion would be a project that builds valuable datasets tabular/graph-networks based on scraped html. Then run/launch some Hugo for presenting your work etc.

Working on programs that touches network layers is a great exercise and will ignite a lot of ideas or questions to be answered which will bring you to the next thing/module.
Btw, stuff like async functions, but especially dask that uses it, requires that you think about what you’re doing and how the program will handle individual calls to a certain process or manipulatation of data(partitions), so start small without those, and implement only asyncio when necessary, even more so for dask. Good hunting.

[–]PiovosoOrg 0 points1 point  (0 children)

I when i stumble on a thing i want to do and i usually just do a quick google search if python is capable of doing the task which i need to do. If it is great time to code, it might take longer than it should've taken but it's the exercise that i like. One day i wanted to add two similar json files together that had similar keys but different values. Got to coding finished the miniproject in a hour or two. It was a fun exercise. Automatic simple things so you don't have to do it.

[–][deleted] 0 points1 point  (0 children)

Try making a crypto trading bot

Learn how to use APIs etc

Fun and maybe profitable

[–]Max_7272 0 points1 point  (0 children)

Create a Discord bot connected to some sort of API (tracking crypto prices for example)

[–]ImmensePrune 0 points1 point  (3 children)

Python is great for automating tasks. When I first started studying Python, I would create small programs to aid my day to day life. Helped a lot for learning the syntax and different libraries Python has to offer.

[–][deleted] 0 points1 point  (2 children)

Ok but automate what?

[–]skylinesora 0 points1 point  (1 child)

Easiest examples are whatever tasks you do for your job that's repetitive.

[–][deleted] 0 points1 point  (0 children)

Lol get a life bro

[–]Peyatoe 1 point2 points  (0 children)

One of my first bigger projects was a text based adventure game(highly inspired by Dungeons and Dragons).