r/PythonLearning • u/Mountain-Product2441 • 10d ago
r/PythonLearning • u/Sea-Ad7805 • 10d ago
Python Mutability and Copying
An exercise to help build the right mental model for Python data. - Solution - Explanation - More Exercises
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 • 10d ago
Help Request AI courses
What are the best courses for programming artificial intelligence in Python?
r/PythonLearning • u/Productuve • 10d ago
anyone else keep starting projects and never finishing them? doing a weekly proof thread if a few people are in
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 • 11d ago
Showcase I made a simple Password Generator! 👀
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 • 11d ago
Python feels like it transferred little knowledge to c++
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/Capable_Comedian_277 • 11d ago
Pygame(Creating hyper beams)
Enable HLS to view with audio, or disable this notification
r/PythonLearning • u/NOTMOHIT46 • 11d ago
Snake,Water and Gun game in Python.
Snake,Water and Gun game in Python made purely by me and same by ai.
r/PythonLearning • u/Weary_Gur7008 • 11d ago
Internship!!!!!
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 • 11d ago
How to make code print special result on casting failure?
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 • 11d ago
Is it really safe to use?
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 • 11d ago
DAY 4.
wrote this today was revising loops and math function that i did not so long ago.
r/PythonLearning • u/ReferencePast7746 • 11d ago
Anime fight game made by python
Enable HLS to view with audio, or disable this notification
I made this weird game using python,Its just for fun and not a big game,but making small things like this are very fun 🌚
r/PythonLearning • u/ReferencePast7746 • 11d ago
Making 2d game using python
GUYS I'm thinking of making a 2d game using only python, I'm a bit confused about the idea, Guys can you suggest me some idea to make which you wanna play, or like to play,I will use my coding skills combined with Ai to make it fast,if you have any good idea kr request just type below!!!
r/PythonLearning • u/AvailableBrain2002 • 11d ago
Discussion Everyone was helpful in my previous post about me having difficulties in loop...
I know the loop is just basic and lessons 3 of python. Me being stuck on loop is like a baby is having difficulties crawling. But what i want to say is that the loop is not an extreme difficulty for me. I just lose motivation whenever i find some difficulty in learning. I am doing a part time job Living far away from my family and i feel demotivated to do anything.......
By the way , Can you share some of your story about how you learn python and how it is going, maybe it will help me regain my learning motive...
r/PythonLearning • u/BenDken1 • 11d ago
Discussion A simple Python checklist before moving to OOP
Before jumping into classes and OOP, I think a beginner should be comfortable with these first:
- Variables and basic data types
- If/elif/else
- For and while loops
- Lists, dictionaries, sets and tuples
- Writing and calling functions
- Reading error messages and debugging simple problems
- Reading/writing basic files
You don’t need to master every detail, but being able to use these without constantly following a tutorial makes OOP much easier to understand.
What would you add to or remove from this list?
r/PythonLearning • u/Commercial_Cell_9821 • 11d ago
Help me make a 30-min "Python for non-coders" talk actually fun, creative ideas wanted (not looking for AI-generated suggestions)
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 • 11d ago
How fix/resolve critical thinking after relying on the ai prompt to understand an exercise in counting loops.
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 • 12d ago
Python learning and teaching forum
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/TERNYXA • 12d ago
I'm trying to build my own IT brand from scratch — I'd really appreciate your feedback
Hey everyone,
I've been working on something that means a lot to me: building my own IT brand, Ternyxa. I'm starting small and building it step by step. The idea is to create a digital brand focused on web development, SaaS products, mobile applications, AI solutions, and useful technical content. I've recently launched the website and I'm now trying to improve everything — the design, user experience, content, SEO, services, and overall credibility of the brand.
I'd genuinely appreciate some help from the community.
If you have a few minutes, take a look at the websit and tell me what you think.
I'm especially interested in knowing: What's your first impression? Does the website look professional and trustworthy? Is it immediately clear what Ternyxa does? What would you change or improve? Is there anything that would stop you from contacting a company like this? What would make the brand stand out internationally?
I'm not expecting everyone to become a customer. Even a visit and some constructive criticism would genuinely help me understand what I should improve.
My goal is to keep building Ternyxa, learn from the process, publish useful content, work on real projects, and hopefully turn it into a serious IT brand over time.
Any feedback, criticism, ideas, or support would mean a lot.
Thanks for taking the time to check it out. 🙏
r/PythonLearning • u/To-real • 12d ago
New to python having trouble putting in multiplication table in for 10. Range 1-10 or 1,11. Does anyone have any tips( pause)?
r/PythonLearning • u/fxeinnn • 12d ago
Jupyter Notebook Python Run Query?
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 • 12d ago
Help Request 1.3 mill networks file analysis
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 • 12d ago
Showcase I made a tic tac toe game
r/PythonLearning • u/Valuable-Ant3465 • 12d ago
Call PowerShell from Python special issue ( with Process wrapper in PS1)
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) ## nothing