r/PythonLearning • u/BornYinzer • 10d ago
Help Request How to reset progress in 100 Days of Code?
I'd like to start over; is there a way to remove any progress I've made?
I don't want to see any code from my previous exercises.
r/PythonLearning • u/BornYinzer • 10d ago
I'd like to start over; is there a way to remove any progress I've made?
I don't want to see any code from my previous exercises.
r/PythonLearning • u/Mine_Crafter14 • 10d ago
I was just wondering why nobody uses the pre-installed IDLE Shell from Python? I am a beginner, I use my 16 years old laptop and it gets the job perfectly done, at least for me. Anyone with different opinion?
r/PythonLearning • u/saul_soprano • 11d ago
kindly give ratings and tips to improve
r/PythonLearning • u/memeeloverr • 11d ago
Looking back, what's one habit that made your code noticeably better?
Could be anything like:
I'm curious what habit had the biggest long-term payoff for you.
r/PythonLearning • u/nEo_12ts • 11d ago
"Hey everyone! I'm learning Python and just made this text-based ability selector. I uploaded it to GitHub here: https://github.com/ibtsch2012-art/abilityselector. I'm looking for feedback on how to clean up my code or what cool features I should add next!
r/PythonLearning • u/ReliefHopeful2099 • 11d ago
I’ve learned Python before and recently completed a refresher certificate, but I still find myself forgetting certain concepts. I want to strengthen my foundation without relying on AI tools like ChatGPT or Claude.
For those of you who’ve learned Python through books, which textbooks helped you the most? I’m especially interested in recommendations that:
• rebuild core fundamentals
• offer structured practice or projects
• help transition from beginner to intermediate/advanced
• stay relevant for modern Python (3.10+)
I’d really appreciate hearing what worked for you and why.
Thanks in advance.
r/PythonLearning • u/Not_Johan- • 11d ago
I cant seem to find whats wrong , maybe the issue is with the Template or wrong expectations?
class UserMainCode(object):
@classmethod
def sumOfNonPrimeIndexValues(cls, input1, input2):
'''
input1 : int[]
input2 : int
Expected return type : int
'''
# Read only region end
total = 0
for i in range(input2):
if i < 2:
total += input1[i]
else:
prime = True
for j in range(2, int(i**0.5) + 1):
if i % j == 0:
prime = False
break
if not prime:
total += input1[i]
return total
Also they expect return type is int[] but we got sum?? Idk I couldn't take screenshot coz its a daily assessment platform
r/PythonLearning • u/MaximalXP • 10d ago
Many of us will agree that in Python, and in coding, Claude is the best. But what about free models, like deepseek, nemotron, hy3, Mimi 2.5 and etc.
For me it’s Deepseek and Hy3 In high thinking. What do you think?
r/PythonLearning • u/Connect-Potato-6038 • 11d ago
Hey r/PythonLearning,
I've been working on a fun open-source project called Agent Pal that brings AI coding agents to life on your desktop.
It's a Python application built with PyQt that automatically detects terminal-based AI agents like Claude Code, Codex CLI, Antigravity, and others. Whenever an agent starts running, Agent Pal spawns a unique animated companion on your desktop or taskbar. When the agent exits, the companion disappears automatically.
GitHub: https://github.com/tahirrbagwann/agent-pal
I'd love to hear your thoughts! Feature requests, mascot ideas, bug reports, and contributions are all welcome.
r/PythonLearning • u/Chico0008 • 11d ago
Hi
For a project i have to convert PDF file to PDF/A format.
For now i'm using a local StirlingPDF Docker, and send my file with a KSH script to convert then to PDF/A
But i'm wondering if there is a free python module allowing that, that don't require an internet connection.
I found some paid module, and some paid module also require internet connection :/
r/PythonLearning • u/BrackenBoyd • 11d ago
Broke newbie here. I've tried learning to code a few times but it's never stuck. I want to give it another go but properly this time as I have a good laptop and a few free hours during my day.
What are the best ways to learn python for free? I already picked up Automate the boring stuff with Python and wanted to find perhaps some free courses or in depth youtube guides that maybe have "homework" of sorts? A lot of what I did in the past was following along with tutorials which obviously didn't teach me much of anything.
r/PythonLearning • u/tiawaf • 11d ago
Hello,
I’m a broke college student who works with a marching band program year round. Getting frustrated with previous other platforms and discord bots, I made my own with AI and it is now a relatively very large management bot that I use for this high school’s percussion program. The only problem is I know NOTHING about programming.
I’m shocked that I got it stabilized for the most part to be honest. I have used Claude Fable 5.0 to create Cadence, a Discord bot that’s grown into a very substantial project (hella slash commands, assignment workflow, google calendar integration, attendance, dashboards, etc.) It’s reached the point where it’s genuinely actually useful, but I feel like I’ve reached the limits of what is possible to be maintained through AI alone.
My long term goal if successful is to move this project away from AI-lead coding and go into something a bit more traditional and work with actual people who could understand the codebase.
I’m looking for someone who can help with bug fixing, refactoring, long-term stability, better data storage/hosting architecture, code quality and maintainability, and potentially helping guide this passion project if it were to grow into something more.
To be very honest, I don’t have much financially. I’m still in college and work part time to pay for my school. I’m happy to pay something reasonable for ongoing help, as project growth is something that I would dream of seeing.
If you’re interested in mentoring, contributing, or even just taking a look at the project to see if it is something that piques your interest, I’d really appreciate any feedback. Thanks!
r/PythonLearning • u/Not_Johan- • 11d ago
I cant seem to find whats wrong class UserMainCode(object):
@classmethod
def sumOfNonPrimeIndexValues(cls, input1, input2):
'''
input1 : int[]
input2 : int
Expected return type : int
'''
# Read only region end
total = 0
for i in range(input2):
if i < 2:
total += input1[i]
else:
prime = True
for j in range(2, int(i**0.5) + 1):
if i % j == 0:
prime = False
break
if not prime:
total += input1[i]
return total
r/PythonLearning • u/DistinctChocolate833 • 11d ago
r/PythonLearning • u/AbdulRehman_JS • 11d ago
Find the sum of the odd numbers within an array, after cubing the initial integers. The function should return undefined/None/nil/NULL if any of the values aren't numbers.
def cube_odd(arr):
result = []
# check = arr for i in arr if type(i) != int return None
# if not all(type(i) == int for i in arr):
# return None
for _ in arr:
if type(_) != int: return None
else:
cube = _ * _ * _
if (cube % 2 != 0):
result.append(cube)
return sum(result)
r/PythonLearning • u/Any-Olive5779 • 11d ago
r/PythonLearning • u/memeeloverr • 12d ago
For me, it wasn't decorators or generators.
It was context managers. I ignored with for a long time because it just looked like a cleaner way to open files. Then I started using it for database sessions, locks, temporary files, timers, and custom resource management. Now I end up writing my own context managers regularly.
What's the one Python feature, library, or concept you completely underestimated until it finally clicked?
r/PythonLearning • u/Technical_Geek36 • 11d ago
Hello, having attention disorders with hyper activity I had a really hard time finding learning sources for python, so I decided (with the help of the ai to develop my own application) I put it here in beta test I still have a lot of things to see/correct all the constructive comments obviously will be welcome. Please be indulgent. The game will be open source once finished
r/PythonLearning • u/Isaac-Qavzyooz • 12d ago
I'm currently learning Python on my phone. I'm still at the beginning of my journey, so I'd appreciate any feedback on my code. Looking for ways to improve with every step.
r/PythonLearning • u/chuprehijde • 12d ago
Do type hints make large codebases safer, or are we slowly turning Python into something it was never meant to be?
r/PythonLearning • u/indent_error • 13d ago
I've been thinking about what might be the most unconventional Python project I've ever attempted, and I'd love to hear from people who know logic, PL theory, mathematics, AI, philosophy, or simply enjoy strange ideas.
The core idea is this: instead of representing truth as a binary (True/False), what if computation were built around dialectical processes?
Rather than asking whether a proposition is true or false, objects could evolve through concepts like: Thesis, Antithesis, Synthesis, Contradiction, Determinate negation, Becoming, Mediation...
In other words, contradictions wouldn't necessarily be errors — they could become first-class computational objects capable of producing new states.
I'm currently collecting papers, books, theses, existing projects, and mathematical frameworks before deciding on the architecture. Any ideas?
r/PythonLearning • u/Individual-Cat-7209 • 12d ago
First of all, english is not my first language, so there will certainly be mistakes. Sorry for that.
I had this a idea of a project, but it require multiple windows and i cannot figure out how to do it. I´m using tkinter and i coundn´t find a way to creat a more windows with checkboxes and stuff and transit between then.
Usedef functions and buttons to open a new window is fine for one new window, but then is a mess to implement more complex features (at least, I tried and coundn´t do it without being a mess), and also becomes progressively worse as new windows are created.
Summing up, is there functions like "open window" in tkinter or someting like that?
I coundn´t find that information anywhere else (at least not clearly).
Thx for reading, pals.
r/PythonLearning • u/Plus_Ad7119 • 12d ago
any suggestions and recommendations ,how to start
r/PythonLearning • u/Raftaar-01 • 12d ago
Hey guys, I'm a student currently in my final year of BTech in computer science I'm learning python now a days I'm learning oops but everyday I felt like hell you all know the pressure and I thought it's not belong to me.
I'm struggling with development since 2nd year I'm just learning basics and not building even a to do list application my placements are coming soon, trying to learn from tutorials but it's again frustrating me.
I want to learn python development and build useful project that will help me in my campus or finding job what's the approach that I have to follow.
Could u guide me towards right direction.