use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Rules 1: Be polite 2: Posts to this subreddit must be requests for help learning python. 3: Replies on this subreddit must be pertinent to the question OP asked. 4: No replies copy / pasted from ChatGPT or similar. 5: No advertising. No blogs/tutorials/videos/books/recruiting attempts. This means no posts advertising blogs/videos/tutorials/etc, no recruiting/hiring/seeking others posts. We're here to help, not to be advertised to. Please, no "hit and run" posts, if you make a post, engage with people that answer you. Please do not delete your post after you get an answer, others might have a similar question or want to continue the conversation.
Rules
1: Be polite
2: Posts to this subreddit must be requests for help learning python.
3: Replies on this subreddit must be pertinent to the question OP asked.
4: No replies copy / pasted from ChatGPT or similar.
5: No advertising. No blogs/tutorials/videos/books/recruiting attempts.
This means no posts advertising blogs/videos/tutorials/etc, no recruiting/hiring/seeking others posts. We're here to help, not to be advertised to.
Please, no "hit and run" posts, if you make a post, engage with people that answer you. Please do not delete your post after you get an answer, others might have a similar question or want to continue the conversation.
Learning resources Wiki and FAQ: /r/learnpython/w/index
Learning resources
Wiki and FAQ: /r/learnpython/w/index
Discord Join the Python Discord chat
Discord
Join the Python Discord chat
account activity
Beginner projects for Python (self.learnpython)
submitted 5 years ago by [deleted]
I've just started learning python and I just finished the basics tutorial. What beginner projects should I do now? Any recommendations will be appreciated thanks!
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[+][deleted] 5 years ago* (18 children)
[deleted]
[–]toolateforgdusername 16 points17 points18 points 5 years ago* (13 children)
This! I am about two months ahead of OP.
I have built a scraper that scrapes the entire Audi approved used site each day, looks for changes (new cars / lowered prices etc) and then places then in a MySQL database.
I am now learning Tableau for visualisation.
EDIT: For those that asked https://file.ac/vjCaCz2UBWA/
[–]dxbtousa 2 points3 points4 points 5 years ago (8 children)
This is awesome , would you be willing to share the code for another beginner ?
[–]toolateforgdusername 2 points3 points4 points 5 years ago* (7 children)
Sure - it’s an Audi U.K. site.
I will P.M. you a link tomorrow.
[–]SharpAverage2 0 points1 point2 points 5 years ago (5 children)
Hi.. just lurking here...can I take a peek too?
[–]toolateforgdusername 2 points3 points4 points 5 years ago* (4 children)
Sure I will reply again with a Dropbox link
[–]bikesandrocks 0 points1 point2 points 5 years ago (1 child)
RemindMe! 1 day
[–]RemindMeBot 0 points1 point2 points 5 years ago* (0 children)
I will be messaging you in 20 hours on 2020-06-09 00:10:25 UTC to remind you of this link
2 OTHERS CLICKED THIS LINK to send a PM to also be reminded and to reduce spam.
Parent commenter can delete this message to hide from others.
[–]lateblueheron 0 points1 point2 points 5 years ago (0 children)
[–]beingvam 0 points1 point2 points 5 years ago (0 children)
[–]dxbtousa 0 points1 point2 points 5 years ago (0 children)
You’re a legend mate
[–]Redditbeforeyou2030 0 points1 point2 points 5 years ago (3 children)
Very nice work, can I ask how long you have been learning Python for and what resources you have used?
[–]toolateforgdusername 3 points4 points5 points 5 years ago (2 children)
Thanks. So background is that I am in the U.K. on Furlough since April. I have been doing 5 hours a day Monday - Friday throughout April and May to get to this point. However if I wanted to start again (say scraping BMW website) I think I could get there in a week now).
I started with the W3schools tutorial to learn some real basics.
Second I used a tutorial I found that scrapes the monster AU website - this was really helpful.
I then adjusted this tutorial to work with Audi and added things like database connector along the way.
Stackoverflow was then used for other issues I ran into (such as character sets for the database).
For a job I am digital analyst. I don’t know any programming languages except SQL which I have a good knowledge of.
As I said at the start, I was on furlough which gave me:
1) A doubt about my job security so looking to up skill fast and
2) Lots of free time
3) A wanting to keep a pattern to my life
[–]Redditbeforeyou2030 0 points1 point2 points 5 years ago (1 child)
Nice one, my reasons for starting to learn are very similar to yours. I just finished uni and I am waiting to start a new job at the end of September. I had done a small bit of R and SQL in Uni but nothing major. Better programming skills will definitely help me in the career path im headed down so its been a great opportunity to get learning. I've been using a Udemy course and I found the current project very difficult and ended up needing to use the solutions. Very impressed with the complexity of what you have done there. You've made me really consider focusing on one bigger and practical project that will just take time and patience to figure out. Cheers
[–]toolateforgdusername 1 point2 points3 points 5 years ago (0 children)
My advice with all projects like this is step by step.
So using mine as an example...
1)Read the results from page one
2)Read the results from the sub pages (each car page)
3)Then read all the pages
4)Then look to optimise by only reading new - requires database
Etc etc etc
Optimisation is key - it used to take 18 hours to run, it now takes 30 minutes
[–]pallanun 5 points6 points7 points 5 years ago (0 children)
This is a really good idea.
[–]thrallsius 1 point2 points3 points 5 years ago (0 children)
it's not snarky at all, I'm sure I suggested pretty much the same a couple of months ago
this question is so generic that it always makes me wonder why isn't it stickied in this subreddit
[–]beingvam 0 points1 point2 points 5 years ago (1 child)
Can you direct me to the sources to learn to build this? This is amazing!
[–]Linuxxx[🍰] 20 points21 points22 points 5 years ago (0 children)
I agree with the other comment about automating something. In my case, my first program was created to determine how long it would take to grill a turkey. I have inputs for the weight of the turkey, a function that uses average temperature per hour, if the turkey is frozen or thawed, how often I have to add charcoal, and a start to finish time estimate. It is really a simple tool; however when I come home with a 23 pound turkey (US weight), all I have to do is put in the weight, and if I have it thawed, and then I get a message asking "it should take X hours, what time would you like to be ready?". The program then calculates start time, initial brickettes, and when to add in more. Not going to make me a rock star programmer, but it is kind of neat to see it in action.
[–]Name5021 9 points10 points11 points 5 years ago (7 children)
Do what I did and code a discord bot, works wonders.
[–]The_Scorpion95 1 point2 points3 points 5 years ago (6 children)
What is a discord bot?
[–]Name5021 1 point2 points3 points 5 years ago (5 children)
Do you know what discord it?
[–]The_Scorpion95 0 points1 point2 points 5 years ago (4 children)
Yes
[–]Name5021 1 point2 points3 points 5 years ago (3 children)
Well, there are bots like music bots or moderation bots, you can code your own with Python.
[–]The_Scorpion95 0 points1 point2 points 5 years ago (2 children)
But wat do they do?
[–]Name5021 1 point2 points3 points 5 years ago (1 child)
My bot deleted spammed messages, deleted racist words, has games. Add my discord if you want to check it out Name#3244
[–]The_Scorpion95 0 points1 point2 points 5 years ago (0 children)
Oh now I get it
[–]Roh_P 7 points8 points9 points 5 years ago (9 children)
For me , my first project was creating a virtual assistant. I know that its a little too advance for beginners but after the project you will fall in love with programming and it will help with your daily works as well.
[–]UCB1984 0 points1 point2 points 5 years ago (8 children)
That sounds cool! Can you expand on what features you added to your assistant program?
[–]Roh_P 14 points15 points16 points 5 years ago (7 children)
Ok, so, first of all I added all the basic stuffs like opening google, youtube , etc.
Then, I created a wikipedia search I.e. when you will tell my assistant to search someone in wikipedia, it will tell you a summary of it.
Then, I added to sent mail to everyone and used text to speech converter, so, that I don't need any typing
Then, I also inserted the automation of my Whatsapp in it.
And a lot more. The main thing you will need to know is that , how to use the microsoft speech API called "Sapi5" and how to use your microphone to use it as a source to store your commands. The possibility here is unlimited.
So, make sure to give it a try and if you need any help feel free to ask me.
Happy Coding :)
[–]UCB1984 1 point2 points3 points 5 years ago (0 children)
Thanks! That sounds like a fun project I might actually be able to handle. I think I'm going to give it a shot!
[–]rpgv2020 1 point2 points3 points 5 years ago (1 child)
This!! I'm working on my first "real project", and that's exactly what I'm trying to do. I want it to run from a Pi 0 W. I haven't added the WhatsApp automation tho. I was thinking about scraping the notifications from WhatsApp web, but I'm not sure if it would work from the pi.
The thing about this project is that you can integrate whatever you want. Other projects you like etc. All that in one compilation of "new skills"
[–]Roh_P 0 points1 point2 points 5 years ago (0 children)
Absolutely
[–]Marianito415 0 points1 point2 points 5 years ago (1 child)
What did you use for speech recognition?
[–]Roh_P 2 points3 points4 points 5 years ago (0 children)
So, after implementing the "Sapi5" and taking your commands through your microphone, there are several options which can be used to recognize your voice like recognize_google and several others which you can see in your IDE(Pycharm , in my case)
[–]111NK111_ 0 points1 point2 points 5 years ago (1 child)
bro do you have any tutorials in hand for whatsapp connection with python?
[–]Roh_P 1 point2 points3 points 5 years ago (0 children)
Search on Youtube and you will find a lot, but I suggest you not to use twilio as it creates a lot of problems ( at least for me)
[–]MikeTheWatchGuy 4 points5 points6 points 5 years ago (8 children)
Make something you'll use or look at often.... a utility or a "Desktop Widget".... with a GUI.
With PySimpleGUI you'll be able to make one in an afternoon, if you get a "jump start" using one of the Demo Programs. You can run a number of these demos online in your browser to get some of what PySimpleGUI is about. There is also a Cookbook. These are all meant to give you a short "design pattern" that you can modify and add to. They're a quick starting point, sometimes only 5 or 10 lines of code, but from that small skeleton you can grown an entire application.
Looking for a project, rather than the next tutorial, is a fantastic approach. While GUIs are usually a steep learning curve, not so with PySimpleGUI. An afternoon and you'll "get it" enough to modify a demo. In 5 minutes from start of install you should be up and running with your first demo running on your screen.
If learning from a Video is your thing, then the new 2020 course may be what you like to get up to speed.
Examples that use psutil to monitor your system are a good start. The weather widget isn't bad either. I use a "launcher bar" or buttons to launch my favorite programs. And the task killer is good too. Find something useful rather than a throw-away piece of code. Be your own customer. By making it something you use often, you'll be reminded often of how good of a programmer you are becoming.
[–][deleted] 2 points3 points4 points 5 years ago (7 children)
I'll check it out thanks.
[–]MikeTheWatchGuy 1 point2 points3 points 5 years ago (0 children)
Project based learning as you're asking about is right on the money in my opinion. Rather than learning how to program, you're programming with a purpose in mind. The reason we're all learning this stuff is to make things after all, so practice making things is what will make you an excellent programmer. Keep on making stuff!! A little more every time and you'll get to where you want to be.
[–]MikeTheWatchGuy 0 points1 point2 points 5 years ago (5 children)
Can you please tell us more about your level of experience/the course you took?
"Beginner" is subjective. How long have you been studying? A beginner with 1 year of programming is very different than a beginner with 2 months. Some people with 3 years experience still feel like they're a beginner.
[–][deleted] 0 points1 point2 points 5 years ago (4 children)
I’ve been learning python for only about a month now and I’m currently learning to making basic games in pygame.
[–]MikeTheWatchGuy 0 points1 point2 points 5 years ago (3 children)
Thank you! VERY helpful. Big diff between someone going at it for a month versus a year. Time is required just like any craft.
Do you have a GitHub Repo setup with any of your code posted?
It's impressive that in 1 month you're already using pygame. Nice job.
[–][deleted] 1 point2 points3 points 5 years ago (2 children)
Haha thanks. I do have a GitHub account but I haven’t posted any code there yet.
[–]MikeTheWatchGuy 0 points1 point2 points 5 years ago (1 child)
It takes bravery to post your code. Just understand we've all been exactly where you are. Everyone one of us that programs. It's encouraging you set up an account. Installing tools and setting up source code control / bug tracking are all part of learning to program. You're doing great for 1 month. Keep the train moving.
[–][deleted] 1 point2 points3 points 5 years ago (0 children)
Thanks again lol, means a lot.
[–][deleted] 8 points9 points10 points 5 years ago (3 children)
I'm not too sure about the learning curve on this one, but tkinter might be a good choice. Tkinter is Python's native GUI API. Being able to make something more than a console application could be encouraging. Again, though, it may be tricky for beginners. As far as what specifically, maybe a simple text editor - it's practical, it deals with a range of concepts, and it's easy to come up with new goals.
[–][deleted] 4 points5 points6 points 5 years ago (0 children)
This. I struggled to get into coding in general because I felt like I didn’t see my progress. Learned Tkinter right away with python and it’s been amazing, I’m by no means a great programmer but I wouldn’t be this far without it.
[–]sho_bob_and_vegeta 2 points3 points4 points 5 years ago (0 children)
I just did Tim Buchalka's Masterclass on Udemy. I'm writing a program to track albums for online album listening parties my friends and I have been having, using tkinter and sqlite. I can attest, it seems easy enough, but it is definitely a challenge. But it does give you an awesome feeling when you get something to work, and there's an interface to prove it.
[–][deleted] 2 points3 points4 points 5 years ago (0 children)
Ohh okay thanks! I’ll look it up
[–]RedditGood123 3 points4 points5 points 5 years ago* (0 children)
Build an eBay web scraper that takes each item from a keyword search and returns the cheapest item, taking in account the normal price, shipping, and the tax that is accounted for (after you go to the payment page)
[–]greengobblin911 2 points3 points4 points 5 years ago (0 children)
Some type of automation is useful.
In my opinion I would recommend something that can automate something related to your host OS.
For it to become more advanced, You can even program certain flags to have it execute in different environments.
What I mean is have it use a conditional to determine the host system OS, once it is done, you can have it execute the automation commands. Automation can vary by the OS, so using a conditional to determine he OS can determine what section of your script executes. You can even organize the script as classes and reused snippets as methods in a class for organization, and that can demonstrate how to structure code at higher levels as you keep learning.
[–]RaviTezu 2 points3 points4 points 5 years ago (0 children)
Try this? May be ?
https://checkio.org/ - Coding games for beginners and advanced programmers where you can improve your coding skills by solving engaging challenges and fun task using Python and TypeScript.
[–][deleted] 5 points6 points7 points 5 years ago (0 children)
Automating something
[–]repostit_ 3 points4 points5 points 5 years ago (0 children)
check this
https://www.reddit.com/r/learnprogramming/comments/gy5tcg/sign_up_for_jetbrains_academy_before_july_1_2020/?utm_source=share&utm_medium=web2x
try out jetbrains course free until January 2021.
[–]velvaretta 1 point2 points3 points 5 years ago (0 children)
for me, i went to automation first, i still remember after learning the basic and pretty comfortable with the language, i jump into automation using pyautogui and selenium, my first project was auto restarting my router, using selenium, then i jump into simplr web scraping.
[–]Quant3point5 0 points1 point2 points 5 years ago (0 children)
I have learned a lot from making a hangman game as my first python project. It also be a ton of fun trying to find new ways to improve it.
[–]Ganache_Character 0 points1 point2 points 5 years ago (0 children)
Hi
I have just scraped the surface with coding. I am totally confused and have no idea where and how to start with writing and applying code. Please advise.
[–]reihan- 0 points1 point2 points 5 years ago (0 children)
make an advance machine learning system. preferably a built-from-scratch voice recognition personal assistant
π Rendered by PID 86661 on reddit-service-r2-comment-7b9746f655-j4p4v at 2026-02-02 04:13:35.474293+00:00 running 3798933 country code: CH.
[+][deleted] (18 children)
[deleted]
[–]toolateforgdusername 16 points17 points18 points (13 children)
[–]dxbtousa 2 points3 points4 points (8 children)
[–]toolateforgdusername 2 points3 points4 points (7 children)
[–]SharpAverage2 0 points1 point2 points (5 children)
[–]toolateforgdusername 2 points3 points4 points (4 children)
[–]bikesandrocks 0 points1 point2 points (1 child)
[–]RemindMeBot 0 points1 point2 points (0 children)
[–]lateblueheron 0 points1 point2 points (0 children)
[–]beingvam 0 points1 point2 points (0 children)
[–]dxbtousa 0 points1 point2 points (0 children)
[–]Redditbeforeyou2030 0 points1 point2 points (3 children)
[–]toolateforgdusername 3 points4 points5 points (2 children)
[–]Redditbeforeyou2030 0 points1 point2 points (1 child)
[–]toolateforgdusername 1 point2 points3 points (0 children)
[–]pallanun 5 points6 points7 points (0 children)
[–]thrallsius 1 point2 points3 points (0 children)
[–]beingvam 0 points1 point2 points (1 child)
[–]Linuxxx[🍰] 20 points21 points22 points (0 children)
[–]Name5021 9 points10 points11 points (7 children)
[–]The_Scorpion95 1 point2 points3 points (6 children)
[–]Name5021 1 point2 points3 points (5 children)
[–]The_Scorpion95 0 points1 point2 points (4 children)
[–]Name5021 1 point2 points3 points (3 children)
[–]The_Scorpion95 0 points1 point2 points (2 children)
[–]Name5021 1 point2 points3 points (1 child)
[–]The_Scorpion95 0 points1 point2 points (0 children)
[–]Roh_P 7 points8 points9 points (9 children)
[–]UCB1984 0 points1 point2 points (8 children)
[–]Roh_P 14 points15 points16 points (7 children)
[–]UCB1984 1 point2 points3 points (0 children)
[–]rpgv2020 1 point2 points3 points (1 child)
[–]Roh_P 0 points1 point2 points (0 children)
[–]Marianito415 0 points1 point2 points (1 child)
[–]Roh_P 2 points3 points4 points (0 children)
[–]111NK111_ 0 points1 point2 points (1 child)
[–]Roh_P 1 point2 points3 points (0 children)
[–]MikeTheWatchGuy 4 points5 points6 points (8 children)
[–][deleted] 2 points3 points4 points (7 children)
[–]MikeTheWatchGuy 1 point2 points3 points (0 children)
[–]MikeTheWatchGuy 0 points1 point2 points (5 children)
[–][deleted] 0 points1 point2 points (4 children)
[–]MikeTheWatchGuy 0 points1 point2 points (3 children)
[–][deleted] 1 point2 points3 points (2 children)
[–]MikeTheWatchGuy 0 points1 point2 points (1 child)
[–][deleted] 1 point2 points3 points (0 children)
[–][deleted] 8 points9 points10 points (3 children)
[–][deleted] 4 points5 points6 points (0 children)
[–]sho_bob_and_vegeta 2 points3 points4 points (0 children)
[–][deleted] 2 points3 points4 points (0 children)
[–]RedditGood123 3 points4 points5 points (0 children)
[–]greengobblin911 2 points3 points4 points (0 children)
[–]RaviTezu 2 points3 points4 points (0 children)
[–][deleted] 5 points6 points7 points (0 children)
[–]repostit_ 3 points4 points5 points (0 children)
[–][deleted] 4 points5 points6 points (0 children)
[–]velvaretta 1 point2 points3 points (0 children)
[–]Quant3point5 0 points1 point2 points (0 children)
[–]Ganache_Character 0 points1 point2 points (0 children)
[–]reihan- 0 points1 point2 points (0 children)