r/PythonLearning • • Mar 03 '26

I built an AI agent that optimizes and refactors Python code. Looking to help you clean up your scripts for free/cheap!

6 Upvotes

Hi everyone! ​I’m a 17-year-old developer and I’ve spent the last few months building an autonomous AI assistant focused on code optimization and source code automation. ​I know how frustrating it is to have a script that 'works' but is messy, slow, or unreadable. I’m looking to put my agent to the test and help the community. ​What I can do for you in minutes: ​Refactoring: Turn 'spaghetti code' into clean, PEP 8 compliant Python. ​Bug Fixing: Find logic errors that are driving you crazy. ​Documentation: Generate clear docstrings and comments for your entire project. ​Automation: Create small scripts to automate your daily boring tasks. ​I'm doing small tasks for free to build my portfolio, and for larger optimizations, I’m open to very small tips (PayPal/Crypto) to help me save for my first dev workstation. ​Drop a comment or DM me your code snippet! Let’s make your Python cleaner together.


r/PythonLearning • • Jul 09 '26

How to learn python as a complete begginer?.

6 Upvotes

i wanna learn python to understand how it works and what i could build with it when i reach a certain level. i have 6-9 hours of free time.


r/PythonLearning • • Mar 04 '26

Building my AI Portfolio: I will refactor, clean, and automate your Python scripts for free or voluntary contributions.

0 Upvotes

Hi again!

I’ve decided to focus my AI Agent specifically on helping you guys with complex logic and messy code.

​I’m not just giving advice anymore; I’m looking for real-world scripts to optimize. Whether it's a trading bot, a web scraper, or a task automator, I want to help you make it professional.

​What you get:

● ​Code Refactoring: I’ll transform your script into clean, efficient, and professional Python code.

● ​Logic Optimization: I’ll fix bugs and improve execution speed using my AI system.

● ​Documentation: A full explanation of how the new code works.

​Why am I doing this?

I’m 17 and saving up for my first high-end workstation. I need to fill my GitHub portfolio with proven solutions.

​How to participate:

Send me a DM or comment with a description of your script. If I pick your case, I’ll deliver the optimized version and ask for your permission to include it as a 'Case Study' in my portfolio (keeping your sensitive data private, of course). ​Small tips are appreciated but not mandatory. Let’s build something solid!


r/PythonLearning • • Mar 29 '26

Why error in my code everything is perfect!? ... I created a Contactbook mini project

Thumbnail
gallery
0 Upvotes

r/PythonLearning • • Jun 10 '26

Lol i hate this topic in python

Post image
27 Upvotes

I can't understand this loop, it's like a dum in season 2 of Rezero, he gets stuck in the sanctuary.😭😭😭


r/PythonLearning • • Oct 18 '25

Help Request Plss Help me !

Post image
9 Upvotes

I am a newbie so pls don't judge me ;) Tried brute force approach . But what's this error I can't get it ?


r/PythonLearning • • Aug 27 '25

Help

Post image
17 Upvotes

Where is the problem


r/PythonLearning • • Nov 04 '25

What do you think is wrong with this?

Thumbnail
gallery
17 Upvotes

even though the name and function is right what could be the mistake I did or it’s just a bug? Can someone help me with this?


r/PythonLearning • • Oct 03 '25

somebody help me😭😭

Post image
75 Upvotes

plz explain to me how this code works🙏🙏🙏🙏


r/PythonLearning • • Sep 23 '26

Help Request Please help me understand (ASAP)

Post image
15 Upvotes

Hello everyone! I’m currently doing my hw as I just started learning python and I need some help. I’m struggling to understand why my output for “Amount the stock sold for:” comes out as “1.9e+03”. its all I need to make this work so I would really appreciate if someone could point me to the right direction on whats going on here,
Thank you so much for taking the time to help out :)
(Update: Issues have been solved, thanks to everyone that helped (: )


r/PythonLearning • • Aug 17 '26

Help Request How to use vs code ? Can I learn python without vs code ?

28 Upvotes

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 • • Jun 22 '25

Discussion Is it ok to use ai to learn how to properly code?

13 Upvotes

Hello! I'm a bit new on coding and I've recently started to do a mini project in python... but I'm using ai to help and learn more about this langauge. Anyway, is it really advisable to use AI for learning or should I just research them?


r/PythonLearning • • May 26 '25

Aspose.words with python, how can i take a license of this shit

0 Upvotes
I'm creating a program where I replace variables of a shape of my model in word with python, but the only solution was with aspose, but it's expensive, can I get a free license?

r/PythonLearning • • Apr 26 '25

Suggest final year project (python)

0 Upvotes

r/PythonLearning • • May 17 '26

PCEP got terminated

0 Upvotes

My PCEP got terminated after my laptop switched off when the battery finished! It was unplugged while I'm focusing on my exam. When i resumed the camera went off because of permission and allow issue. So, the system decided I'm suspicious and terminate me.

The question is I sent them 4 times and on my exam history it says: Pending verification.

When will they respond?

Do I have a chance re-take the exam or shall i buy a new voucher?


r/PythonLearning • • Jun 12 '25

Python IF-Else-Elif with real Example | Conditional Statements for Beginners (20...

0 Upvotes

r/PythonLearning • • Sep 17 '26

Help Request Either CS50P is bugging or I am Stupid!! 😭😔

Thumbnail
gallery
0 Upvotes

I solved this MAKING FACES problem in CS50P from Problem set 0 and when I ran the check50 command in the terminal, it refuses to accept that my codes is correct???

When I manually run each required input I do get the preferred output.

So is CS50 Detecting my code wrong?
Or have I genuinely made a mistake in my code?


r/PythonLearning • • Aug 09 '25

Syntax Error Help?

Post image
0 Upvotes

Followed along on the first video on YouTube with Corey Schafer. I don’t know what I’m doing wrong. I added the code in Idle and I keep getting this. Sorry for ignorance, I have no scripting background at all


r/PythonLearning • • Jun 27 '25

Help Request How to Pratice Python?

0 Upvotes

Hey! I'm a freshie learning python from Code with Harry 100 days playlist. I want to practice problems ,gain problem solving skills, build logic and gain grip on this language. So from where can I practice problems as a beginner and go to advanced level? I've tried hackerrank but I feel the questions are hard in beginner pov. W3 schools is fine but Idk if its sufficient to get grip on python. I heard leetcode and codeforces are not right for beginners. Your suggestions will be really helpful! 🙏🏻


r/PythonLearning • • 19d ago

Help Request How do you deal with dependency updates?

0 Upvotes

So my project has multiple files that sometimes depend on another (I chose to split the functions by use cases into a few files rather than a single massive one). But when I update a function I increment the version number in the filename so I have the backup, I then have to update the filepath in the import declaration for everything that uses it. I've tried making a loader file so I only need to update one place but I can hardly make that work, let alone making it tell the other files what to use.

Since Python requires declaring dependencies before almost anything else is this just something I have to deal with? Or is there a way to pass filenames between file before declaration? Or is there a much better method?


r/PythonLearning • • Nov 02 '25

Finding best suggestion

0 Upvotes

Hey, suggest me the best playlist for DSA in python.


r/PythonLearning • • Jun 16 '25

AI Desktop Assistant

0 Upvotes

I want to make a personal assistant using ready-to-use AI APIs since I don't know how to do it or where to start, that's why I come to ask you for help, how can I start making an AI that is a desktop assistant that can learn to memorize and rewrite its code based on the user's needs?


r/PythonLearning • • Nov 06 '25

Discussion why arrays modules need to be imported

0 Upvotes

in python,unlike lists which are built in why arrays module has to imported to use them what were the thought process of the one who designed the language that way


r/PythonLearning • • Aug 07 '25

Which software to use for python?

Thumbnail reddit.com
0 Upvotes