r/PythonLearning • u/Impressive_Carob_572 • 13d ago
I just finished learn python basics, want to start building useful small projects. How do I go about it?
2
u/Naive_Programmer_232 13d ago
think about current tasks that take you a long time to do and involve software. then brainstorm and think about a general system that could help you out with that. design it then make it with python and other tools if necessary.
1
2
u/PhaXoniC 13d ago
my biggest problem after basics is finding ideas for useful projects. that the same for you? i don’t have ideas, i am at the same stage
0
1
u/ConsiderationNo9044 13d ago
Such as?
-1
u/Impressive_Carob_572 13d ago
Any useful project that is maybe under 20 lines of code for a start to help me learn the logic and structure of codes
2
u/silvertank00 13d ago
oh, you mean that small. under 20 lines you have got a mainloop with a rock-paper-scissors game and basically nothing else
1
u/Impressive_Carob_572 13d ago
I’ll try that and see but for some reason I feel like I haven’t learned every basic. The tutorial I used to learn was Code with Mosh intro to python 6 hour YouTube video, he thought every basic from variables, getting user input, functions, classes, list etc to dictionaries to libraries and modules. From there what else do I need to learn or I need to learn the individual libraries and how they are used or applied?
2
u/ConsiderationNo9044 13d ago
You learn what you need to make what you want. A game dev doesn't need to understand how to make web requests and parse web data, but a web dev doesn't need to understand how to make sprites, animations and draw windows on the GUI. Having a command over the fundamental building blocks of everything else (like what you mentioned you already learned which is good) is important, but if you try and learn even just the basics of everything, you'll quickly find yourself burned out and lacking skill in many areas.
Pick something you really want to make and research what you need for it :3
1
u/Dazzling_Music_2411 13d ago
Any useful project that is maybe under 20 lines of code
20 lines is not a project, it's an exercise.
Why are you not using a reputable textbook?
1
u/Impressive_Carob_572 11d ago
I don’t have any reputable textbooks. Which one can you recommend or send?
2
u/Dazzling_Music_2411 11d ago edited 11d ago
I like "Learn Python the Hard Way" by Zed Shaw, for beginners like you. Also consider a good MOOC like that of the Uni of Helsinki.
"Python Crash Course" by Eric Matthes is also pretty highly recommended.
1
u/Impressive_Carob_572 11d ago
Thank you
2
u/Dazzling_Music_2411 11d ago
No problem. The last book mentioned also has a number of useful projects.
Enjoy!
1
u/silvertank00 13d ago
"learnt how to boil water, now I want to make ramen".
First of, what do you consider a small useful project? if you have somekind of an issue that you could automate/give a solution to, it would be a great starter project.
Its really not that easy to recommend anything when we dont know your interests.
Some ideas tho:
if you are interested in math, build a simple linear regression visualizer,
if you are interested in having data on your phone from your home (anything, sensors/uptime/scraped data/etc.) build small apis
if you are interested in making games, make a flappy bird clone
if you are interested in automation, create a file fingerprinting/archiving program for yourself
etc
You will also have to look up things yourself and figure stuff out on your own.
1
u/Impressive_Carob_572 13d ago
So to work with data I have to learn how to build API’s?
1
u/silvertank00 13d ago
what kind of data and what kind of work?
APIs are for the purpose of serving some data for other programs/people. If you want to give answers to questions formed from a big data set, then go towards BigData2
u/Impressive_Carob_572 13d ago
I’d like to try webscraping and see how it is! I do plan on learning automation as well
2
3
u/jackardian 11d ago
If you're still at projects that are only 20 lines, I'd start with files. Open a file and count lines, change dates, look for words. Try unstructured data, try bits of HTML, and try JSON.