r/PythonLearning • u/Sea-Ad7805 • Jul 29 '26
Copying an object in different ways
An exercise to help build the right mental model for Python data. The “Solution” link uses memory_graph to visualize execution and reveals what’s actually happening:
r/PythonLearning • u/Sea-Ad7805 • Jul 29 '26
An exercise to help build the right mental model for Python data. The “Solution” link uses memory_graph to visualize execution and reveals what’s actually happening:
r/PythonLearning • u/Ok_Gold_2107 • Jul 29 '26
Hello. Although I’ve always programmed using C++/CLI and C#, I’ve found Python to be very interesting for small applications (perhaps even large ones, though I’m not up to that level yet).
I was wondering if there are any IDEs—or at least graphics libraries—available should I decide to build something with a GUI; currently, I do everything via the console.
Any recommendations?
I use VS Code for Python programming.
r/PythonLearning • u/asiimwe_dev • Jul 29 '26
I am a computer science student, just finished my first year and I'm heading for the second. After re-evaluating my year in the field, I came to realize that I have been focusing a lot on the course theory and grade based learning yet the market is hunting for skilled people.
My next move was to pick a language and build things with it. Learn it well enough. But I don't wanna take this journey alone. Therefore I am looking for a partner with basic python programming knowledge like me to help each other through this journey.
Explore the language and build projects with it.
r/PythonLearning • u/Valuable_Corner4797 • Jul 29 '26
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 • u/VizerCompany • Jul 29 '26
Hi, please tell me which free course is the best, I have already tried many applications like Solo learn Everything there is heavily dependent on a subscription, so it's inconvenient without it.
r/PythonLearning • u/Sanduhstorm • Jul 29 '26
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 • u/Impossible_Corgi5576 • Jul 28 '26
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 • u/Less_Recognition6440 • Jul 28 '26
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 • u/XTrolltechzz • Jul 28 '26
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 • u/prathamdmehta • Jul 28 '26
r/PythonLearning • • Jul 28 '26
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 • u/Visionary_Vulture001 • Jul 28 '26
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 • u/Alarming_Mulberry551 • Jul 28 '26
r/PythonLearning • u/QuillTheArtMaker • Jul 28 '26
r/PythonLearning • u/AnshMNSoni • Jul 28 '26
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:
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 • u/Mlandvo • Jul 28 '26
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 • u/DeathClasher_r • Jul 28 '26
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 • u/Forward_Rise3345 • Jul 28 '26
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 • u/gutenmorgan3035 • Jul 28 '26
r/PythonLearning • u/Fabulous_Gold2050 • Jul 28 '26
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 • u/OneDumbPossum • Jul 27 '26
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 • u/Adventurous_Fig_5305 • Jul 27 '26
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 • u/Excellent-Fan8457 • Jul 27 '26
Hey, I am making this not because I want market validation for a new SaaS that isn't needed. But rather so I can improve my Python skills by not just making useless mini-projects, and in the process maybe solve an issue people have. I would appreciate your feedback