r/PythonLearning 1h ago

Blue Seeker Unit added to PythonLearningGame

Enable HLS to view with audio, or disable this notification

Upvotes

A new blue seeker unit type was added to PythonLearningGame, a game we develop collaboratively as PythonLearning community members.

It was added by this short git commit.

  • Who wants to add his/her own unit type with some special behavior?
  • Who has other fun ideas about game elements we could add?

previous PythonLearningGame post


r/PythonLearning 3h ago

Help Request i need advices

0 Upvotes

hi , i'm biggenr learn python , 80% of basics i learn it , actully i learn basics by MOOC Corse , now i'm looking for AI appliction i Want it Free like Gemini , Gemini now is useless for me i'dont know why and i'm asking for something i need avices about my learn methode i use AI as teacher , But as I learn to understand coding, I feel discouraged by what some people say—claims that programming relies entirely on AI, and things like that


r/PythonLearning 5h ago

Looking for hands-on Python projects to refresh my skills

1 Upvotes

Hi everyone,

I'm looking for a Python practice platform/course for intermediate to advanced learners.

I have previous Python experience and have already worked on several Python projects, but I haven't used it intensively for around 3 years. I don't want to go through beginner material (syntax, basic exercises, "build a calculator" type of stuff).

What I'm looking for:

  • practical, project-based learning
  • realistic problems/tasks similar to real development work
  • a structured platform or course (not just documentation or random tutorials)
  • something that helps me refresh Python coding skills by actually building things

Bonus points if it includes modern topics like FastAPI, APIs, AI/LLM integration, automation, or data engineering-related projects.

Do you know any good platforms or courses that fit this level?

Thanks!


r/PythonLearning 6h ago

Discussion Is learning python worth it for me?

2 Upvotes

For some background on me, I am currently a loan review consulting manager and my day is spent reviewing commercial portfolios at banks for weaknesses and how they can improve.

I have always been a big fan of process improvements and work a lot with VBA to automate a lot of what I do. Ive noticed some of my larger projects I want to take on seem to be too much for VBA. And python seems to be more ideal to get the job done.

I find coding interesting and want to learn more about python. But I’m nervous that it won’t be very applicable to what I do full time. I still have future aspirations of creating a loan review software as a side hobby (I know it would take years) but I don’t want to prioritize learning python if it’s not very beneficial for my job. I don’t really have much free time with a toddler and infant.

Would anyone know how I could leverage it to justify the time I will spend?


r/PythonLearning 6h ago

What's your favorite Python interview question?

0 Upvotes

Not a trick question or LeetCode puzzle. What's a question that actually reveals whether someone understands Python?


r/PythonLearning 7h ago

Help Request hello!

0 Upvotes

I am a mechanical engineering student who doesnot even know how to write a line of code in any languages. I tried watching some videos on youtube but all that felt way boring. I need to learn coding in python nonetheless for a project. Could you suggest ways to ignite interest in the subject and make its study intuitive and enjoyable , maybe some book or other resources . Thanks


r/PythonLearning 7h ago

Showcase Rate my CS50P’s final project: Windrose - Airflow Ventilation Advisor

Post image
6 Upvotes

Program Description:

Windrose is a program for which its function is to provide the user with advice on which windows to open to achieve optimum airflow ventilation. The program receives the user's location and cardinal orientation as inputs from the user and uses that with information received from Open-Meteo's wind information to provide the user with advice on which windows to use to achieve the most optimum ventilation. 

Repo: https://github.com/OmarFishir/Windrose

Video Demo: https://youtu.be/OluDKioaCnY

This is my first programming course. I loved the CS50 format and how useful the problem sets have been. However, even after finishing this course, I feel like I've been training in a swimming pool then dropped into an ocean.

I want to do CS50x, CS50 AI, CS50 web, and CS50 Cybersecurity.

My goal? I don't really know. I just want to learn and be able to be competent in all of those fields until I find one to gravitate towards most. I think CS50x should be first?


r/PythonLearning 8h ago

Is learning python through videos is a good way?

0 Upvotes

in the old age the best way to learn something is to be with coach that walk with you step by step, in the new age that coach call AI and also free.

Make a gem on gemini, or gpt on chatgpt, or any specific chat for learning python and you will see fast progress.

My think, maybe I am wrong!


r/PythonLearning 9h ago

What programming term sounded much more complicated than it actually was when you first heard it?

0 Upvotes

When I started learning Python, I discovered that sometimes the vocabulary intimidated me more than the code itself.

My first language is Spanish, so learning programming also meant becoming familiar with English words, abbreviations and combinations that may seem completely obvious to experienced programmers but were not obvious to me as a beginner.

For example, concatenation sounded like an advanced operation. Then I learned that, in a simple case, it can mean joining strings together:

first_name = "Guido"

last_name = "van Rossum"

 

full_name = first_name + " " + last_name

print(full_name)

Another small discovery happened when I learned len(). At first, it was simply a Python function whose name I had to memorize. When I realized that len was short for length, the name suddenly explained exactly what the function did:

word = "Python"

print(len(word))

The same thing happened with elif. I initially saw it as another strange Python keyword. Later, I learned that it comes from else if, and its purpose immediately made more sense:

age = 15

 

if age >= 18:

print("Adult")

elif age >= 13:

print("Teenager")

else:

print("Child")

Other names are more direct once you know their English meaning. Functions such as min() and max() already give you a clue about what they return. enumerate() also became easier to remember when I connected it with the idea of numbering items while going through them:

names = ["Ana", "Luis", "Carlos"]

 

for number, name in enumerate(names, start=1):

print(number, name)

Indentation was another term that sounded more complicated than it was. It refers to the space at the beginning of a line, similar to indentation in ordinary writing. The important difference is that, in Python, it is not only decorative: it defines which lines belong to a block of code.

I am not saying that every programming concept is easy or that these short explanations cover everything. I am still learning myself. My point is that an unfamiliar word can sometimes create a bigger mental barrier than the basic idea behind it.

Now, whenever I encounter a new term, I ask:

  1. What does it mean in plain language?
  2. Does its name or abbreviation come from another word?
  3. What is the smallest example that demonstrates it?
  4. What problem does it help solve?

What programming term, keyword or function sounded much more complicated than it actually was when you first heard it? What explanation finally made it click for you?


r/PythonLearning 10h ago

Showcase Python Notebook autograde

1 Upvotes

Keeping it short and sweet 🔥

If you are a python tutor that create notebook for students then this is for you.

Cause my platform can take in a notebook and auto grade within your created class.

If you prefer more of creating exercises for students. That is covered too and they can execute within the platform, get graded and you review the code. I got you there tooo🔥…

Of course you can vibe code something similar but so long keep the student entertained😁.


r/PythonLearning 11h ago

Best YouTube channel to learn python for free

9 Upvotes

I'm new to programming, and the Python tutorials I've found on YouTube don't explain things very well. Can you recommend the best YouTube channels to learn Python from scratch? to build a strong foundation that will help me with DSA later on.


r/PythonLearning 12h ago

GitHub - amandhiman-01/firstpython-project: 1. A simple python projrect

Thumbnail
github.com
2 Upvotes

r/PythonLearning 13h ago

Two different Binary Tree implementations side by side

Enable HLS to view with audio, or disable this notification

6 Upvotes

The same tree represented in two very different ways visualized using 𝗺𝗲𝗺𝗼𝗿𝘆_𝗴𝗿𝗮𝗽𝗵: Binary Trees

🔗 Binary Tree as Nodes: The tree is built out of multiple node objects. Each node stores its value and two references, one to its left child and one to its right child.

📦 Binary Tree as List: The tree is stored in a single list or array. Instead of references, indices represent the relationships between nodes. For a node at index, its children can be found using a simple calculation: - Left child: 2 * index + 1 - Right child: 2 * index + 2

So, when should you use which representation?

The node-based version makes the structure explicit and intuitive. It is great for education: students can clearly see how nodes are connected while practicing classes and references/pointers. It is flexible and works particularly well for irregular or sparse trees. It is the clearest representation when learning how trees work.

The list-based version can be very efficient for (nearly) balanced trees. It does not need to store child references, requires fewer separate memory allocations, and keeps values close together in memory for improved cache performance.

The same abstract data structure, but with very different trade-offs in clarity, flexibility, and performance.

Which representation would you use?


r/PythonLearning 13h ago

Guidance needed

1 Upvotes

I'm learning Python for a career in data analytics through YouTube. So far I've covered:

Variables and data types

Operators

If-else statements

Loops

Functions (arguments and return values)

Lists, tuples, sets, and dictionaries

Indexing and slicing

Random module

Time module

Basic math operations

At this point, should I move on to NumPy, or are there any core Python topics I should learn first?

My goal is to become a Data Analyst, so I'd appreciate advice on what topics are essential before starting libraries like NumPy, Pandas, and Matplotlib.


r/PythonLearning 13h ago

python OOPS

Enable HLS to view with audio, or disable this notification

6 Upvotes

built simple calculator


r/PythonLearning 16h ago

Start of journey

3 Upvotes

Hey everyone
A few weeks ago i took a 15h course on begginer phython, and they reccomended me to learn with CS50. I have done the first week problems wihtout any lectures.

i also had privous experience with phython but it was with my calculator making programs to do exercices for me

I want to know what's the best way to learn???


r/PythonLearning 17h ago

After learning OOP basics, should I focus on Data Analysis or Backend Development?

3 Upvotes

Hi everyone,

I'm 24 years old with a non-tech background. I quit my previous job in 2024 and have been looking for my next step since. I took a basic programming class, covered Object-Oriented Programming (OOP) in Python, and have foundational knowledge in HTML, CSS, and basic JavaScript.

Initially, I aimed for Web Development, but the local market feels overwhelmingly competitive for entry-level roles. I want to narrow my focus and build a solid foundation in one area before applying for jobs, but I'm stuck between Data Analysis and Backend Development.


r/PythonLearning 17h ago

Building Todo list with python....with multi_files...

5 Upvotes

A modular, multi-page Command Line Interface (CLI) To-Do application built using Python. Designed with clean code practices, this project separates application logic across multiple files and implements file handling for persistent data storage.

#File:- (todo.py)

from todo import Todo
my_todo = Todo()
while True:
    user_choice = input("Enter 1 to add_task,2 to show_task,3 to exit: ")
    if (user_choice == "1"):
        my_todo.add_task()
    elif(user_choice == "2"):
        my_todo.show_task()
    elif(user_choice == "3"):
        break
    else:
       print("print only 1,2,and 3:--")



# File:-(loop.py)
import loop_py
class Todo():
    def __init__(self):
        self.tasks = []
        self.completed_tasks = "tasks.txt"
        
    def add_task(self):
        new_task = input("Enter some task:")
        self.tasks.append(new_task)
        with open("Data_base.txt","a") as f:
            result = f.write(new_task + "\n")
            print("Data successfully saved")
            f.close
    def show_task(self):
        if (not self.tasks):
            print("your list is emptied")
        else:
            for i,task in enumerate(self.tasks):
                print(i + 1, task)

Completed a multi-page To-Do app in Python with persistent file storage! 🐍 Now that I've mastered core Python basics and modular structure, my next goal is diving into FastAPI, relational databases (PostgreSQL), and building production-ready Backend APIs(Give me your feedback that what I do now.....)

r/PythonLearning 18h ago

Help Request asking

0 Upvotes

what core concepts of programming should i focus on to have software engineering skills and concepts.


r/PythonLearning 20h ago

Made dictionary (just the skeleton)

Post image
1 Upvotes

I'm new with python. I made this project but the word list is now empty. How to automate this. I don't want to add words and meanings in the wordlist manually. So which will be good for now? - learning Data handling / using API's / making other projects / or, go for next topic

(My english is bad so hope you understand what i want to say)


r/PythonLearning 21h ago

I published my first Python package to PyPI today 🚀

2 Upvotes

Hi everyone,

Today I published my first Python package to PyPI as part of my Python learning journey.

The project is called redfishLiteApi, a lightweight command-line tool for interacting with Redfish management APIs commonly used in server management environments.

While building this project, I learned quite a bit about:

- Python packaging

- Building command-line tools

- Unit testing

- GitHub Actions CI/CD

- Automated PyPI publishing

Current features include:

✅ GET / POST / PATCH / DELETE support

✅ Basic Authentication and Redfish Session Login

✅ Recursive Redfish resource discovery via u/odata.id

✅ Search for specific fields in JSON responses

✅ Display API paths for matching fields

✅ Export API responses to files

✅ Install directly from PyPI

Installation:

```bash

pip install redfishLiteApi


r/PythonLearning 21h ago

Showcase A little hp and damage thing I made.

Post image
3 Upvotes

r/PythonLearning 21h ago

Day 2 of learning Python: Implemented Selection Sort from scratch

Thumbnail
gallery
80 Upvotes

Open-source learning project. If you spot something that can be improved, I'd love your feedback or a PR.

https://github.com/Samar-Upreti/Python_Projects


r/PythonLearning 23h ago

Help Request Need computer recommendations.

12 Upvotes

My parents have agreed to help me get a computer to start learning python. I need recommendations within a budget of around 400-500 dollars that run well. Are there any good options around that price? Also, if you have any advice on brand that would be appreciated.


r/PythonLearning 1d ago

How did you get your first python job?

2 Upvotes

I'm currently looking through pages of job listings. I've found the overwhelming majority of Python developer positions require quite a bit of experience. This seems to be a bit of catch-22, so how did you get your first job developing software in Python?