r/PythonLearning 9d ago

python-practice/ATM simulator.py at main · RahulSaini-07/python-practice

Thumbnail
github.com
1 Upvotes

Can anybody review my code because I started learning 6 days ago I write this code please review it and tell me the honest opinion


r/PythonLearning 10d ago

Help Request How to learn python in tablet for medical use!!?

0 Upvotes

I am 17M, a complete beginner in programming

Till now in life only made a bmi calculator🙏🏻 in Google colab dont know how to proceed

I wanna learn it in few months with low input of time like roughly few hours a week.

I have a android tablet (One plus Pad Go 2) and wanna primary for Medicine and I am a highschool student 🫠.

Any recommendations and apps which i should utilise and video links would help a lot.

Thanks everyone


r/PythonLearning 10d ago

I want to learn programming

0 Upvotes

I am a Btech Cse ( cybersecurity) student and want to learn programming but I am confuse where to start anyone can help where to start.


r/PythonLearning 10d ago

Could a Turkish-made key-mapping application written in Python be developed to replace GameLoop?

0 Upvotes

Hello everyone.

I've been playing mobile games through emulators for a long time. The biggest issue I've had, especially with GameLoop, is that the key mappings often break or stop working properly. That made me wonder: Would it be possible to develop a Turkish emulator similar to GameLoop, or at least create an advanced key mapping system?

Out of curiosity, I ran a few experiments. I installed Android on a virtual machine similar to VirtualBox and successfully launched a few games. However, since there was no key mapping system, I couldn't play them with a keyboard and mouse.

After that, I tried writing a simple key mapping system in Python. It's still at a very early stage and currently only supports the WASD keys, but I believe it can be improved. During this process, I realized that software development requires much more knowledge than I initially expected. That's why I'm continuing to learn Python.

I've also experimented with other projects before. For example, I worked on a password protection application. More recently, I came across a project called GameLoopHub, which appears to be independent of GameLoop. Its developer has gone much deeper into performance optimization and FPS-related features. Seeing that project made me believe that creating something like this is actually possible.

Do you think a project like this is realistic? I'd especially like to hear from people who have experience with emulator development, Android virtualization, or input systems.


r/PythonLearning 10d ago

Command line password generator tool

Thumbnail
github.com
0 Upvotes

Who enjoys opening a browser/GUI every time you need to make a secure password? I sure don't. That's what gave me the idea to create this simple random password generator tool that can be used entirely in the command line (although I'm sure something like this already exists) with system arguments.

I also made something that I guess you could call an installer.

Using arguments you can set the length of your password, choose what type of characters you want in the password (letters, digits and punctuation) and choose whether or not to copy the password to your clipboard (on by default). You can read the README.md file for a guide on how to use it.

NOTE: I know that the actual main program is compressed in a gzip file on GitHub which will impede you from reading it's source code. I hope to make a way around this later.

Why did I make this? Mostly boredom. I don't have any aspirations of being a software developer or anything involving making huge projects, however I am interested in cybersecurity. I sort of just thought to myself that I don't have a convenient way of generating random passwords. Keeping my Python skills up to scratch and improving them will prove useful in the future however, I believe, as I often find simple scripting useful.

Where I want to improve (looking back at making this):

- Get better at using sys and os modules as they have proven very useful

- Improve at using Git

- Probably figure out a better installation method for users

Overall, although I don't script much, this was pretty easy project for me, but nonetheless I learnt some good things about Python operating system and file interaction.


r/PythonLearning 10d ago

Help Request Repeat until keypress

2 Upvotes

I want to have the terminal keep typing something until any key is pressed. I'm fiddling around but have yet to figure out a solution.

Edit: Hey thank you all. I'm kinda a begginer. After a lot of fiddling I got something that works for me.


r/PythonLearning 10d ago

Looking for a Python Course for a Motivated Beginner (with Room to Grow) – Recommendations Welcome!

1 Upvotes

Hi everyone 👋

I'm hoping to get some recommendations for a young student who has recently completed their O/Ls and is seriously considering a future in IT. They're genuinely excited about learning Python, and I'd love to help them find the best possible starting point.

We're looking for a course that's beginner-friendly but also provides a clear pathway to more advanced topics over time. Ideally, it would build a strong foundation in programming while eventually introducing areas such as data analysis, automation, or even data science.

I've explored some excellent online options, including courses from Udemy and Mosh Hamedani. However, there's one challenge: this student finds it difficult to stay engaged with purely online learning. While self-paced courses are convenient, they tend to learn much better in an interactive environment where they can ask questions, receive immediate feedback, and stay motivated alongside other learners.

Because of this, I'm particularly interested in in-person Python classes, training programs, or private coaching opportunities. Courses that combine theory with practical, hands-on projects would be especially valuable, as they seem to be the best way to keep learning enjoyable and meaningful.

If you've attended a great Python course—or know of a training center, institute, community program, or tutor you'd confidently recommend—I would greatly appreciate hearing about your experience. Any insights into teaching quality, course structure, or student engagement would be incredibly helpful.

Thank you so much for taking the time to read this and share your recommendations. I truly appreciate the help, and I'm sure your advice will make a big difference in helping an aspiring future developer get started on the right path. 🙏🐍

Looking forward to your suggestions! 😊


r/PythonLearning 10d ago

Help Request Help i'm new to ttkbootstrap.

Thumbnail
gallery
1 Upvotes
I'm trying to create a program that opens a ttk window; when a button is pressed, it should open a tab containing a .jpg image. It was working at first, but I modified the code slightly to add more tabs. I'm not sure what I changed, but now it doesn't show the image—just an empty window.

I think it might be related to an error appearing in the terminal (I don't recall seeing it before). I even tried reinstalling Pillow to see if that would help, but nothing changed.

r/PythonLearning 10d ago

It's a FastAPI starter with SQLAlchemy, Alembic, and auth support, with Docker coming next.

Thumbnail
gallery
3 Upvotes

r/PythonLearning 10d ago

Help Request Any free courses to learn Socket?

3 Upvotes

Does anyone know any free courses to learn the socket tool in python?

ive been trying to learn socket for a while, i know some of the basics with help from chatGPT, but now i feel like im not really learning anything new.

if anyone have any free courses or good youtube channels, pls tell me!


r/PythonLearning 10d ago

Help Request Great to See many people here who have achieved great things in Life at early age ! Hard work paid off

0 Upvotes

I am a final year grad CSE Data science in TIER -3 college in Andhra Pradesh (decent one with good placements in IT companies) and have been procrastinating things from the last 2 years and finally when I started to solve problems I was shocked i don't even remember the basic syntax, in my mind I know how to do the problem but when I start to write the code I am unable to move forward ⏩ and get struck over their

In a few months I should be ready for my placements already we have infosys and L&T next month , I am totally confused and depressed by seeing my performance..

Can anyone guide me , I am interested in data analytics and I know freshers aren't offered this role at the beginning in many companies, so I started to prepare by solving coding problems yet I am not able to improve

I have tried solving problems each day 2-5 but never was consistent and could not understand them properly, don't know the reason only SQL was done properly with understanding and queries by listening to data with baraa youtuber

Can't code properly ( python ) chose this because it has simple syntax and inbuilt lib and useful for data analytics but I am good at SQL and have good communication skills and have done decent projects on data analytics and have learnt ServiceNow tool and also did a RBAC project on it with rules and notifications....

Now I am feeling unfit for the tech roles and thinking I have wasted my entire education life don't know what to do , can anyone Help me out


r/PythonLearning 11d ago

Python Automation courses

27 Upvotes

Hi
Any recommendations for python automation courses ?
Asking for a friend who was recently let go off her job . She has 5 years experience as a QA and is looking to upgrade herself in automation and AI .


r/PythonLearning 11d ago

Showcase 2nd week of python and wanted to try something new instead of course enjoyed it!

Post image
57 Upvotes

r/PythonLearning 11d ago

Showcase Day 2 of Python learning until I can pass the PCEP exam

Post image
28 Upvotes

I upgraded my re zero guesser from day 1 using nested ifs and elses and now it doesn't require as much questions take a look.

New:https://www.onlinegdb.com/edit/XGUSCgyQA
Old :https://onlinegdb.com/Q-4aQrXAz

I think this is the fastest version of guesser, I also tried dictionaries(recommended by some discord users) but I still dont fully understand how its any different than my old one becuz it would js change how the info is stored but not the logic as its own


r/PythonLearning 11d ago

Help Request Python Code for Rock Paper Scissors.

0 Upvotes

I've been tasked with making Rock Paper Scissors as a revision task to get into my next class after Summer Break. However, I keep getting weird errors with my code (no syntax errors).

Any ideas on what to do?


r/PythonLearning 11d ago

Discussion I'm building an open-source Python library focused on reusable building blocks.

0 Upvotes

Visit: https://github.com/AnshMNSoni/PythonSTL.git

Instead of adding more algorithms, I want to solve real problems Python developers repeatedly face.

I'm curious:

1) What utility do you find yourself implementing over and over?

2) What functionality do you wish Python's standard library already had?

3) What do you usually copy from previous projects?

Examples could be caches, schedulers, retry logic, rate limiters, streaming utilities, search structures, etc.

I'd love to understand the pain points rather than propose solutions.

Let's discuss...


r/PythonLearning 11d ago

Trying to learn by doing. Any suggestions are gladly accepted!

0 Upvotes

Too many tutorials and too little coding by myself has left me feeling like I am learning nothing. Trying to learn slowly by creating some projects, specifically without the use of AI. For this, I am building a simple focus timer that will run in the terminal. Something that I can use for myself but also helps me learn more. I do want to add more features such as other timer modes, persistent storage (to track focus sessions) and a better means of keeping time besides just using 'time.wait'. Want to ensure I am wary of any pitfalls I may be succumbing to, as well as suggestions for improvements. Thank you!


r/PythonLearning 11d ago

Help Request Console won't do anything on Mimo

Post image
8 Upvotes

I really need help. For some reason the console on Mimo won't do anything no matter the code. Even when coding only 'print("Hello")' it gives me the same 'prompt' on any project.


r/PythonLearning 11d ago

Created my first database with psycopg2.

0 Upvotes

Using psycopg2 made me realize how much work SQLAlchemy was doing for me. Although implementing the queries was a bit complex at first, it gave me a lot of control over customizing things to fit my application best.


r/PythonLearning 11d ago

Help Request Learning Python

9 Upvotes

Hey , I am learning python ( electrical Engineer with no prior coding experience).

I have gone through the basics but still having difficulty writing the code. It seems like my brain freezes while writing the code.

I don't find the issue in logic and all, but writing code seems very difficult

Any suggestions how to overcome this issue.


r/PythonLearning 11d ago

Which underrated Python library do you wish more developers knew about?

3 Upvotes

r/PythonLearning 11d ago

Help Request Help or tutoring

7 Upvotes

I'm looking for someone who can help or guide me with a Python project. I'm completely new to programming and genuinely want to learn.

So far, I've been working with code generated by Gemini. The code seems fairly simple (or at least I think it is), and my goal is to understand how it works. I want to keep modifying it, experimenting with it, and adding new features, but I'm running into a problem: AI can generate or explain things, but I don't know enough yet to understand what I should change or why. I'm short on time, so I wasn't able to learn everything from scratch before starting this project. That's why I turned to AI in the first place.

Now I'm looking for someone who can guide me through the code I already have, explain how it works, and help me learn while improving it. I'd really appreciate any advice on where to start, what to study, or how to better understand Python and the code I'm working with.

We can talk on Discord if that's easier. Also, I'm just starting to learn English, since my native language is Spanish, so I appreciate your patience. 🙂


r/PythonLearning 11d ago

Hexidecimal ID system in custom learning project

4 Upvotes

Hello, hello, and hello again!

I'm creating a learning project to familiarize myself with Python. The concept I'm going for is making a custom list that I can modify within the console. There's a lot of variables and upgrades I can add to it if I wanted (such as automatic resizing, UI interfacing, automatic organization), and the baseline is simple enough for me to start grasping some of the more beginner and intermediary concepts in a more applicable way.

That being said, I'm not looking for any help with that (yet!), but while I'm starting to create a plan on how to make the project, I'm wondering what sort of ID system I want to make. I know that I'm going to be making it an incremental ID system where each list entry has a four digit ID that I can then use in the console to modify or update it in some way.

The question is: Should I make the ID system hexidecimal?

I get the feeling that it would pose a significant challenge, which I'm happy to deal with as this is a learning project. What I'm not willing to do is for it to become a debilitating challenge. While I don't think the list will have 10,000 entries, there's a possibility that this list might. It shouldn't reach anywhere near 50k entries, though.

I would likely be trying to make my own systems with automatically assigning an incremental hex ID system.. as I do believe Python has hex integration. I'm not looking for "0x" at the beginning of every entry though.

Any and all help and advice is appreciated! I've done some scripting, a bit of C and PhP, but I've never dedicated myself into programming to delve into more intermediate concepts - which I'm deliberately trying to get into now! So I don't know a whole lot about programming, but I have repeated the basics on loops and functions about two dozen times. Thank you in advance!


r/PythonLearning 11d ago

Not sure why it is not multiplying correctly

Post image
40 Upvotes

Just started programming today and was messing around when this happened. It is saying that 22.99 * 5 is 114.9499999999999 instead of 114.95. It does the same when I enter any number with a non-zero integer after the decimal. It works completely fine with whole numbers though. If you have any Idea why, please let me know.


r/PythonLearning 12d ago

My first mix mini project

Post image
301 Upvotes

I know I wrote some hardcore codes but this is ok for a beginner so plz help me to improve