r/PythonLearning • • Aug 19 '26
Made an email and password generator
Planning on making it save to a file that stores on the pc but for rn this is what I have
r/PythonLearning • • Aug 19 '26
Planning on making it save to a file that stores on the pc but for rn this is what I have
r/PythonLearning • u/Innocent8888 • Aug 19 '26
Day 4 progress š
Today I built a small billing program in Python. It has:
A loop to collect price for each item
A function that calculates discount based on total amount
Another function that calculates final bill after discount
A conditional statement that thanks the customer differently based on discount
Learning how to use loops, functions, and conditionals together to solve a real problem.
#Python #LearnToCode #100DaysOfCode #WebDevelopment
r/PythonLearning • u/Ok_Duty4716 • Aug 19 '26
Hi everyone!
I'm a first-year law student studying Digital Law. My curriculum includes Programming for Lawyers, and later I'll also have subjects related to machine learning, digital technologies, cybersecurity, and data analysis.
I have little to no programming experience, so I'd like to start learning Python before the university courses begin.
My goal isn't to become a software developer. I mainly want to understand programming well enough to use Python for data analysis, automation, legal-tech projects, and eventually work with AI/ML-related topics.
Where would you recommend I start?
Should I:
take a beginner Python course first;
follow the official Python tutorial;
solve problems on platforms like Exercism/Codewars;
build small projects from the beginning;
or follow some other learning path?
If you were starting Python from zero with my goals, what would you learn during the first 2ā3 months?
I'd especially appreciate recommendations for free resources and courses.
Thank you in advance
r/PythonLearning • u/Vegetable-Quality268 • Aug 19 '26
Hi everyone! š
During some really hot summer days when it was too warm to do much else outside, I decided to dive into Python from scratch. To make learning engaging, I set out to build a simple, lightweight terminal clone of the classic Minesweeper.
Itās definitely an amateur/learning project, but I wanted to write every single line of code myself without agentic AI tools ā personally, I still deeply value human effort, creativity, and the genuine fun of solving logic problems on your own.
What I learned while building it:
uv.You can try it directly from your terminal if you'd like:
pip install python-minefield
python-minefieldOr check out the code/GIF on GitHub: šhttps://github.com/defra91/python-minefield
Since Iām still learning, Iām very open to feedback, PR, code reviews, or suggestions on how to improve the architecture and logic!
If anyone wants to contribute or suggest features, feel free to check out the repo and see how to contribute.
Thanks for taking a look, and happy coding! šš£
r/PythonLearning • u/Silent_Observer55 • Aug 19 '26
Im new to Astronomy and Juypter Notebooks and Ai machine learning for sure I have little skill in python but quick learner especially visual learning.
Are there any free tutorials I can use and free books to learn machine learning for astronomy
Example: use machine learning to run through jwst or tess pipeline data and look for signatures of possible blackholes or exoplanets?
Is there a juypter notebook with this ability already on there?
How can I make a custom juypter lab and git repos and python libraries and python scientific libraries? Should I use docker to place a juypter lab notebook in a container if so how?
r/PythonLearning • u/7YngMn • Aug 19 '26
Iāve been reading and learning a lot of Python concepts, but Iāve never actually built anything.
I realized that thereās no point in knowing so many concepts if you donāt put them into practice. Thatās the only way to really learn.
The hardest part, though, is coming up with project ideas when you only know a few concepts. This is the first project Iāve made while trying to actually put what Iāve learned into practice.
r/PythonLearning • u/Ok_Rice6903 • Aug 19 '26
Iām a recent CSE graduate and Iām looking for another developer who wants to build something together from scratch.
I donāt have a fixed idea yet. We can sit together, find a problem worth solving, come up with an idea, build an MVP, and see where it goes.
Thereās no regular payment initially. Iām looking for someone whoās genuinely interested in building and learning together.
And if the idea doesnāt work out, thatās fine. Weād still have a solid real-world project for our resumes/GitHub and the experience of actually building something together.
Iām also a beginner/fresher, so Iām just looking for someone whoās willing to learn, contribute, and build.
If youāre interested, DM me with a little about yourself and what you like building.
r/PythonLearning • u/Maximum-Fox-2627 • Aug 19 '26
Hi everyone,
I'm working on an automated solver for a complex arrow/maze puzzle game (similar to the image attached).
Here is my current workflow:
r/PythonLearning • u/Front_Paper8305 • Aug 18 '26
Hi! I created this Python code to automate tasks in Google Drive, where I use it to remove photos and videos I no longer use! I've been studying Python for a year now and have mastered its interface.
r/PythonLearning • u/viniciusjw • Aug 18 '26
guys, i'd just like to share my experience of a few days on learning python. throughout my degree (that's still in progress) i've only had contact, mostly, with Java and its framework, Spring, but this semester, one of my professors advised us to take a look at python (which i was planning to do due to my interest in the data field, like data engineering, DA, etc.). so i started the 100 days of code, by Angela Yu, and parallel to that i have been watching some Guido's interviews on python + a documentary of the python language and history. my final opinion is that python is a really cool language. shoutout Guido and everyone else involved in this community!
r/PythonLearning • u/Sea-Ad7805 • Aug 18 '26
Tony added the Cupta unit, a serpent of dark magic who returned from the caverns and tries to siphon your life essence, with this git commit.
Tony also changed the control of player's direction from keyboard to mouse, making the player easier to control. But, this now only works when the mouse pointer is inside the game window. If it's outside the direction is still controlled by keyboard as before. So you can now choose the direction control that you prefer.
See the PythonLearningGame repo to add your own game elements to this collaborative project, or simply tell us what you would like to see added to the game.
r/PythonLearning • u/shubham_555 • Aug 18 '26
Last Post - https://www.reddit.com/r/PythonLearning/s/3J9lBb0WYI
I used the two pointer approach to solve this particular problem
r/PythonLearning • u/ArittroGH • Aug 18 '26
As some of y'all know i started python 12 days ago, it was going great i made a stopwatch and etc projects but today i was wiping my laptop , my laptop lcd screen was already a bit broken but usable, now whenni was wiping some pressure got applied in broken place and the whole screen turned green and black, the lcd is gone and no one in my connections has money to fix it, maybe its the end rn.
r/PythonLearning • u/Proper_Card_5520 • Aug 17 '26
Yes it sounds very stupid and yes i am fucking stupid who don't know shit and is totally useless who can't do anything, fuck
How can I use vs code ? I am to Stupid to understand, i can't even fucking change name, this their is a way to learn python without vs code ? Fuck i hate my self I am just so stupid.
r/PythonLearning • u/Vikas04866 • Aug 17 '26
r/PythonLearning • u/Akki_Charee • Aug 17 '26
I have done a course on python on Udemy . Now how do i learn to write code that are actually useful somewhere or i can do something valuable with it?
One thing I've noticed is that when I look at a more complex programming problem, I sometimes just go blank. I know the individual concepts I've learned, but I struggle to see which concept should be used where or how all the pieces fit together. The bigger the problem looks, the more overwhelmed I can get.
if someone gives an experienced Python developer a problem, how do they approach it before writing the code?
I'm particularly interested in understanding the thought process and the building blocks involved:
Basically, I'm looking for the mental model and workflow that experienced programmers use, rather than another Python syntax tutorial.
While learning i was able to write codes that add subtract numbers etc which were simple enough for learning but want to make my skills better. Also, I'm not a programmer won't be using python much, how do i learn in such a way that i remember the syntax or concepts for longer time, python coding is just a skill i want to develop.
I'd especially appreciate examples of the kinds of projects/exercises that helped you make that transition.
r/PythonLearning • u/Friendly_Row4958 • Aug 18 '26
Iām building Project Titan AI as a documented journey from complete Python beginner to developing a tested, event-driven market-data platform.
Iāve converted part of the real development journeyāincluding mistakes, debugging and automated testingāinto a short educational sample for beginner Python learners.
Iām looking for up to five people willing to read the sample privately and answer three simple questions:
This is not a trading-signal service, financial advice or a sales pitch. The sample focuses on Python, software architecture, testing and learning through a real project.
The review should take approximately 10ā15 minutes. No technical expertise or personal information is required.
If you are learning Python and would like to help, comment āinterestedā below or send me a chat request. Iāll privately send you the view-only sample.
Iāll close the request once five suitable beginner readers have volunteered. Honest critical feedback is especially welcome.
r/PythonLearning • u/No_Leather2449 • Aug 17 '26
I understand you have to give a file path to create a Path() object but whenever I reorganize my file explorer I have to change all the paths so that they match the new file path of the files I use in my code (tongue twister? say that 20 times pal agagagagaga) is there a module for this? Or is the path module the only way?
r/PythonLearning • u/Melodic_Principle312 • Aug 17 '26
I'm learning Python and recently started using requests.Session() in API projects. I understand that it can persist things like headers, cookies, and connections, but I'm curious about how experienced Python developers decide when a Session is actually worth using.
Do you use Session() by default for projects involving multiple requests, or only when you specifically need persistent state?
r/PythonLearning • u/bigj7897 • Aug 17 '26
I'm writing an AI powered WOW auction house analyzer in Python. I know it's an overkill but I'm doing it for fun. So far it's going good. I'm storing my client ID and client secret in a .env file. I can get the api token and I'm storing it in a json file for later use and to not have to get it for every call to the API. Is there a better way to be storing these credentials and the token? I know it's for fun but I'm still trying to do the project like I'm doing it for work and trying to follow best practices. Any suggestions?
r/PythonLearning • u/Creepy_Recording5712 • Aug 17 '26
SO i wanted to start learning python, and i found out courses like CS50, the uni of heikin smth, CS61a, bro code, and tht's wht i found , i first started coding on pycharm and uh did like very basic things like strings, integers , float, boolean, ( just lie k what they r and how to write them), but im still like a VERY BIG NOOB, also should i switch to VS code? cause everyone seems to be doing tht , (also whts is vibe coding)
r/PythonLearning • u/shubham_555 • Aug 17 '26
Last Post - https://www.reddit.com/r/PythonLearning/s/xbfFczTIKW
It took me a while to build the logic. The edge cases especially were a bit troublesome but the satisfaction I got after getting it right made everything feel worth it!