r/learnpython • u/dit0sc00p • Aug 31 '26
i want to learn how to make a finger tracker
someone know where can i learn this with cero python experience?
r/learnpython • u/dit0sc00p • Aug 31 '26
someone know where can i learn this with cero python experience?
r/learnpython • u/Liquid_Energy • Aug 31 '26
Hey everyone! im looking for a smaller, active developer community, it could be discord, a forum, or a small group, or anything that prioritizes depth over breadth. I wanna learn with a human feedback aside from the usual llms
im actually a beginner, although not a complete beginner. I have a handful of projects, and some very intermediate ones too! I'm still in the watching tutorials abt python phase and is still am completing the course of Asabeneh / 30-Days-Of-Python. From that, I want a place where I can get real human code reviews, discuss software architecture, and get honest critique on anti-patterns or mistakes.
If you're part of a tight-knit group that focuses on code craft and mentorship, I’d love to have a recommendation. Sank you so much besto friendo!
r/learnpython • u/yetanotherdud • Aug 31 '26
my goal is to create an army manager for the tabletop game mythras, where each soldier has their own hp, attack value, etc, that i can use to add detail to the large scale battles. i want to be able to direct commands to it (eg, 'damage 3 soldiers') and have it randomly determine which soldier is attacked, how much damage it does, and whether it kills them (as well as how it heals up, following the standard healing rules). I don't have a lot at the moment at all, just a dictionary that contains a nested dictionary for each soldier's hp and attack value, randomly determined:
from random import randint
Soldier1 = {
"HP" : randint(1,10),
"ATK" : randint(1,10),
}
Soldier2 = {
"HP" : randint(1,10),
"ATK" : randint(1,10),
}
Soldier3 = {
"HP" : randint(1,10),
"ATK" : randint(1,10),
}
myArmy = {
"Soldier 1" : Soldier1,
"Soldier 2" : Soldier2,
"Soldier 3" : Soldier3
}
print(myArmy)
from random import randint
Soldier1 = {
"HP" : randint(1,10),
"ATK" : randint(1,10),
}
Soldier2 = {
"HP" : randint(1,10),
"ATK" : randint(1,10),
}
Soldier3 = {
"HP" : randint(1,10),
"ATK" : randint(1,10),
}
myArmy = {
"Soldier 1" : Soldier1,
"Soldier 2" : Soldier2,
"Soldier 3" : Soldier3
}
print(myArmy)now, that works fine for the three soldiers listed there, but i don't need 3 soldiers, i need 300. how can i input a number and have it create that many soldiers on the fly?
and, further to that, are dictionaries the best choice for this? i know the technical difference between dictionaries and classes, but i don't have any real-world context to either to know which is best for what i need.
r/learnpython • u/SoilEducational420 • Aug 31 '26
Hey everyone, I'm building an AI voice interview app and I'm fairly new to RAG. I'm stuck on the architecture and having a bit of a mid-project crisis 😭.
My current flow is:
Before interview:
Step1 :
Resume + JobDescription
↓
Chunk resume/JobDescription
↓
Generate embeddings
↓
Store chunks + embeddings in pgvector
Step2 :
LLM call is done using complete Resume + JD (and not the chunks)
↓
Initial ranked topic plan is created by this LLM call
Step3 :
Before each question:
Current topic
↓
RAG query in our vector DB
↓
Retrieve relevant resume/JD chunks
↓
LLM call to generate a question from these chunksThe part I'm confused about:
At the beginning, I'm already sending the complete resume + complete JD to the LLM.
Why can't I simply do:
Resume + JD
↓
ONE LLM CALL
↓
10 interview questionsand then use those during the interview this would reduce the latency too!
Why would I need RAG again to retrieve chunks before generating each question? But I'm struggling to understand how RAG can be used to add value to the project
I have to add this project to my reume and need to have confidence in my design, I would highly appreciate someone helping me figure out the architecture!
r/learnpython • u/BadTime100 • Aug 31 '26
Hello Pythonists,
I’m joining a team soon that owns a handful of backend Python applications. Most of my professional life has been spent in the JVM world with Java and Spring Boot (not a huge fan of Spring, but it’s kind of the air that’s breathed in that world). I’ve invested a lot of time in exploring some “advanced” (it’s all relative!) subjects like Domain-Driven Design, Event Sourcing, reactive design and Hexagonal/Ports and Adapters architecture. I’m a bit obsessed with testing (TDD guy), and really love introducing mutation and property-based testing to people.
Python, compared to Java, seems to show up in lots more contexts, and for that reason I feel I’m having a bit of trouble finding learning material. There looks to be lots of excellent stuff for beginners, or other areas like data science, but I’m looking for more on “production grade” or “enterprise” (🤮) stuff. I did just order Fluent Python, which looks to cover a handful of things that are more interesting to me: concurrency, Protocols, first-class functions and the like.
Based on what I’ve shared, what might people suggest for further reading? Along with that, any words of advice for what biases I might look out for? I really do enjoy Java (Stockholm syndrome), but I want try to be aware of traps I might set for myself when doing similar work with Python.
Thanks very much!
Update: Architecture Patterns with Python by Harry Percival and Bob Gregory looks to be exactly the book for me. It covers various "enterprise-y" subjects like TDD, DDD, and Hexagonal Architecture—things I'm eager to find translations for from the JVM world. It's also available online for free from the authors!
r/learnpython • u/AutoModerator • Aug 31 '26
Welcome to another /r/learnPython weekly "Ask Anything* Monday" thread
Here you can ask all the questions that you wanted to ask but didn't feel like making a new thread.
* It's primarily intended for simple questions but as long as it's about python it's allowed.
If you have any suggestions or questions about this thread use the message the moderators button in the sidebar.
Rules:
That's it.
r/learnpython • u/Appropriate-Toe-6981 • Aug 30 '26
Hi all, I'm a high school student working on a small project of mine. It's a study app I wrote in Python, using some meta-learning concepts my dad taught me when I was younger. I used his initial ideas as inspiration to develop this further, and I hope to have the application out soon. I thought it would be a good idea to get some feedback from others beforehand, though. Any feedback on quality of life, ease of use, and general impressions would be greatly appreciated. I'm attaching a link to a GitHub repository that redirects users to a directory with the latest updates to the app. I would really appreciate any feedback on it. Thanks!!
Link to the repo - https://github.com/TKSMG/MemoryPal
r/learnpython • u/ZSJJ • Aug 30 '26
As the title asks, what differences (if any) do you get from an AI output vs human input. I would imagine that with most high effort AI models now they write purely pythonic code if a prompt is well written.
If you also use python in your job, how often do you use AI to write or plan your code and applications as a whole?
r/learnpython • u/Nervous_Message7545 • Aug 30 '26
Hey everyone!
I'm a Python developer/student and I've been working on a small project called Find Everything 2.0.0.
It's a Windows desktop tool for quickly searching through files. I built it mainly as a learning project, but I tried to make it actually useful and polished rather than just another basic Python project.
Main things it currently has:
.exe buildTech: Python, Windows, GitHub Actions
GitHub: https://github.com/EELDERONN/find-everything.git
I'd really appreciate it if someone could take a look at the repository and give me some honest feedback.
I'm especially interested in:
Feel free to be critical — I'm here to learn and improve the project.
Thanks to anyone who takes the time to check it out!
----------------------------------------
Я изучаю Python и сейчас работаю над небольшим проектом Find Everything 2.0.0.
Это Windows-приложение для быстрого поиска файлов и поиска информации внутри них. Изначально я делал его как учебный проект, но постепенно решил довести его до более полноценного и реально полезного приложения.
Что сейчас есть:
.exe для Windows;Стек: Python, Windows, GitHub Actions.
GitHub: https://github.com/EELDERONN/find-everything.git
Буду очень благодарен, если кто-нибудь посмотрит репозиторий и даст честный фидбек.
Особенно интересует:
Можно критиковать — я как раз хочу понять, что можно улучшить.
Спасибо всем, кто посмотрит!
r/learnpython • u/ThingFuture9079 • Aug 30 '26
I just got my CCNA a while ago since I'm trying to get into networking and since I know scripting will be important, I wanted to learn Python but was wondering if anyone had any recommendations for free courses that would be good for someone trying to get into networking. I saw Cisco Networking Academy has Python Essentials 1 for free and was wondering what your thoughts are of that course or if there's something better on YouTube. I also started reading the book Mastering Python Networking Fourth Edition by Eric Chou.
r/learnpython • u/Master_Limic • Aug 30 '26
Hi,
I am currently trying to learn the relevant Python parts as a chemistry student. I think I know the basic parts (varibals/lists etc.) and I am searching for some practice problems where I can try some calculations, functions and plots with mathplotlib. Do you guys have a set of task where I can train/learn with?
Thank you very much for your help!
Limic
r/learnpython • u/InsideBox10 • Aug 30 '26
Hey Everyone,
I'm an electronics student but I wanted to start learning python through videos but the problem is that there are a plethora of videos available on YouTube and I cannot decide which one to choose.
If possible can anyone drop some suggestions on which channel to learn from...it would be really helpful
Thanks.
r/learnpython • u/Primary-Pay2119 • Aug 30 '26
How can I automate Phyton so that when I open my laptop it execute commands on my Linux terminal?
I severely need to know how
r/learnpython • u/zeewooly • Aug 30 '26
Hi there!
College student here and completely brand new to using Python. I am in a level 1 Python class and I don't think I have it installed correctly on my PC. We have to use Visual Studia with it and when I did a test page, and test page 2, I go to search it in Command Prompt and it says it doesn't exist. Could the path be wrong or is it something else? TIA and if you need any screen shots let me know.
r/learnpython • u/Screaming_Candle • Aug 30 '26
I'm not even throwing out code that doesn't work here because I've been dredging from sample and trying every conceivable (evidently not) permutation of the items.
All I am trying to do is to import a class from one file into another. What's the secret here? I keep getting variations on "ImportError: cannot import name 'theFormView' from 'formView'"
This is so fundamental that I'm having trouble getting a single clear answer. Can someone please help me to clear this up?
Thanks.
r/learnpython • u/Ok-Acanthisitta-5940 • Aug 30 '26
is highschool maths enough?or i could simultaneously learn maths behind while reading book?
r/learnpython • u/WinterFoundation334 • Aug 30 '26
well hey i am from india and i was looking for any indian mate with whom i can learn coding am 18 y/o guy there
r/learnpython • u/Electronic_Code4483 • Aug 30 '26
I started taking a python for cybersec course but now that I am on the first part of the course, I am having issues proceeding because we are being taught how to use scapy and my program is not recognizing it.
We were given a GitHub link that is supposed to give us access to everything in the course but I still have no idea where to start.
Seems I can’t upload images so please dm if u want details
r/learnpython • 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/learnpython • u/blockCoder2021 • Aug 30 '26
I want to create a grid system with the following criteria:
Should be 2D. Basically, sending list[y][x] should give the lowest level.
The lowest level should be a class object, able to be unique, but would be the same at creation.
For context, I’m making a terminal emulator in Pygame with Curses functionality. My current plan is to have a grid system as a backend where the grids track character changes (including their formatting, hence the class object). It would then get read and rendered in a Pygame window.
If someone can help me with this, has a better idea, or if something similar has already been done, that would be great.
r/learnpython • 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/learnpython • u/Holiya_Olib • Aug 30 '26
Ive been trying to use pip to install packages for my projects, but I keep getting errors, im not sure if I need to set up anything specific first
r/learnpython • u/Ill-Independence4417 • Aug 29 '26
Hi all, I have maybe a hard question and definitely specific to a personal circumstance, but any perspective would be helpful.
I am a first year PhD student studying immunology, my advisor has signed me up for a stats course in the Biomedical Engineering department. Unfortunately, this class requires proficiency in R, python, or matlab, which neither my advisor nor myself new about. As my title mentions, I have zero coding experience, but recognize how important of a skill it is to have. Would it be possible to teach myself enough about python while taking the stats class concurrently? or is learning the language too tall of a task? I will definitely be reasonably busy with labwork and other commitments but can most likely allocate around an hour a day to learn, sometimes more.
Any feedback or perspective would be helpful, as I still have time to withdraw and choose a different stats course for this semester.
Thank you!
r/learnpython • u/Rockbottomalive • Aug 29 '26
Hi everyone,
I’m 31 years old and I’m restarting my programming journey seriously.
I have a BTech in Computer Science, but to be honest, I haven’t built a strong professional career in software so far. I have studied programming before, but I never developed the consistency or practical experience needed to become really good at it.
I’ve now decided to change that.
My long-term goal is not to get a traditional software job or prepare for coding interviews. I want to become good enough to earn through freelancing. Eventually, I’d like to work on larger applications and higher-value projects, and perhaps move toward remote work after I’ve gained several years of experience.
What I’m doing right now
I’ve started learning Python and SQL together.
My current target is to finish the fundamentals of both by September 30, 2026. I’m learning relatively slowly because I don’t want to rush through the basics just to say that I’ve completed them.
After Python and SQL, my plan is to move toward practical development — building projects, learning the technologies required to actually deliver things for clients, and eventually starting with small freelance work.
I also want to learn AI/software development over the longer term, so I’d like my skills to eventually move in that direction as well.
Where I am currently
I’ve already studied some programming in the past, but I’m treating this almost like a fresh start because I want to make sure my fundamentals are actually solid.
Right now I’m working through Python fundamentals and SQL, practicing rather than just watching tutorials.
I’m also starting to use GitHub and want to gradually build a portfolio of projects instead of collecting courses.
What I’m unsure about
I have a roadmap that I’m following, but because I’m relatively new to the industry, I don’t know whether I’m prioritizing the right things.
I don’t want to spend the next 2–3 years learning technologies that sound impressive but aren’t actually useful for freelancing.
So I’d really appreciate advice from people who are already working as developers or freelancers.
If you were starting again today with my background and my goal of eventually making a living through freelancing:
I’m not looking for someone to give me a complete roadmap from zero. I mainly want real-world perspective from people who have actually worked in the industry or freelanced, so I can compare that with the roadmap I’m currently following.
Thanks in advance to anyone willing to share their experience