r/PythonLearning
•
u/NecessaryFalse1212
•
Aug 31 '26
DAY 5.
DID LIST TODAY THE CONCEPT WAS PRETTY COOL AND WROTE THIS PROGRAM TO GET HOLD OF THE LIST ANY OTHER CODE IDEAS OR SUGGETIONS TO ENHANCE CODE ?!
r/PythonLearning
•
u/NecessaryFalse1212
•
Aug 31 '26
DID LIST TODAY THE CONCEPT WAS PRETTY COOL AND WROTE THIS PROGRAM TO GET HOLD OF THE LIST ANY OTHER CODE IDEAS OR SUGGETIONS TO ENHANCE CODE ?!
r/PythonLearning • u/Sea-Ad7805 • Aug 31 '26
An exercise to help build the right mental model for Python data.
It's instructive to compare with this related exercise.
The βSolutionβ link uses memory_graph to visualize execution and reveals whatβs actually happening.
r/PythonLearning • u/giva4561 • Aug 31 '26
What are the best courses for programming artificial intelligence in Python?
r/PythonLearning • u/Productuve • Aug 31 '26
I've been learning python for a while and my problem was never tutorials, it was that nothing forced me to finish. I'd get a project 60% done, hit the boring part, and quietly start a new one that felt fresh.
So: reply with the one thing you're actually going to finish this week. Be specific - "finish the CSV parser so it handles missing columns" beats "work on my project."
Then on Friday, come back to this thread and reply to your own comment with proof. A screenshot of it running, a repo link, a terminal output, whatever. Doesn't have to be impressive. It has to be real.
That's the whole thing. No group to join, no discord. The only mechanic is that you said it in public and someone might check.
I'll go first: I'm finishing the file-organizer script I've had half-done for two weeks - the part that handles duplicate filenames instead of crashing. Proof friday.
What's yours?
r/PythonLearning • u/shubham_555 • Aug 31 '26
Last Post- https://www.reddit.com/r/PythonLearning/s/dZhrMNIx9T
Github Repo Link - https://github.com/Dev-4-All/password-generator.git
r/PythonLearning • u/zubalyzub • Aug 31 '26
OK I admit it did obviously for some stuff like basics yk functions and shi, but other then that I like feel annoyed that I learned python and its like lowkey not helping with what I wanna do which is windows api and memory management c++ stuff because I like the kind of thing but python just didn't really give me anything, and I know that kinda stuff obviously doesn't transfer because python is just the easiest thing ever lol
r/PythonLearning • u/NOTMOHIT46 • Aug 30 '26
Snake,Water and Gun game in Python made purely by me and same by ai.
r/PythonLearning • u/Weary_Gur7008 • Aug 30 '26
How can I get my first internship?
I tried applying of linkedin , internshala , etc but nothing happended. Any tips for that.
(I know python language did a project on that too)
r/PythonLearning • u/Tophat_Octopus • Aug 30 '26
Im currently working on a college assignment where i make a batting average calculator, and i want to add a way for it to say something funny if the user tries to input a word instead of a number. is there a way to do this?
r/PythonLearning • u/python_data_helper • Aug 30 '26
I have used context to stop crashing.
And e as a variable.
I used eval command for a formula.
I know eval command can be dangerous.
It works perfectly but I am thinking that it can produce error or crash.
Can a formula bypass all commands and crash it.
r/PythonLearning • u/NecessaryFalse1212 • Aug 30 '26
wrote this today was revising loops and math function that i did not so long ago.
r/PythonLearning • u/Commercial_Cell_9821 • Aug 30 '26
I'm giving a 30-minute presentation about Python to a room of 40-50 year olds with zero coding background. The goal isn't to teach syntax, it's to give them a vision of what Python can actually do for them (think: automating boring Excel/repetitive tasks) and get them a little excited about it.
Structure so far:
Intro to programming languages (quick comparison, evolution over time...)
Python basics, but conceptual, not code (functions, classes, loops, libraries, reading a script, terminal)
Python & AI (uses in AI/data, coding with AI tools, prompt engineering)
Installing Python (quick walkthrough)
Useful resources/links
Open slot for something creative/fun to close on
I want real, human ideas here analogies, interactive moments, jokes that land with a non-technical crowd, stories from your own experience presenting to beginners, I'd rather get lived-in advice from people who've actually done this than a pile of AI-generated suggestions....
Thanks in advance!
r/PythonLearning • u/Ayrton110 • Aug 30 '26
Hi guys, I trust ya'll are good. I recently completed a counting loops exercise that had been difficult to answer for nearly two weeks. I checked different parts of the code I wrote in multiple instances, but I guess I just didn't get it. I eventually asked in my search bar (knowing that I would more than likely get AI mode on it) why the loop is only executing once (I pasted my code it). AI mode explains it, and shows me the correct code. I'm really annoyed on two fronts; I had to refer to AI code to eventually get it right, and the answer looks so friggin simple. I am not a complete beginner in coding (closer to an experienced beginner), and having to vibe-code, even if somewhat unintentionally, is frustrating. I know the answer to the problem now, and there isn't a way to unlearn it.
Is there any practical way to resolve this other than "just don't do it again"?
Thank you for taking the time to read my post. I appreciate whatever advice or input you have.
r/PythonLearning • u/jmaroo • Aug 30 '26
I have started a Discord server for Python training and memorabilia.
If you are new to learning Python This server is for you.
If you know Python and want to teach others, this is the Atli server.
I am a newbie. I want us all to gather here and use each other's experiences.
Discord server link:
r/PythonLearning • u/To-real • Aug 30 '26
r/PythonLearning • u/fxeinnn • Aug 30 '26
Which one has more features, fast, and provides latest updates of python programming language.
For python run - jupyter lab directly use from anaconda through web browser.
For python run - jupyter lab extension and all from Microsoft through vs code editor.
r/PythonLearning • u/s13188287 • Aug 30 '26
I'm dealing with a large batch processing problem and looking for advice on the right architecture.
I have around 1.3 million files stored across folders on a network drive.
Current setup (not working well)
Right now I'm using a Copilot agent where:
I upload batches (~20 files at a time)
It reads them against a reference document
Outputs an Excel file with classification codes
The issue is:
Copilot has a small upload limit
Manual batching is completely unscalable at this volume
What I want to achieve
I want a fully automated pipeline that:
Ingests files automatically from the network drive
Extracts text/content from each file type
Matches content against a reference rules document
Assigns a classification/reference code
Outputs structured results (Excel / database)
r/PythonLearning • u/ProgramBrave718 • Aug 30 '26
r/PythonLearning • u/Valuable-Ant3465 • Aug 30 '26
Hi,
I tried to call existing Powershell script from python with classic way and failed, found the `process` wrapper in PS1 makes this problem, all code is inside process {....} :
# my.PS1
param([string]$folder="aaa")
process { # <====== this wrapper prevent call !!!!!!
# my logic hereS
Write-Output "......... running powershell endS $TargetFolder"
}And I call it from python using
# ... myPython.py
....
import subprocess
result = subprocess.run(
["powershell.exe", "-NoProfile", "-ExecutionPolicy", "Bypass",
"-File", ps_script, "-Folder", Folder],
capture_output=True, text=True
)Anybody noticed that problem, is it possible to make it work, I don't want to mess with ps1 changes. maybe I missed some option in subprocess call ?
Also there is not any output available, total silence
if result.stdout:
print(result.stdout) ## nothing.
if result.stderr:
print("PS STDERR:", result.stderr) ## nothingr/PythonLearning • u/WeeklyShoulder66 • Aug 29 '26
I use Linux Linux has a pretty big issue with python which takes some working around. I'm trying to make a python project, so I make a venv and activate it. Pip wasn't working and I learnt that it's because Python was aliased to the global directory, so whenever I run pip I have to pass in the absoulute path to the venv. This is fine, and pip says that my package is installed. Then, I go to import it in one of my files and it's saying that there's no module for the package. I try to reinstall, but pip swears up and down that it's there. Not only that, but the module is in the site packages directory. So the issue is that the file can't find where to import it from. So I instead have the import statement have the absolute path to it. However, one of the directories is named "python3.14"(which messes up the syntax) and another is named "site-packages" (which is also invalid syntax). There is also the option to use imp, but I would have to download that with pip. What should I do?
r/PythonLearning • u/NecessaryFalse1212 • Aug 29 '26
i wrote a code which takes your name and age in py but i need help on this one cuz in the age part it is giving me some sort of error which i couldn't understand even by using gpt well he gave me a code but i wanted logic behind how and what i did wrong
r/PythonLearning • u/SoilEducational420 • Aug 29 '26
Best genuinely free hosting for a 3-service microservice architecture? Render is giving me cold-start + rate-limit issues
Hey everyone,
I'm building a small portfolio project with this architecture:
Frontend
β
Gateway
βββ Interview Service
βββ RAG ServiceAll 3 backend services are Python/FastAPI and deployed separately.
I'm currently using Render's free tier, but I'm running into a few issues:
Free services spin down after inactivity β pretty bad cold starts.
I've also been seeing stuck on the issue 429 Too Many Requests responses at the Gateway endpoint. I'm not completely sure whether this is coming from Render's edge/platform or something in my own application.
The free instances also feel quite resource-constrained for the RAG service.
I'm looking for something that is:
$0 for a small/low-traffic portfolio project
Supports multiple separate services
Python/FastAPI friendly
Reasonable CPU/RAM
Ideally no credit card required
I'm mainly looking for something that won't make me spend more time debugging the hosting platform than actually building the project π
Thanks!
r/PythonLearning • u/whiskywithlsd • Aug 29 '26
Trust me I'm loving the journey. It is so fun to code and solve the problems, I literally think for the whole day, what else unique batman type shi I could do π .I wanna listen to your experiences when you started learning Python...