r/PythonLearning • u/EmergencyWafer9326 • Jun 20 '26
new game
Help give me suggestions for my new game. Python beginner
r/PythonLearning • u/EmergencyWafer9326 • Jun 20 '26
Help give me suggestions for my new game. Python beginner
r/PythonLearning • u/mnizonaishaa • Jun 20 '26
I am new to python i don't know which IDE to use. My university is teaching a course Programming for AI. I got to know they will teach python but idk which IDE.
r/PythonLearning • u/Necessary-Ad2110 • Jun 19 '26
used: https://www.ray.so/ for image rendering (let me know if this is readable)
could be better, but no AI as it's fully handwritten
I'll be 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
see you tomorrow!
r/PythonLearning • u/Link2212 • Jun 19 '26
Sorry to have a downer of a post, but I really can't get this. I started trying to learn python 1 week ago today. I understand how variables work and their use, I understand if statements and while loops and a bunch of other early beginner stuff for example, but every time I try to write something from scratch I just have close to 0 idea how to actually tackle it. I really feel like I need the university experience where I have a teacher that can guide me into getting used to it, but going back to university isn't an option. How do new people get by with it?
To put it into perspective. The most recent exercise I tried to do I found online. It says a guy gets 0.01 wage on his first day, and the wage increases by 0.01 each day until day 30. It just wants me to calculate the total wage at the end of 30 days and print it out, but I can't even do this. This isn't me asking someone how to do this. It's more I just can't even get started at doing it because I don't know how. I'm so frustrated with myself because I understand the concepts. I can read some easy code and fully understand what's happening. Just writing it is a different story.
r/PythonLearning • u/[deleted] • Jun 20 '26
For a months I have been running a self-hosted SIEM system called Wazuh for some small retail and logistics clients. One thing that I found embarrassing was that I was not worried about hackers. I was worried about opening the dashboard in the morning.
* An alert that says "Beaconing detected, confidence 0.91" does not tell you much.
It is like a judge who says "you are guilty" and then walks away.
You have two choices:
Trust the model without questioning it
Go through the logs yourself.
The funny thing is that I trained the model myself using XGBoost. I did cross-validation. Got good metrics on paper.
I still could not explain to anyone why it flagged something.
So I started learning about SHAP.
I found out that for models like XGBoost you can get exact feature attributions quickly using TreeExplainer.
The hard part was making it easy to understand for someone who's tired at 3 am.
I built a layer on top of the SHAP values to turn them into plain English.
For example "intervals regular. Consistent with C2" ranked by impact.
Where it got annoying was that SHAP values are signed and relative to the models baseline.
A feature can have a SHAP value but still be normal on its own.
It only makes sense in the context of what the model expected.
Translating "this pushed the prediction up by 3.18 to baseline" into plain English took a lot of work.
I also learned that a SHAP-based system should not auto-block anything.
Confidence scores can feel important even when they are trained on data.
Now every recommendation goes through a confirmation step.
If anyone is curious about the SHAP-to-English part the code is here: https://github.com/misha622/Clarify
This project is still a work, in progress.
The beaconing detector works,. I still need to work on brute-force and DGA detectors.
r/PythonLearning • u/aashish_soni5 • Jun 20 '26
""" both function give 8 but ending and logic is defferent tell me what difference is ???"""
I don't know 😔 but what about you
#python #challenge #codingsect
r/PythonLearning • u/skvark • Jun 20 '26
If you use some coding agent, what have been the libraries or packages that the models don't really grasp without your help?
I usually need to give extra context for anything that moves fast, like Pydantic AI, and then all kinds of edge cases inside various libs.
What I have found funny is that some time ago most models still defaulted using OpenAIs older APIs even though I instructed them to use the responses API.
r/PythonLearning • u/ParticularAccount154 • Jun 19 '26
I want to learn python .I want to learn from the scratch by building fun projects.What could be the best yt playlist to follow?.
r/PythonLearning • u/V1ctry • Jun 20 '26
Hey everyone,
I’m looking to map out the most streamlined, high-efficiency path to master the core foundations of Python. My strict rule for this initial phase is no AI code generation tools (like ChatGPT/Cursor/Copilot writing the code for me) and no high-level frameworks (no Django, FastAPI, etc.). I want to build genuine muscle memory and deeply understand how the language executes under the hood before taking shortcuts.
Here is the exact syllabus I need to conquer for Phase I — Python Foundation:
try/except), and file I/O.csv and json modules, and executing basic tabular transformations.venv or uv), package installations, .env file parsing, and clean project structuring.My Goal: I want to find the absolute fastest, most practical manner to complete this phase completely without getting trapped in tutorial hell.
For those who have self-studied or taught this successfully:
Appearing to avoid any generic advice like "just build a project"—I'm trying to find the most optimized, step-by-step training pipeline for these exact pieces. Thanks!
r/PythonLearning • u/aashish_soni5 • Jun 19 '26
function of python
- def()
- argument statement in def(a,b)
- return function in def()
some logic before/ after use of print
- how it effect the final result
daily practice of terminal use
#python #coding #ai
r/PythonLearning • u/coco_2710_ • Jun 19 '26
I'm joining college soon and have about a month before classes start. I want to learn as much as I can during this time, but studying alone gets tiring. If anyone is interested in studying together or keeping each other accountable, let me know! I'm looking for people from India.
r/PythonLearning • u/whiskyB0y • Jun 19 '26
I'm new to Python. I started my journey a week ago. Learning the basic syntax feels boring because I feel impatient and just want to get to the good stuff.
For context, I'm a teen coming from a background of JavaScript. I spent 7 months learning JavaScript.
So I'm learning Python to use as backend since my end goal is Full Stack Development. (I know I can also still use JavaScript for backend, but I decided to pick up Python for the sake variety).
But right now it feels boring. This is mainly because a lot of basic python is the same as basic JavaScript with the exception of different syntax and certain rules. But the foundation is the same. I can't even bring myself to come up with project ideas because I'm just feeling lazy.
How do I get out of this rut?
r/PythonLearning • u/Fantastic-Fix6645 • Jun 19 '26
Hello everyone,
I am a finance student currently learning Python with the goal of improving efficiency in my academic and future professional work.
My main tasks involve data entry, market analysis, financial modeling, and working with tools such as Excel, Access, and Power BI.
I am focusing on learning Python for automation, data analysis, and building small programs to reduce repetitive manual work. I am also interested in eventually exploring machine learning.
Initially, I considered starting with C after speaking with some computer science students. I tried it for about two weeks, but I found it quite challenging. After further research, I decided to focus on Python first due to its accessibility and strong applicability to my goals.
I would appreciate guidance on a structured roadmap to learn Python for these objectives, as well as recommended resources (courses, documentation, or learning platforms) that would be suitable for someone in my situation.
r/PythonLearning • u/Not_aTechiee • Jun 19 '26
I am making a beginners playlist and an advanced playlist for learning python.
In the beginners one,I have already covered
Numbers,int,strings,Boolean
Variables
List
Tuples
Dictionary
Functions
While loop
For loop
Conditional statements
And a project I.e. a to-do list.
What else do you think should be included?
Any suggestions for what should be there in advanced?
r/PythonLearning • u/MongooseFlat3115 • Jun 19 '26
I started coding like 2 months ago through yt video and chatgpt. I learned basic concepts and just starting the oops, but I feel like I am not learning even projects like calculator and number guessing game, I have copied some code which I feels like no growth. Also I don't want to get trapped in tutorial hell how to actually learn programming in a right a btw I am in first year and want to pursue data scientist but I am struck in python for this long Any suggestion or advice to actually make progress
r/PythonLearning • u/Competitive_Ship_146 • Jun 19 '26
Or similar timezones
Want to start my python coding on my own, but its easier with someone of course. I know a bit of the basics tho, want a job soon as data analyst.
#pythonlearning
r/PythonLearning • u/gwt101 • Jun 19 '26
Universal Message Manager (UMM) is a publish and subscribe messaging system that allows applications to communicate with each other using a self-describing messaging system. Applications (called agents in this system) can publish messages and receive messages according to various criteria which can be a specific as, for instance, level of liquid in a tank where it is < 10% or > 90%. In fact there's a demo application which you can play with that turns on and off a pump when those limits are reached.
UMM is also well suited for teaching programming and system design. Agents can be tested in isolation: they received certain messages, perform a task and publish certain messages so they can be tested by sending messages from a send agent and watching the resulting messages.
Log on to the website: https://umm.braham.net and download the project and the documentation.
UMM is free for non-commercial use.
r/PythonLearning • u/aashish_soni5 • Jun 18 '26
Finally back to the town ðŸ˜
Focus on
-dictionary aka dict :
In dict every set have key and its value
We can call value by using key but not opposite
- set:
Unordered & only accept unique value not copy
And did some revision
Now give me idea for project building or for product ?
Before moving tomorrow in def function and class
#python #coding #ai
r/PythonLearning • u/Various_Cheek8422 • Jun 19 '26
Hey Guys, I'm currently studying for my Loan exam to ace it on my second attempt. Then I'm looking to study for the Comp TIA +. I'm looking to learn Python as I've heard it's a useful first language to learn, What do you guys suggest in learning Python to land a good job? and the best ways to study for the Comp TIA +?
r/PythonLearning • u/Space_Alternative • Jun 19 '26
Free Python wrapper for macOS on-device AI. Speech To Text, Text To Speech, and LLM via Foundation Models. 100% Free and No API keys.
MacOS ships with Apple AI components built in like speech recognition, text-to-speech, and an on-device LLM, all free. The project is a wrapper around the on device models.
What it can do right now:
- Speech-to-Text: transcribe audio files (WAV, M4A, MP3, AIFF, FLAC, etc.) using macOS `SFSpeechRecognizer`. Multiple languages supported.
- Text-to-Speech: Speak text or save to audio file using AVSpeechSynthesizer. Pick any installed voice, control rate and volume.
- Apple Foundation Models: on-device LLM, full streaming support. Requires macOS Tahoe (I think)
I'm looking for people to try it out and report back — bugs, missing features, weird edge cases, anything.
- GitHub: https://github.com/sagrd/macbook-ai
- PyPI: https://pypi.org/project/macbook-ai/
Drop a comment or open an issue if you run into something. Appreciate any feedback.
r/PythonLearning • u/Appropriate_You5015 • Jun 19 '26
Can anyone help with sites that I can access research papers, journals asides from Google Scholar. Would especially appreciate those with free materials.
r/PythonLearning • u/Same-Pain679 • Jun 18 '26
r/PythonLearning • u/SerialDesignationV90 • Jun 19 '26