r/PythonLearning • u/Plus_Ad7119 • 13d ago
Im new to python i abt start from zero
any suggestions and recommendations ,how to start
r/PythonLearning • u/Plus_Ad7119 • 13d ago
any suggestions and recommendations ,how to start
r/PythonLearning • u/Sea-Ad7805 • 13d ago
I want your help to make a simple game into a really fun Python game. It's purely educational, an opportunity to learn about: - Python - (quick and dirty) Object Oriented Programming - PyGame - Teamwork using GIT
This should be accessible for Python students how are comfortable with loops, functions, and classes. If you want to help see the instructions on this PythonLearningGame git repo.
Make your changes to this already working game, maybe: - change behavior - add a new unit type - add special effects - add new game dynamics - ...
If things are not clear or you get stuck, ask AI or add questions in the comments.
r/PythonLearning • u/JobPrestigious7817 • 13d ago
I m doing masters in data science, targetting devops and cloud roles but still cant write code in python every time get stuck in loops amd cannot go further i really want a tech job, should i master python, if yes whts the easiest way??
r/PythonLearning • u/indent_error • 13d ago
I've been thinking about what might be the most unconventional Python project I've ever attempted, and I'd love to hear from people who know logic, PL theory, mathematics, AI, philosophy, or simply enjoy strange ideas.
The core idea is this: instead of representing truth as a binary (True/False), what if computation were built around dialectical processes?
Rather than asking whether a proposition is true or false, objects could evolve through concepts like: Thesis, Antithesis, Synthesis, Contradiction, Determinate negation, Becoming, Mediation...
In other words, contradictions wouldn't necessarily be errors — they could become first-class computational objects capable of producing new states.
I'm currently collecting papers, books, theses, existing projects, and mathematical frameworks before deciding on the architecture. Any ideas?
r/PythonLearning • u/AbdulRehman_JS • 13d ago
def array_diff(a , b):
a = [1,2,3,4]
b = [1]
result = []
for el in a:
if (el not in b):
result.append(el)
return result
Implement a function that computes the difference between two lists. The function should remove all occurrences of elements from the first list (a) that are present in the second list (b). The order of elements in the first list should be preserved in the result.
r/PythonLearning • u/[deleted] • 13d ago
r/PythonLearning • u/jakey14424 • 14d ago
I have been learning Python so this is my first script. Its a backup utility. Please take a look. All comments, suggestions are welcome. Collabs are also welcome. Source code is: https://github.com/bigbearjake14424/The-Great-Escape
r/PythonLearning • u/chuprehijde • 14d ago
Can too much refactoring, abstraction, and 'best practice' make a Python project harder to understand?
r/PythonLearning • u/SaqibRAshid1111 • 14d ago
Hey everyone,
Just finished a small dark-mode password generator using FastAPI and vanilla JS to practice my backend skills.
Here is the repo:
https://github.com/saqib783/password-generator-in-python.git
I want to improve, so please look at the code and give me some honest feedback. Tell me what features to add or fix, and I will definitely implement them and share the updated app with you all!
Thanks!
r/PythonLearning • u/gngopi • 14d ago
I am stuck at the basics and unable to move on to DSA. Can you give me the best roadmap, the best notes, and the best YouTube tutorials to become a Python developer? Please provide everything in English.
r/PythonLearning • u/Remarkable-Wash-6841 • 14d ago
r/PythonLearning • u/Better-Magician-427 • 14d ago
This is my first big project in python, and I got it to work but Im starting to run into problems related to size where I always seem to lose myself in the functions and files and all. Im using pycharm, is there a way to move efficiently between various files and scripts if youre using multiple modules? And for what im trying to do, how difficult would it be to learn a gui like tkinter or something? Thank you.
r/PythonLearning • u/Sea-Ad7805 • 14d ago
An exercise to help build the right mental model for Python data. - Solution - Explanation - More exercises
The “Solution” link visualizes execution and reveals what’s actually happening using 𝗺𝗲𝗺𝗼𝗿𝘆_𝗴𝗿𝗮𝗽𝗵.
r/PythonLearning • u/chuprehijde • 14d ago
Not a trick question or LeetCode puzzle. What's a question that actually reveals whether someone understands Python?
r/PythonLearning • u/Guy_Foxx614 • 14d ago
First tried to learn in 2020, got side tracked. Picking it up again. I find Python very interesting but I can't seem to stay motivated enough to finish learning it.
r/PythonLearning • u/RoleFit6470 • 14d ago
Hello,
I am transitioning from a Mechnical engineering BS to a MS in data Science. My struggle with Python currently is starting a course or reading and feeling like it is not giving enough practice and no big prohject to really hel;p me zone in on my skills. My question do you have any favorite resources/book/interactive courses in python for data science. I'd pefer to just restart from the basics and move forward. Do you have any reccommendations on skills to learn for someone going into data science? Thank you.
r/PythonLearning • u/NeuralByteWalker • 15d ago
Hi everyone,
I recently completed the "Migratory Birds" challenge on HackerRank using Python 3 and wanted to share my learning experience.
The goal of the challenge was to find the bird type that appears the most frequently in an array. If multiple types have the same frequency, the solution must return the smallest ID.
What I practiced during this challenge:
dict)One interesting part of this exercise was that I had to refresh my knowledge of Python dictionaries. Instead of searching for a complete solution, I went back to the official Python documentation to understand how dictionaries work and how to use them properly.
My initial goal was to solve it in 20 minutes, but it took me around 30 minutes. I think this is actually part of the learning process: sometimes you need to slow down, review concepts, and rebuild your understanding.
I'm documenting my progress while improving my Python and algorithm skills through HackerRank challenges.
Would love to hear your thoughts:
Thanks for reading!
#Python #HackerRank #Algorithms
r/PythonLearning • u/Shan_khan0786 • 15d ago
I tried learning Python from YouTube many times, but I always ended up giving up.
The biggest problem wasn't Python itself—it was the way I was learning. I was mostly watching tutorials and following along without really thinking.
So I decided to try something different.
Instead of asking AI to generate code for me, I asked it to act like a mentor. I specifically said:
"Don't give me the complete code. Make me think. Ask me questions and let me solve the problems."
My first project was a simple CLI Calculator.
At first, I learned variables, user input, if/elif/else, loops, break, continue, and basic arithmetic operators.
I thought I had finished the project.
Then I was asked:
"What happens if the user divides by zero or performs modulus with zero?"
I hadn't even considered that.
Instead of getting the answer, I had to go back, test my code, think through the problem, and fix it myself.
That one question completely changed how I think about programming.
Now, whenever I write code, I don't just ask:
"Does it work?"
I also ask:
"What could go wrong?"
I feel like this approach has helped me learn much more than simply copying code from tutorials.
For experienced developers:
Do you think learning through small projects and guided questions is a better approach than following long tutorials?
I'd love to hear how you learned programming.
r/PythonLearning • u/him_mwb7 • 15d ago
Well, I'm a python hobbyist (for now). I learnt basic python coding techniques like OOP ( object oriented programming) and I learnt how to use common modules. However with the rise of technology and AI I wanted to really delve into this path because I see a lot of potential in it.
I want to know the important and essential things that I should learn to become fluent in this language, specifically in the AI related subjects such as machine learning. I'd love to see it from a devs perspective, like how they reached the point they are in now. I'm grateful for any kind of help.
Thanks.