r/learnpython • • Dec 03 '20

Python Projects for Beginners

Any sites or books for doing projects for python beginners?

372 Upvotes

76 comments sorted by

543

u/BeginnerProjectsBot 🐍🤖 Dec 03 '20 edited Feb 13 '25

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

edit5. Thank you for the Wholesome, kind stranger!

edit6. Thank you for the Silver, kind stranger!

edit7. Thank you for the Hugz, kind stranger!

edit8. Thank you for the Bravo!, kind stranger!

edit9. Thank you for the Helpful, kind stranger!

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

82

u/ffemt161 Dec 03 '20

Create bot - that’s hilarious!

19

u/HasBeendead Dec 03 '20

Smart move lol

27

u/[deleted] Dec 03 '20

The GitHub link doesn't work for whomever needs to see this

4

u/BeginnerProjectsBot 🐍🤖 Dec 07 '20 edited Dec 08 '20

beep boop I'm a human

Thanks, I don't know why it got deleted. I added the archived to that list, and also another list of Github. If you know of any other good beginner projects resources, please let me know.

Also I forgot the bot would attempt to edit this comment as well, lol. Working to fix it.

3

u/[deleted] Dec 07 '20

Good bot. The GitHub link works now!

4

u/BeginnerProjectsBot 🐍🤖 Dec 07 '20

Praise for the food is praise for the cook.

Thanks from the programmer.

19

u/IllIIIlIlIlIIllIlI Dec 03 '20

Good Bot

25

u/BeginnerProjectsBot 🐍🤖 Dec 03 '20

Praise for the food is praise for the cook.

Thanks from the programmer.

5

u/iyav Dec 04 '20

Good bot

4

u/BeginnerProjectsBot 🐍🤖 Dec 04 '20

Praise for the food is praise for the cook.

Thanks from the programmer.

5

u/_Oisin Dec 04 '20

Remove the horrible edits.

7

u/ProdigiousPangolin Dec 03 '20

u/zarnackreddit I don't know where your comment went. But let the haters hate. I'm a newb at programming so I wrote this for you.

list=[1, 3, 50, 6, 20, 30]

list.sort()

print(list[1:5])

print(list[1]+list[2]+list[3]+list[4])

4

u/ITSomeday Dec 04 '20

59! Nice!

2

u/htepO Ultra noob Dec 04 '20

The person you're replying to mentioned some sort of "high score" which, if I'm reading it right, means they need it done in the least number of lines.

Maybe something like:

big_four = sorted([0, 1, 2, 3, 4, 5, 6, 7, 8, 9], reverse=True)[:4]
print(f"The sum of {big_four} is {sum(big_four)}")

2

u/zarnackreddit Dec 04 '20

lol did someone delete it thats weird and thanks man

2

u/ZiggyZig1 Dec 03 '20

assuming someone's actually reading this - i'd love to make a bot actually. how long would you say a simple starter one would take?

4

u/Swingbiter Dec 04 '20

I wrote a bot for discord that grabs memes and boobies from reddit in maybe an hour or so. Very easy, give it a try!

1

u/ZiggyZig1 Dec 04 '20

hahaah that's awesome!

1

u/hugthemachines Dec 04 '20

Now we just need a bot that reply to "how do i get started with programming" and "I know all there is to know about programming but i never made a program, how can I get better at programming?" ;-)

-11

u/zarnackreddit Dec 03 '20

just a beginner question is if you make an array pull the biggest 4 numbers out of it and add the four numbers and should print the four numbers and the sum of them

my high score is 3 lines for that

21

u/MadLadJackChurchill Dec 03 '20

What are you even trying to say?

5

u/axw3555 Dec 03 '20

I think it’s a challenge.

Make an array of numbers. Pull the four biggest. Sum them. Then print the numbers and the total.

And see how few lines of code you need to do it.

Doesn’t seem like a beginner challenge. Beginner challenges are “make something that does X” not “see how much you can optimise your code to make it short”. Learn to do, then learn to optimise.

2

u/ProdigiousPangolin Dec 03 '20

list=[1, 3, 50, 6, 20, 30]

list.sort()

print(list[1:5])

print(list[1]+list[2]+list[3]+list[4])

0

u/[deleted] Dec 03 '20

[deleted]

15

u/BeginnerProjectsBot 🐍🤖 Dec 03 '20

Praise for the food is praise for the cook.

Thanks from the programmer.

56

u/GGxSam Dec 03 '20

I listen to a lot of music on youtube that’s not on spotify, so I wrote a script that automatically grabs the url of the video and downloads the mp3 version and moves it into my spotify local files. Pretty handy even to this day.

10

u/deadassmf Dec 03 '20

This sounds like such a fucking good idea

7

u/DrCrossBones Dec 03 '20

Share the code?

1

u/DaBestSwede Dec 04 '20

IFTTT also has stuff like this if you do not want to make it yourself

5

u/MAKAMAKAMAKAMAKAMAKA Dec 03 '20

Share ?

1

u/DaBestSwede Dec 04 '20

IFTTT also has stuff like this if you do not want to make it yourself

54

u/JL_678 Dec 03 '20

One of my favorite books for Python is Automate the Boring Stuff. You can order it from anywhere you get books or view the full text for free here.

25

u/MelodicPendulum Dec 03 '20

You can also get the course for free on Udemy until tomorrow, Here's the author post

8

u/JL_678 Dec 03 '20

Thank you for pointing that out. Hey u/rootskull, you should check it out.

1

u/LordFlashy Dec 04 '20

If you miss the free offer, just wait a while. It seems to come up free for a few days every month.

14

u/NerdyBreadstick42 Dec 03 '20

I’d recommend Crash Course Python instead. I think it’s a lot better for the fundamentals and getting a good understanding of Python, and the projects are pretty good.

2

u/ZiggyZig1 Dec 03 '20

that sounds awesome honestly. can you give any examples of stuff either you automated or they mention? the simple stuff :)

4

u/JL_678 Dec 04 '20

A real world example was a project at work where I was working on a series of events. A external party scheduled the events and handed me registration lists in Excel format. It was one huge spreadsheet and did not help because I wanted to look at registration by event, and I wanted a summary of registrants by event.

I solved the above problem using the Python Excel module explained in Automate the Boring Stuff. I basically parsed the spreadsheet and created a new spreadsheet with tabs for each event and summary tab showing all the data. This solution saved me weeks of time!

Prior to my Python app I performed this manually, and it took me about an hour. Now imagine doing this 2x a week for 8 months and the hours spent would have been huge. Instead, Python enabled me to generate the report in about 15 seconds!

3

u/ivanoski-007 Dec 04 '20

I created my very first integration with an api to our e-commerce site. It gathers sku (stock kepping unit) data such as inventory level, site availability, price, image displayed, and created a report of the entire inventory, our e-commerce platform didn't have such a report so I made my own. Absolutely zero knowledge of programming prior to this, it was difficult and this sub was incredibly helpful, I dove into the deep end of the pool and now I want to learn more. My program is barely usable (I'm still learning on how to handle json get errors) but better than nothing since, again such a report didn't exist. Needless to say my coworkers were impressed by my voodoo magic. My next step is to automate some dumb kpi dashboards I update manually...

2

u/ZiggyZig1 Dec 04 '20

that's awesome! esp since you had no knowledge. keep it up dude

45

u/bigmac1122 Dec 03 '20

Try out advent of code they post a new problem everyday leading up to Christmas. I'm a newbie to python too but I'm using these problems to learn more

8

u/Lewistrick Dec 03 '20

That's a very good way to learn! If you have the time, try finding other people's solutions and understand them. You'll learn a lot from them too. r/adventofcode -> Menu -> Solution Megathreads

1

u/pleaze002 Dec 04 '20

Thanks for sharing!

11

u/apes-or-bust Dec 03 '20 edited Dec 03 '20

The indecision can haunt you because you just want to know everything. But the truth is it should depend on what you do.

If you already have a job and you need to automate manual excel entry/updates, learn pandas and pair it with tableau, dash, etc. I spent so much time going through a complete course and found out I don’t need a lot of it.

In reality, I use pandas 90% of the time as a data analyst. I’ve used one-off APIs for automating MS Office interactions like sending emails, exporting calendars, producing powerpoints, and tossing all of the scripts into batch files and using task scheduler to seal the deal. The other 10% of the time, I use code from stackoverflow lol.

3

u/gikis1 Dec 04 '20

This is sick! Wat resource would you recommend to read more about automation of excel or automate emails, for example?

2

u/apes-or-bust Dec 04 '20

ATBS would be fine. I found it boring and ended up doing the edX course personally. You don’t need to shell out money though.

Just learn about data types, data structures, control structures and it will be enough to do most office projects. Don’t spend months going through everything before trying something work related.

1

u/Ditchingwork Dec 03 '20

Is pandas a programming language?

13

u/bjone6 Dec 03 '20

I think the best YouTubers that have Python tutorials are Sentdex, Corey Schaefer, and Tech with Tim. I think I spammed those channels for months.

I have a Python YouTube channel that's just dedicated to me building a digital assistant like Jarvis from Iron Man (cliché, I know). I'm a self-taught programmer so probably don't want to start learning from my channel. But if you just want to see different capabilities for future projects, then here's a link to my channel. Good luck! https://www.youtube.com/channel/UCW34Ghe9-_TCA5Vy3-Agfnw

3

u/ZiggyZig1 Dec 03 '20

you got me at jarvis! i look forward to checking this out. cant load youtube on my work computer.

1

u/bjone6 Dec 03 '20

Well, I'm super far away from an actual Jarvis of course, but it's allowed me to automate a lot of things in my normal life. Sucks that your work wants you to do work instead of watching YouTube though.

3

u/grayskies-sunshine Dec 03 '20

UDemy has a great ‘understanding the basics’ course! think it’s on sale for $12 rn

2

u/219jw Dec 03 '20

Follow

2

u/[deleted] Dec 03 '20

Twitter bot

2

u/0fficerWalrus Dec 03 '20

Also, I didn’t scroll far enough to see, but check out advent of code! It’s all mini puzzles and such that you can solve in python and send in your submission to see if it’s correct, it’s 25 days of puzzles, but no necessarily a project but something that’ll definitely help you get a better grasp on python

1

u/[deleted] Dec 03 '20

I'm an intermediate python developer at best, but what I do to train myself is follow the advent of code (https://adventofcode.com) and learn from those challenges. It challenges you to think a bit harder each day even if you don't make every day, you still learn from it

1

u/jinhuang1102 Dec 04 '20

Want to study the Python? Start from the leetcode or others online judge website. It is the most efficient way to do it. If you don’t know the syntax plz visit the geeksforfeeks

1

u/BlazingWarlord Dec 04 '20

I have tried some fun projects for beginners. Feel free to use and share*:* The PYgrammer

1

u/FannahFatnin Dec 04 '20

Check out this post Python Projects

1

u/suguuss Dec 04 '20

You can find some nice projects here : https://github.com/danistefanovic/build-your-own-x

But I don’t know if it’s beginner level or not.

1

u/TNTPA Dec 04 '20

My best tips for learning is to make a calculator, and gradually introduce more and more functionality with new concepts. But that's for just learning a language.

If you just want to practice and learn new stuff, find something you find irritating, and think of a way to try and solve it in python. For example, I had to switch a bunch of links to a certain format (I was writing a document in LaTeX) but there were a hundred or so. It would've been incredibly tedious to do it by hand, so I used python.

Another example is I wanted a way to better manage my book collection, so I made a small app (shameless self plug: https://projects.thefilmconsole.com/pages/EasyBookManager/EasyBookManager - it's still work in progress, I'm adding Android and iOS support).

1

u/[deleted] Dec 14 '20

I would suggest a password manager. That's a beginner project I(a beginner) am working on.

-8

u/[deleted] Dec 03 '20

3

u/[deleted] Dec 03 '20

[removed] — view removed comment

2

u/[deleted] Dec 03 '20

I enjoy the pain.

1

u/[deleted] Dec 04 '20

Reddit, where a search showing a recently updated really rather good article called "16 project ideas for beginners" as the first result, gets downvoted. On the upside, making a joke about it gets upvoted, so there's that I suppose.

0

u/[deleted] Dec 03 '20

[deleted]

1

u/[deleted] Dec 04 '20

There's a pure python solution and a vectorized solution to this problem in this Numpy book I just read today... what a coincidence!

1

u/[deleted] Dec 03 '20

[removed] — view removed comment

1

u/AutoModerator Dec 03 '20

Your comment in /r/learnpython was automatically removed because you used a URL shortener.

URL shorteners are not permitted in /r/learnpython as they impair our ability to enforce link blacklists.

Please re-post your comment using direct, full-length URL's only.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.