r/learnpython • u/ats1702 • Jun 14 '21
Python Projects for beginners
I have learnt basics of Python and Numpy, but now i want to practice.
Can you guys tell me which project I should do to practice or where I can see other people's code so that i could understand what they are creating.
Or you can tell me the path I should go no to make myself good at Python.
8
u/nekojitaa Jun 14 '21
My advice and this is how I got out of tutorial land after learning python fundamentals is by finding free data sets on things you're interested in. I started my first project on weather data from 1979-2015. I worked my way through the data answering questions I was curious about such is...which months had the highest temperature and used python to manipulate the data to show me the answers.
After that project I worked on cellular data. It's quite fun, challenging, and painful but probably good to put in your portfolio.
Happy coding.
2
13
u/rukhat Jun 14 '21
speaking as a beginner (and probably on the same level as you), I'd say either automate stuff and make stuff that's actually useful and interesting to you. for example, I made an encryption program in C back during a CSE course I had. I'd very much like to make that one in Python. Python is really useful for anything text based. also there are many natural language modules. I'm thinking of doing some data scraping projects which I'll use for bigger projects. I wanna check out Selenium, Beautiful Soup. you can use OpenCV for some cool image processing projects. but typically I often think about what can I automate or what process can I make more efficient. hope this helps. best wishes.
7
u/rukhat Jun 14 '21
also, explore GitHub and Stackoverflow frequently. yes, you might be a really good coder. but there will always be people with better code and better approach. so you can learn a lot from them. just like in writing, you need to read other's code to better code yourself.
2
u/ats1702 Jun 14 '21
Well, you are definitely more experienced and knowledgeable than me. If i need help down the road .... may i ask you for the help?
8
u/rukhat Jun 14 '21
I'm not sure how much I can help you. but I'd still prefer you use Google. because you NEED Google to learn. you can't put your faith on a single source. so Google search is still the best way. then there's Geeksforgeeks which my favorite place for any kind of coding related help. and obviously Freecodecamp. these two and Google should be enough for a long time
0
Jun 14 '21
[deleted]
2
u/rukhat Jun 15 '21
I initially started with C. then I started learning Python from Freecodecamp and few other YouTube channels. now I'm learning DS algo in Python from the book by Goodrich.
I guess rock, paper, scissor is kinda easy? you just need to import the random module. rest if just conditions and code refining. I am not used to making a GUI. so I don't have much idea about tkinter.
1
u/andreas_bh Jun 14 '21
I second this. Iβm also a beginner in Python, and Iβve started automating the manual stuff that we have traditionally done manually in my day job as an IT consultant. Examples of this is creating an application generator, which takes a project name as a parameter and creates folder structures, pre-configured files and things like that. My goal is to become a DevOps engineer, and automation of the file system is a neat place to start.
4
u/gwnedum Jun 14 '21
I am just starting my journey as well. Following this
3
8
Jun 14 '21
I also started my python journey recently (I started a thousand times but this time I stick to it) so I'm here just to up-vote your thread for visibility :)
Good luck!
3
2
u/Raiux Jun 14 '21
I would recommend a project that seems interesting to you, or write something that you think is convenient. Such as a program that finds books based on ISBN.
1
441
u/BeginnerProjectsBot ππ€ Jun 14 '21 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 Hugz, kind stranger!
edit6. Thank you for the Wholesome, kind stranger!
edit7. Thank you for the Helpful, kind stranger!
edit8. Thank you for the Silver, kind stranger!
Downvote me if the post wasn't a question about examples of beginner projects. Thank you.
68
u/i_like_trains_a_lot1 writes Python for food and shelter Jun 14 '21
Good bot
79
u/BeginnerProjectsBot ππ€ Jun 14 '21
Praise for the food is praise for the cook.
Thanks from the programmer.
15
22
u/PrimaryImplement Jun 14 '21
Good bot
26
u/BeginnerProjectsBot ππ€ Jun 14 '21
Praise for the food is praise for the cook.
Thanks from the programmer.
22
Jun 14 '21
While I was reading this comment I did not even realize its a bot, great job dev!
4
u/RareReaper387 Jun 14 '21
yeah tru, also happy cake day
5
10
u/dynamo_nishant Jun 14 '21
Good bot
11
u/BeginnerProjectsBot ππ€ Jun 14 '21
Praise for the food is praise for the cook.
Thanks from the programmer.
7
u/madrarua_81 Jun 14 '21
Good bot
7
u/BeginnerProjectsBot ππ€ Jun 14 '21
Praise for the food is praise for the cook.
Thanks from the programmer.
5
4
u/Sea_hawk5478 Jun 14 '21
Good bot
3
u/BeginnerProjectsBot ππ€ Jun 14 '21
Praise for the food is praise for the cook.
Thanks from the programmer.
4
u/kev1105 Jun 14 '21
Good bot
3
u/BeginnerProjectsBot ππ€ Jun 14 '21
Praise for the food is praise for the cook.
Thanks from the programmer.
3
3
3
u/prb_data Jun 14 '21
Good bot
2
u/BeginnerProjectsBot ππ€ Jun 14 '21
Praise for the food is praise for the cook.
Thanks from the programmer.
2
Jun 14 '21
Good bot
2
u/BeginnerProjectsBot ππ€ Jun 14 '21
Praise for the food is praise for the cook.
Thanks from the programmer.
2
Jun 14 '21
β Create a bot to reply to "what are some beginner projects" questions on r/learnpython, using PRAW.
The most fun and exciting part of bootcamp for me was learning Markov chains and building a Discord bot. I knew Iβd eventually build a Reddit bot and just hadnβt looked into it yetβ¦ yasssssssss. Thank you, BPB.
2
u/EmpressControl Jun 14 '21
Good bot
2
u/BeginnerProjectsBot ππ€ Jun 14 '21
Praise for the food is praise for the cook.
Thanks from the programmer.
2
49
Jun 14 '21
Go to duck duck go or google.com
Copy and paste the title of this post
Press Enter
Profit!
5
5
u/ASIC_SP learnbyexample Jun 14 '21
I have a blog post I know Python basics, what next? that has resource links for exercises, projects, debugging, testing, intermediate/advanced python, algorithms, design patterns, cheatsheets, etc
I'm also building a collection of searchable Python learning resources: https://learnbyexample.github.io/py_resources/ - this includes domain specific resources like scientific computing (for resources related to Numpy, Pandas, etc)
5
u/elus Jun 15 '21
One of the (many) problems that people have when choosing a project is that they don't necessarily understand the problem domain or they've taken on an excessive amount of scope.
That's why a book like Automate the Boring Stuff with Python is so good. It gives you small workable things that you can feel free to turn into bigger projects.
What's appropriate for you will be vastly different from me. What's your background in school? What kind of places have you worked at before? What are your interests and hobbies?
Now given the answers to the above, what problems can keep you interested within those domains?
For example if I were bartending still, maybe I'd find it interesting to capture data about the liquor I have in my inventory and maybe create a process that allows me to know how much stock I have on hand and when something is running low so that I can order it in for my next shipment of liquor.
Once you find something that's interesting to you, draw up a plan on how to tackle a small part of the problem. Chip away at the larger problem little by little until you have something useful. Then go back and write tests for the functionality you built, maybe do a short document to describe what it does for someone that maybe interested in reading your code in the future. Then refactor what you coded to make it more clear and to make it easier to maintain in the future.
Rinse and repeat. Good luck.
13
u/notParticularlyAnony Jun 14 '21
Search this sub for the 90000 threads of people asking this exact same question. Sidebar. Google.
10
2
1
3
u/JorginLegal Jun 14 '21
I personally just make really simple free apps for no reason. It's very fun and it helps you learn things in python you didn't even know you needed!
3
u/gunscreeper Jun 14 '21
You should have put Numpy in the title. There are tons of beginner project using tons of library that you really should learn first. If you are looking for project that uses numpy specifically, then it would be better if you clarify that from the title.
Or you can tell me the path I should go no to make myself good at Python.
I suggest you check out pandas and matplotlib next. All of them can be found in here https://jakevdp.github.io/PythonDataScienceHandbook/
2
u/memes-of-awesome Jun 14 '21
Frameworks/APIs I would suggest learning:
openCV and mediapipe. You already know numpy which is quite helpful for these things. It's also very interesting and applied. Not too difficult either.
django or flask. Web application is another pretty good use for python.
Pytorch, or pybrain. I would do some research before choosing but I think it's probably one of the best uses of python.
Do whatever interests you, otherwise coding will feel more like a chore than fun.
Also if you're just coming out of the beginner courses I would suggest an intermediate beginner framework like sqlite3 (database) or tkinter just to get the hang of using frameworks.
2
1
1
u/Kudi-ytb Jun 14 '21
I made a bot that creates YouTube videos using 3 main libraries and an API, it was an amazing experience for me and the best part is that it only took like 2 days to complete. You should try this !
Here are some more details :
Movipy for video editing
PIL to create the thumbnail
Soundcloud-lib as a wrapper to the SoundCloud API to get cool music
Unsplash API to get background images
Other skills that I learned:
Use text files to cache data easily (e.g.: the bot stores all previous songs that it has used in a .txt file to avoid using it again in a future video)
How to get the best out of functions to facilitate debugging
How to optimise automated video editing using some clever tricks
How to plan a project, organising your time as well as planning your functions and how they interact
...
Link to the last generated video:
1
u/Escaped_Philosphy Jun 14 '21
Question op and anyone else. Ive also began my journey recently and currently learning the basics. Loops functions and all tht. When do you know or how did you know you were fundamentally sound enough to start working on projects. The course im using teaches me the basics so should i begin doing projects right after im done. Also ive heard automate the boring stuff with python is good for projects. Can anyone add info to tht. Thx
1
1
u/Nexushopper Jun 15 '21
I myself have had (and still having) fun with discord.py! There are plenty of tutorials and nothing Iβve done so far has been so much fun and rewarding. I ended up making a bot that gets server statistics, insults using an API, and uses admin commands so I can replace my servers bots like dyno with my own.
1
62
Jun 14 '21
[removed] β view removed comment
26
u/rukhat Jun 14 '21
Project Euler is the place where I feel really happy solving their problems. almost all the problems can be bruteforced. but the runtime gets way too long. so you have to think real hard and make your code more efficient. really good place for beginners.
8
u/vnNinja21 Jun 14 '21
As a maths student learning coding, PE is great. I'll try to find an elegant solution, and more often than not I succeed, but I know if all else fails I can just brute force my way through it lol.
10
u/[deleted] Jun 14 '21
I have made an email bot that will send me a research paper every day. You can take something like this and turn it into something useful.