r/PythonLearning • u/Low_Ask3080 • 18h ago
First Full Project!
Made this Calculator in CustomTkinter after a month of learning
r/PythonLearning • u/Low_Ask3080 • 18h ago
Made this Calculator in CustomTkinter after a month of learning
r/PythonLearning • u/No_Use3178 • 1h ago
Python learners and programmers: What's your biggest coding difficulty?
When using Python, what small problem or task do you find difficult or annoying?
Is there any function or simple tool you wish Python had to make coding easier?
I'm planning to build a small Python library based on real problems people face. I'd love to hear your experiences!
r/PythonLearning • u/Plastic_Yak_6726 • 3h ago
Hi everyone,
I want to master Python and use it professionally in AI/ML, LLMs, NLP, Reinforcement Learning, Computer Vision and Robotics.
I'd like to know:
Which Python concepts should I master from beginner to advanced?
How deeply should I learn OOP, DSA, decorators, generators, multithreading and asynchronous programming?
Which libraries should I prioritize: NumPy, Pandas, SciPy, Scikit-learn, PyTorch and Hugging Face?
How much Python knowledge is required for implementing ML/DL algorithms and research papers?
What should I learn for LLM development, fine-tuning and Reinforcement Learning?
Which projects should I build to develop advanced practical skills?
I'd appreciate a structured roadmap and recommendations for books, courses and resources.
Thanks!
r/PythonLearning • u/AceDrums • 4h ago
Hi Folks,
I've started using python for data analysis at work and I'm very much enjoying it. My goal is to build two apps for myself:
- first, a very basic journaling app (think like Google Keep style)
- Then, when I'm ready, a plant management app.
If I enjoy them enough and think they might help others, then I'd consider putting them on the play or itunes store but not a big concern of mine!
I'd still say I'm entry level but have a lot of experience building and managing databases in Access and SQL, data analysis and reporting in SQL, as well as building solutions in Excel and Access.
For both, I'd like to have an app on my desktop and phone and avoid any extra HTML/CSS/Javascript. I was considering web based but i thought it would be great if I could continue to focus just on python, if possible. The database should be synchronized and stored on the cloud. I was also intending to have push notifications for reminders (e.g., plant watering/fertilizing schedules). I'm aiming to keep it simple and scalable.
Anywho, is there an all-in-one Python framework that handles the UI, backend, libraries, and database well for this, or what is the simplest combo of tools to start with?
I'm very comfortable with SQL if there is a solution that includes that!
Note: I'm fully new to this stuff so assume I know nothing. Also, feedback is welcome for any part of this :)
Thank you!
J
r/PythonLearning • u/TemperatureProper275 • 17h ago
I have built two useful apps for my personal use (basically automation scripts) and I want your feedback:
Coding-Tracker-Dashboard : an autonomous/standalone script that tracks the time when coding on specified coding enviroment.
Downloads-Folder-Organizer : a script that organizes the files in a specified target folder.
r/PythonLearning • u/RegularBother614 • 18h ago
Give me 30 Intermediate level python projects that I can build. I will post 1 project each day and I you guys will be the judge of it. This is also a test to my programming and python knowledge.
r/PythonLearning • u/RegularBother614 • 1d ago
I use these, i mainly use Coding Python cause the workspace is cleaner.
r/PythonLearning • u/Repulsive-Song-1594 • 1d ago
sorry but i am gonna crash out because of the range function i cant understand it well to use it this is driving me crazy any one could give me a video explaining everything i dont mind it being an hour long
r/PythonLearning • u/ZyGzAcZeQ5 • 1d ago
hey everyone! first of all, the mods approved this post, so no worries about the self-promo π
i started a small Discord server called Ship It. the idea is simple: a place for people who want to actually build stuff, find teammates for projects, get help when theyβre stuck, and get some feedback on their code.
some things youβll find there:
a channel to look for teammates or cofounders for your project
help and code review channels, no βstupid questionsβ, all skill levels welcome
a showcase for your finished projects and a weekly check-in so you stay motivated
voice channels, including a quiet focus room if you like working alongside others
itβs completely free, no paid stuff, no courses, no catch.
the server is open to every programming language, not just Python, but most of the people there are using Python right now, so if youβre learning it youβll feel at home.
the community is still pretty small and just getting started, but iβm hoping it grows over time, and itβd be great to have more people to build with. if youβre learning and want to turn tutorials into real projects, youβre very welcome to join π
invite link: https://discord.gg/QWGWKFVYyh
happy to answer any questions in the comments or dm!
r/PythonLearning • u/SafeAlert8363 • 1d ago
Guys am starting python already know basic c++ from where I should learn like any good playlist and also a good text source currently am learning from w3schools but now things become Lil bit confusing so wants suggestions
r/PythonLearning • u/North_Dog9837 • 1d ago
r/PythonLearning • u/Leviathans_ • 1d ago
I need to write a program that will calculate the sum of the first n of 1 + 1/2 + 1/4 + ... = lim (n -> β) Ξ£ 1/2^k =2 starting at k=0 to n.
Teacher said we could use Ξ£ 1/2^k = 2 - 1/2^(n-1) starting at k=0 to n-1
We have to write it using a loop.
I went back through my notes and figured I needed to use a Β«forΒ» loop.
My teacher starts all of his programs with def, but when I try to look up more infos online I struggle to find others who are using it.
So, here's what I've tried
def estimate_serie (nb_term) :
sum = 0
for term in range (1, nb_term + 1) :
sum=sum + 1/(2 ** term)
return sum
print (estimate_serie(5))
print (estimate_serie(8))
print (estimate_serie(12))it gave me
0.5
0.5
0.5
Btw I am learning this in french so I might not have translated all of it correctly. I've also only been learning for a month, so if my mistakes seem dumb that might explain why.
r/PythonLearning • u/Decent-Car9604 • 1d ago
hi how to learn programming in 2027
r/PythonLearning • u/Clear-Flight7225 • 2d ago
I am trying to develop a clear plan for learning data science and data analysis. Should I start with Python or Excel? Also, is Excel truly essential for data analysis, or has AI taken its place?
r/PythonLearning • u/Correct_Ask_6824 • 2d ago
Hello, I wrote a code on my macbook that I have to transfer to a windows computer that is permanently offline. However, the windows computer python doesnt want to read the code because it has "null bytes" apparently it can't read UTF 16 only UTF 8. Is there a command I can run on my macbook terminal to change the .py file to UTF-8? Please let me know. Thank you!
r/PythonLearning • u/No-Gift5463 • 2d ago
Love SPYDER because itβs easy to use for my basic yet copious Python work. But the AI assist in VS Code is amazing. Is there some new SPYDER with AI assist or some other alternative for consideration?
r/PythonLearning • u/Emergency_Evening616 • 3d ago
Hi everyone!
I'm a Psychology graduate currently considering pursuing a Master's degree in Computational Neuroscience. Coming from a non-computer science background, I realize that I need to build a solid foundation in programming, particularly Python, before diving deeper into the field.
I've been trying to find introductory resources and came across Neuromatch Academy's Computational Neuroscience course, including their introductory materials.
However, I've found that even though the course is intended for beginners, I still struggle quite a bit with the Python explanations and code structure. I often find myself having difficulty understanding what's happening in the code itself, rather than focusing on the computational neuroscience concepts being taught.
I'm wondering if there are other resources that might be more suitable for someone in my position.
Ideally, I'm looking for resources that:
1.Start from the absolute basics, assuming little to no prior programming experience.
2.Explain programming concepts and code structure slowly and intuitively, rather than jumping straight into complex examples.
3.Gradually introduce concepts that are relevant to computational neuroscience (e.g., NumPy, SciPy, data analysis, mathematical modeling, simulations, etc.).
Help me understand not just how to write code, but also why certain approaches are used.
I'm open to pretty much any format: YouTube tutorials, online courses, textbooks, interactive platforms, or even a recommended learning sequence.
For additional context, my academic background is in Psychology, and I have very little programming experience. I'm not necessarily looking to jump straight into computational neuroscience yet; I'd rather develop a comfortable understanding of Python first, while keeping my long-term goal in mind.
For those who came from a non-CS background, how did you approach learning programming before getting into computational neuroscience? Are there any resources or learning paths you'd particularly recommend?
I'd really appreciate any suggestions. Thanks!
r/PythonLearning • u/Sea-Ad7805 • 3d ago
This πinteractive SQLite demonstration helps student understand relational databases.
The sqlite3 extension of π¦ππ¦π¨π«π²_π π«ππ©π‘ makes database content visible alongside Python's data structures. The demo shows how to:
Create tables with primary and foreign keys.
Model relationships between students, courses, and teachers.
Insert data and observe how the database changes.
Combine multiple tables using SQL JOIN operations.
Use parameterized queries.
The final query answers a seemingly simple question: Which teachers teach Alice, and for which courses? Answering this question involves joining five tables!
With π¦ππ¦π¨π«π²_π π«ππ©π‘, students can step through the Python program and inspect the database content at every step, directly in their browser, without installing anything.
See πother π¦ππ¦π¨π«π²_π π«ππ©π‘ visualizations.
r/PythonLearning • u/No_Safety_5957 • 3d ago

months = [
"January",
"February",
"March",
"April",
"May",
"June",
"July",
"August",
"September",
"October",
"November",
"December"
]
def split(var):
if "/" in var:
splitted = var.split("/")
if splitted[0].isdecimal() == False:
#print("error in splitting")
return
elif "," in mdy_format:
splitted = var.split(" ")
try:
return splitted
except UnboundLocalError:
#print("unboundlocalerror")
return
def checkvalues(checkval):
day, year = checkval[1], checkval[2]
#print(day)
if checkval[0].isdigit():
month = int(checkval[0])
else:
try:
month = months.index(checkval[0]) + 1
except ValueError:
#print("valueerror")
return
if month > 12:
return
day = day.replace(",","")
#print(day)
try:
day = int(day)
year = int(year)
except ValueError:
return
if day > 31:
#print("moth longer error")
return
#print(f"{day:02}")
return f"{year}-{month:02}-{day:02}"
while True:
mdy_format = input("Date: ")
mdy_splitted = split(mdy_format)
#print(mdy_format)
#print(mdy_splitted)
#print(len(mdy_splitted))
#useless comment
#another useless comment
if not mdy_splitted or len(mdy_splitted) != 3 or checkvalues(mdy_splitted) is None:
#print("error here")
continue
print(checkvalues(mdy_splitted))
breakwhy does it return an error? After doing acheck it seems to return the correct answer.
Code above (ignore the comments)
r/PythonLearning • u/Nyxveil1546 • 3d ago
I'm a first-year CSE student, and we've been asked to build a Python project as part of our college assignment.
I'm a beginner in Python, so I'm looking for some project ideas along with their source code that I can refer to and learn from.
If anyone has GitHub repositories, project source codes, or useful resources, please share them. It would be a great help!
r/PythonLearning • u/clcodingupdates • 3d ago
What will be the output of the following Python Code?
a, *b, c = [2, 4, 6, 8, 10]
print(a + c + len(b))
r/PythonLearning • u/Sameer_kusunoor • 4d ago
The basic information πππ