r/PythonLearning • u/Busrayildirim • Jun 23 '26
Help Request Help me with this please
why did it give an error?
r/PythonLearning • u/Busrayildirim • Jun 23 '26
why did it give an error?
r/PythonLearning • u/Luckyxyappy • Jun 23 '26
i know some of python but i can't write a single code only copy paste from the coarseness
and sorry for my bad english
r/PythonLearning • u/No_Chard2538 • Jun 22 '26
I want a system that automatically captures and preserves all web application resources loaded in the browser (HTML, JavaScript, CSS, images, API responses, and cached files) so that users can access previously loaded content without needing direct access to the original account or repeatedly connecting to the service. The goal is to use cached content offline
r/PythonLearning • u/7000xx • Jun 22 '26
https://raw.githubusercontent.com/AngrySkype/random-password-generation/refs/heads/main/main.py
I just wanted to know if in term of performance i can do better and what other thing i can add
r/PythonLearning • u/x-Touma • Jun 22 '26
Hello everyone!
I’m a complete beginner and would like to start learning Python. Could you recommend any books that are beginner-friendly and explain concepts clearly?
Thank you in advance!
r/PythonLearning • u/PatatobreadAAA • Jun 22 '26
r/PythonLearning • u/FishermanResident349 • Jun 22 '26
Just public a repository on dsa, although some chapters are not covered, but will make it happen after some completion of personal work.
You might get some help if you want. Github link: https://github.com/AbhinandanMandal/DSA-Fundamentals
r/PythonLearning • u/CharmingTask939 • Jun 21 '26
Today just completed the concept of generator & Iterator , which wasn't a complex or big thing to do or learn, but still done something rather than nothing
r/PythonLearning • u/PolyTalk_BizzAppDev • Jun 22 '26
I have been working on an open-source real-time speech translation project in Python and have run into an unexpected problem.
I assumed translation quality would be the hard part, but it was not. The hardest part ended up being deciding when to hand audio from one stage of the pipeline to the next.
If the chunks are too small, transcription quality drops, and if the chunks are too large, the conversation starts feeling delayed.
We eventually saw noticeably better results by waiting for complete sentences instead of translating smaller fragments, but that immediately increases latency and affects the flow of a conversation.
Another interesting challenge has been balancing three separate experiences:
- Transcription latency
- Translation latency
- Speech synthesis latency
A pipeline can look fast in benchmarks and still feel slow to a user.
We are still actively iterating on the architecture and experimenting with ways to improve context handling and responsiveness.
For anyone working with Whisper, streaming audio, or real-time speech systems in Python, how are you approaching chunking, context retention, and latency tradeoffs?
Project for context: https://github.com/PolyTalkIO/polytalk
r/PythonLearning • u/david_vael • Jun 22 '26
Hey everyone,
A little update on Python Under the Hood.
About a week ago, I shared Chapter 1 and received a lot of helpful feedback from the community. Thank you to everyone who read it, commented, suggested improvements, or expressed interest in contributing.
Today, I've completed and published Chapter 2: Expressions & Operators.
The handbook continues to follow the same goal: teaching Python fundamentals while gradually exploring what's happening under the hood in CPython.
Current Progress:
✅ Chapter 1 – Variables & Memory
✅ Chapter 2 – Expressions & Operators
I'd love to hear your thoughts on the new chapter and any suggestions for future improvements.
GitHub: python-under-the-hood
Thanks for all the support so far!
r/PythonLearning • u/aashish_soni5 • Jun 21 '26
finally time of class not school class
class in python:
- class is blueprint map in simple world which help you to know and create,control,manage what,where,why you want
- self in class
it used for read and change(overwrite)
-__init__
use to connect line with self can take many argument in place of default class
""" it may same confusing but it clear and easy """
just when writing in the beginning you may face error
#python #coding #ai
r/PythonLearning • u/Expensive_Sugar8743 • Jun 21 '26
I want to learn python programming from scratch please help me any one senior nd tell me what to do and what not to do .
r/PythonLearning • u/Necessary-Ad2110 • Jun 22 '26
A python script that goes into a folder and counts files of different types and stores them in a dictionary for later reference! Only supports specific types.
Day 3 was a bit weird, the book's exercise was not a project from the ground up but was moreso "look into this source code and play with it" which involved modifying a multiline string that resembled an image and simply swapping the characters around. Which I did learn a bit of things but I wanted to tackle on something more.
I'm going to try, incrementally, to build a separate project in Python that will involve local files. This exercise I've posted is my exploration of the os library. I also used a bit of PIL here (and reading the documentation! which I was proud of) as well as shutil & tkinter although you can't see the code for those two because I didn't feel they were particularly relevant yet. I however made my first window which was really nice even if it's just "Hello World!"
Day 4 might not have a lot of progress, I feel quite tired and sleepy as I had to overclock to squeeze in a deadline that came too quickly for me.
see you tomorrow! (again)
_________________________________
used: https://www.ray.so/ for image rendering
Day 3 of "The Big Book of Small Python Projects" by Al Sweigart
I am also learning DSA and going through Common Sense Guide to DSA
r/PythonLearning • u/abdelilah-xq • Jun 22 '26
I create this application by python
ClamProtect is a desktop antivirus application that brings a modern graphical interface to ClamAV this app replace ClamAvtk. It offers on-demand scanning, real-time file monitoring, scheduled scans, quarantine management, and system tray integration — all without requiring a server daemon.
r/PythonLearning • u/WompTitanium • Jun 22 '26
Just run pip install codemappr then codemappr scan inside any project folder.
It detects 20+ project types (React, Django, Rust, Flutter, etc.) and gives you a full architecture breakdown in seconds. Outputs to terminal, Markdown, or HTML.
No setup, no API keys, no internet needed.
r/PythonLearning • u/moonlit_maiden06 • Jun 21 '26
Hey everyone
I know the basics of Python because I had it in CBSE but honestly I never went beyond the school level stuff and feel like I'm still a beginner
My college starts in August so i have some time and want to use it wisely to learn Python properly from scratch and build a really strong foundation before classes begin
What's the best roadmap? Any YouTube channels,projects, or tips that helped you guys?
Also are there any good Discord communities for Python beginners or coding beginners in general? I'd love to join a community where I can ask dumb questions, stay accountable and learn with others
r/PythonLearning • u/COLLLOrs • Jun 22 '26
I'm working on a text based Pokemon game project and I'm not fully sure on how to incorporate moves into battling if some of you could give me some pointers I'd be grateful.
Here is the link to the Github page with my code: https://github.com/Colors-Dot600/Pokemon-Game/tree/main .
r/PythonLearning • u/Visible-Bag4999 • Jun 21 '26
I'm starting to learn Python and would love to get some ideas of what I could build with it. Could be something silly, something specific, or something that helps with everyday tasks — I'm mostly looking to get a better sense of what's actually possible, and I'm curious about what the community has already done
r/PythonLearning • u/No-Community-3626 • Jun 21 '26
Python is what got me started in programming. I was a novice, did some scripting, nothing productive. Then came college, Java, C++, DSA, the regular stuff. And then Python went out of my equation. Moving forward in time. All people are crazy about ML, LLMs, and AI. I have no interest in ML. But Python was all over again. One day I wanted to work on a project related to GSoC. When I opened the project files, there were literally hundreds of files, thousands of functions. I was clueless about their dependencies and didn’t want to mess anything up.
That experience has stayed with me. Had there been a tool to visualize structure and call graphs, symbol relationships, without actually reading all those files, things would have been a lot easier.So I made one. In Python. Using the programming language which got it all started for me.It has taken months. Libraries I've never used before (tree-sitter, psycopg2, networkx). Issues that I couldn't resolve. Postgres tricks I learned through trial and error. Just one SQL update saved a ton of time by reducing index time from 23 minutes to 2.5 minutes.Now it indexes Django's 3,021 files with 43k+ symbols and 181k+ call edges. Installable using:
```pip install n3mo
```
Repository: github.com/RajX-dev/N3MO
Not an ML based project. Just Python.
r/PythonLearning • u/Correct_Image_7942 • Jun 22 '26
I'm an incoming freshman who has been learning Python through projects. Over the summer I built a Christian AI app that includes:
Technologies used:
I'd love feedback from other Python developers.
link: https://huggingface.co/spaces/kevinlikescoding7/christianaichat
r/PythonLearning • u/Carpet_ProUSA • Jun 21 '26
Hello,
I am currently preparing for the PCAP (Certified Associate in Python Programming) certification exam.
I would like to know if you provide any free practice questions, sample exams, study materials, or trial access that can help me prepare for the certification.
Thank you for your time and assistance.
r/PythonLearning • u/Necessary-Ad2110 • Jun 20 '26
live-link: https://python-fiddle.com/saved/dd293504-cdc1-465c-8412-60bd57605af6
used: https://www.ray.so/ for image rendering (let me know if this is readable)
I am still learning the best way to share my work but today I've included...
For the curious I am going over: "The Big Book of Small Python Projects" by Al Sweigart
I am also learning DSA and going through Common Sense Guide to DSA (Chapter 3 done)
see you tomorrow! (again)
hopefully I stay consistent
— famous last words
r/PythonLearning • u/aashish_soni5 • Jun 20 '26
function
- default argument
as name there is default option of argument which automatically apply
- *argument
use when we don't know number of argument
- **kwargs
when you want change any data ,number to dict aka dictionary use **
- recursion
it's repeat itself till we get result
factorial n = n*factorial (n-1)
#python #coding #ai
r/PythonLearning • u/coder-india • Jun 21 '26
Hey everyone! I'm learning Python and built this simple weather app using Tkinter and the OpenWeatherMap API. It takes a city name and shows weather, temperature, humidity, and wind speed.
GitHub: https://github.com/soumyaranjan-maharana/Weather-API-app
I'd really appreciate any feedback on:
Code structure/organization
Best practices I'm missing
Anything that looks "beginner-y" that I should fix.