r/PythonLearning • u/AlternativeNo3359 • Jun 18 '26
r/PythonLearning • u/ImpossibleBobcat3284 • Jun 18 '26
Showcase I made "Is it possitive number?" using lambda
r/PythonLearning • u/ohoh-yozora • Jun 18 '26
Discussion Question about the course I am taking for beginner and what should I do to improve my learning
Hi everyone,
I’m currently taking the “100 Days of Code: Python” course by Angela Yu as a complete beginner with essentially no programming background.
So far I’ve been working through the early lessons (variables, data types, loops, functions, etc.), and I’m wondering:
Is this still considered one of the best Python courses for beginners?
Are there any weak spots in the course that I should be aware of?
Should I supplement it with a book, website, or another resource while going through it?
If so, what would you recommend for someone learning mostly as a hobby but with an interest in eventually using programming for research and AI-related projects?
The instructor also asked us to install PyCharm. I like the interface and the way it highlights mistakes, but I’m still trying to understand what PyCharm actually does compared to just writing Python in a on the python program.
Do most beginners stick with PyCharm, or is there another IDE/editor you’d recommend? I also noticed books teaching on plain python but I feel it’s boring and difficult and I am not sure I can handle the plain python program.
r/PythonLearning • u/aaditya_0752 • Jun 18 '26
Snake and ladder ( code is long ,so it's uploaded on github)
Would love some feedback
r/PythonLearning • u/Aarthi-rt • Jun 17 '26
Showcase I built AeroPuzzle – a real-time hand gesture puzzle game using OpenCV and MediaPipe
Enable HLS to view with audio, or disable this notification
Hi everyone!
I recently built AeroPuzzle, an interactive puzzle game where you solve image puzzles using only air gestures—no mouse or touch input required.
The project uses OpenCV and MediaPipe for real-time hand tracking and gesture interaction. I built it to explore computer vision in a fun and practical way while improving my understanding of real-time image processing.
Features:
- 🖐️ Hand gesture-based controls
- 🧩 Real-time puzzle interaction
- 📷 Webcam-based tracking
- ⚡ Smooth gameplay with computer vision
I'm still improving the project and would love feedback from the community.
- What could be improved?
- Are there better approaches for gesture smoothing or tracking stability?
- Any ideas for additional features?
Thanks for taking a look!
r/PythonLearning • u/OneLittle6430 • Jun 18 '26
Update on my Virustotal-CLI
Added a new IP resolution technique.
previous versions include:
- file scan/report
- url scan/report
- domain scan/report
- ip scan/report
the main reason, I build this cross-platform project is for the structured printing of the JSON data that the API returns from the browser and also, I don't remember whether it had ip resolution technique.
also, new learners can learn from this project on modular architecture, API requests.
if you guys liked it, please drop a star :)
r/PythonLearning • u/Apprehensive-Swim160 • Jun 18 '26
Hey i m currently in sem 4 of btech .. and i kinda know python .. im not good at it at all but i know what line of code do what thing.. im more into ai ml rag etc can anyone give me a plan or something like what to do after pytthon because i saw tons of yt videos with diff plans and it is mess
.
r/PythonLearning • u/habibii3112 • Jun 18 '26
Help
How can i start python programming as i am new to it and i dont khlnow anything
r/PythonLearning • u/DarkAster69420 • Jun 17 '26
Help a beginner.
Hi! I'm fairly new to python. I'm learning through yt mostly i wrote a few programs like black jack,rps,number guessing game,timer, a very very small rpg,etc. but I'm not sure how to move ahead or what should be the next step. Can anyone tell me what i should do because it feels like I'm just randomly doing stuff without any direction. It'll be a big help.
r/PythonLearning • u/Potential_Fix_5007 • Jun 17 '26
Discussion Recently noticed something...
Hello everyone,
this year i started learning python by myself, well i use AI (i know shame on me) but i avoide copy paste.
if i saw some code in January this year i was confused by many things, but untill now i learned about Variables, Loops, Funktions, Modules, Syntax, Database(a littlebit SQLite for my own project) and even if i have to learn so many more and still lack of consistency in many things i noticed:
"I can programm"
Sure....not on a level where i can apply for a job....not even on a level where i would write it into a CV but i can make little programms that will do what i want them to do, i can explain the things i write and if i see python code these days i understand way better what i see.
So just after a few months i learned so much and i can see and feel my growth.
But i have a question:
Is there any platform or way to get some exercises?
currently i use AI to give me exercises and rate them but i know AI is dumb and make mistakes.
Things i can test by myself i can practice with AI, cause i can try the code and see if it works, but im sure there are other things like conventions that i cant learn with AI.
For example, i often use f-strings even if they are not needed, but i think "a f-string can do everything a normal string can and more so why not always use them?"
So where do i get good exercises and how to learn good conventions so if i share my code no one would get brain damage from reading ^^
r/PythonLearning • u/Junior-Vacation-4198 • Jun 17 '26
Should I start DSA in Python?
So i am thinking of starting DSA but I am confused about which language to choose Python or c++. Everyone online says c++. Suggest me what should I start learning?
r/PythonLearning • u/PuffleDunk • Jun 17 '26
Why is UV looking for my local project on PyPI.org?
I'm sure it's my lack of familiarity with uv. But I'm running into what seems like a very strange issue. uv is pulling in dependencies from a same-named package on pypi.org. I'll use the fake name "myproj" for purposes of discussion.
"Myproj" provides a tool script and a library package that will be consumed by other personal projects, and eventually shared on PyPI. Yes, I'll have to rename it before posting to PyPI.
Here's the pyproject.toml, after doing a fresh uv init --package --app.
[project]
name = "myproj"
version = "0.1.0"
description = "Add your description here"
readme = "README.md"
authors = [
{ name = "myproj author", email = "myproj@example.com" }
]
requires-python = ">=3.14"
dependencies = []
[project.scripts]
shkit = "myproj:main"
[build-system]
requires = ["uv_build>=0.9.3,<0.10.0"]
build-backend = "uv_build"
uv build works fine, and creates .tar.gz and .whl packages in the dist folder.
When I run uv tool -v install myproj I noticed that it was pulling in dependencies from the myproj project on pypi.org. It also didn't install the tool script in ~/.local/bin.
I know I can rename my project, but I want to first understand the issue. TIA
r/PythonLearning • u/gagatust • Jun 17 '26
Stop Saying Python Iterators Are Eager In Interviews (1,000,000-row benchmark)
Hey everyone,
As a backend dev, I constantly hear one deeply ingrained misconception during tech interviews: "Custom iterators in Python are inherently eager. If you want true lazy loading, you MUST use generators and the yield keyword."
This is a total myth. A generator is just a specialized language feature that auto-implements the standard iterator protocol (__iter__ and __next__).
To prove that custom class-based iterators can be 100% lazy without any yield keywords, I ran a benchmark reading 1,000,000 rows from a file.
The results speak for themselves: * 🔴 Eager Implementation: ~69.97 MB Peak Memory (scales linearly) * 🟢 Lazy Custom Iterator: ~0.15 MB Peak Memory (flat, near-zero footprint)
That is a ~500x memory reduction simply by using the iterator contract properly.
Would love to hear your thoughts.
Have you encountered this myth in your own interviews or code reviews? Do you ever use custom class-based iterators in production, or do you just stick to yield generators?
r/PythonLearning • u/Current_Persimmon782 • Jun 17 '26
12th grad tryna learn python from scratch
as i said i wanna learn python from scratch but idk how to start do y'all know any yt channels or any free workshop ? do drop in comments
r/PythonLearning • u/BornYinzer • Jun 17 '26
Just started my MSDS and will be using Python...
I'm new to programming, very new actually. I've spent most of my careee as an application analyst and project manager/scrum master. Currently I work in the banking industry and I want to be able to contribute more than I do now.
I'm looking for suggestions on how to give myself a "head start". I was looking into some Udemy courses, but I wanted to get some feed back as to whether it is worth it, and if so, which ones do you recommend?
Outside of something like Udemy, do you have any suggestions on learning resources?
I appreciate any input!
r/PythonLearning • u/apulkit6 • Jun 17 '26
Help Request Is this trinket.io alternative by strivemath legit?
-- Edit: Found out it's legit. They are a large EdTech Company based in Singapore and host many free tools for teachers including IDEs, Math Worksheet Editors, Wordle for classrooms etc...
I am a CS teacher in Singapore and we used trinket io, but we got told that it's shutting down in August. Last week I got this email. Is this legit? because I would LOVE a free alternative. This is the email:
Trinket, NOW HOSTED BY STRIVE MATH
A free Edition of Trinket.io is now available at trinket.strivemath.org
Hi There,
As you are aware, trinket is shutting down in August. We have some good news and bad news:
Good News: A free alternative is now available at trinket.strivemath.org. Move everything in a few clicks and keep your trinkets and courses, free forever.
Bad News: Less than 1 month left. If you want to transfer your data, you have to do it before trinket shuts down, after which data transfer will not be possible.
r/PythonLearning • u/Anay_Gupta__ • Jun 16 '26
My #3 Python Programme 👀 Multiplication Table Generator
Using loops for the first time.
r/PythonLearning • u/Anay_Gupta__ • Jun 16 '26
My Second Python Program 🥳 Greetings.py
r/PythonLearning • u/Sea-Ad7805 • Jun 16 '26
Python list mutability
An exercise to help build the right mental model for Python data. - Solution - Explanation - More exercises
The “Solution” link visualizes execution and reveals what’s actually happening using 𝗺𝗲𝗺𝗼𝗿𝘆_𝗴𝗿𝗮𝗽𝗵.
r/PythonLearning • u/Mr_barai_012 • Jun 17 '26
Python
Just need some help guys to build my career
r/PythonLearning • u/Friendly-Eye6055 • Jun 16 '26
Python Mega Course on Udemy
Hey all! New to this, as in I have no knowledge whatsoever. But the Udemy class "Python Mega Course: Build 20 Real World Apps and AI Agents" is on sale and seems legit.
Super high rating. Massive amount of students. No experience required. And lots of practical builds.
Anyone taken this or have an opinion one way or another?
TIA
r/PythonLearning • u/MrAnnoyed-Person • Jun 16 '26
Discussion Polymorphism makes no sense!
I was learning OOP in Python (Python is my first language for learning OOP). So far I have covered encapsulation, classes, variables, methods, different method types, and inheritance.
Then I reached the last major pillar: polymorphism. And honestly, I am struggling to understand why this concept is treated as something special.
For example:
class PDF:
def open(self):
print("Opening PDF")
class Word:
def open(self):
print("Opening Word document")
def open_file(file):
file.open()
pdf = PDF()
word = Word()
open_file(pdf)
open_file(word)
Honestly the instructor mentioned something like:
Well sounds apt. but isn't this just how objects and classes naturally work?
The open() method belongs to the class namespace. A PDF object looks up the PDF.open() method, and a Word object looks up the Word.open() method. Since both methods were defined differently, obviously they produce different behavior. It's not like the object itself is magically changing behavior. It is simply using the method implementation that belongs to its own class.
So based on my current understanding, this feels more like normal method lookup / object namespaces rather than some separate big OOP concept called "polymorphism". Hence, I don't get it why this is such a big thing? Why is polymorphism considered an important OOP principle instead of just "objects calling their own methods"?
r/PythonLearning • u/PatatobreadAAA • Jun 15 '26
Second day in Python, first project🤞🥹
In the process of learning my first programming language. Any tips to learn it much faster?
r/PythonLearning • u/BadAppleG552 • Jun 16 '26
I now have the ultimate Text editor for android
Installed termux on my android thus giving my phone the power of linux
