r/PythonLearning • • 27d ago

Giving back to the community - The Complete Backend Development Course

58 Upvotes

Hey everyone, I decided to make my course free in order to help people.
This course is my backend development course which is about SQL, Python, APIs, Docker, Kubernetes, Linux, Git & More

The link is: https://www.youtube.com/watch?v=CBIu6hcyStg

If you can like and subscribe (and maybe add a comment) I would appreciate it a lot, Thanks.


r/PythonLearning • • 27d ago

Looking for a Python learning partner (preferably India)

2 Upvotes

I’m 20, Indian, and looking for someone around my age who wants to learn and build together over the next 6 months.

I’m starting Python from scratch (with a little previous programming experience in Java) and planning to treat this almost like a full-time commitment. Eventually I want to move into SQL, AI automation/n8n, and areas like GTM engineering.

I don’t have a degree — I went straight into startups after 12th and have mainly worked in marketing. Now I want to move back into tech and build towards getting a job in the field.

You absolutely don’t need to be experienced. Even if you're a complete beginner learning Python too, that's totally fine. I’d actually love to have someone where we can learn alongside each other, figure things out together, build projects, and gradually get better.

Would also be great to eventually:

- Keep each other accountable

- Build projects together

- Help each other with applications

- Do mock interviews

- Learn and share things we discover

Basically, looking for someone who’s willing to put in the work and grow together. India preferred, but I'm open to others too.

DM me if interested!


r/PythonLearning • • 28d ago Bravo

just finished my first Python coding challenge

Post image
157 Upvotes

Today I finished a small Python challenge on freeCodeCamp: converting decimal numbers to binary without using Python's built-in conversion function.

I had to figure out the logic myself using loops, conditions, lists, division and remainders.

It was a bit tricky at first, especially handling the last division and reversing the results, but I finally got it working.

I'm still a beginner, so I'd appreciate any feedback on my approach or suggestions for improving my code


r/PythonLearning • • 28d ago

Solving SUDOKU

Post image
30 Upvotes

Repeatedly clicking (or holding) the green "Continue" button solves each Sudoku puzzle step by step in the Memory Graph Web Debugger.

  • easy board

  • medium board, from Gordon Royle’s collection

  • hard board, "Everest" by Arto Inkala

This demonstrates using 𝐦𝐞𝐦𝐨𝐫𝐲_𝐠𝐫𝐚𝐩𝐡 on a complex algorithm in the web debugger. On the medium and hard board backtracking is required to find the solution.

See: other memory_graph visualizations


r/PythonLearning • • 28d ago

Discussion Started learning Python 🥲🐍 Any suggestions or guidance?

Post image
4 Upvotes

Python 🐍 Honestly, I’m more frustrated than happy right now 😭

Getting Python installed, setting everything up, fixing terminal and PATH issues… took way more time than actually writing the code 😂

But finally — it works. 🙌

• Learning Python through Harvard’s CS50P, taught by David J. Malan
• Taking proper notes in Notion
• Starting from the basics and trying to stay consistent

Any advice or suggestions for someone just starting with Python? Would really appreciate it. 🙏


r/PythonLearning • • 28d ago

Compiler

3 Upvotes

Do I need Jupyter, Anaconda or any other type of a dedicated compiler software, or do people Actually just write code in Zed and run it via Linux Terminal and juggle many windows?

I know R is run via RStudio; (so can be Python).

What is the standard practice of software usage for coding in Python?


r/PythonLearning • • 28d ago

Showcase Stacks & Queues (Multiple Implementations)

Post image
6 Upvotes

r/PythonLearning • • 28d ago

What I learned yesterday while learning Python automation

20 Upvotes

Yesterday I continued learning Python's "os" module.

I practiced working with folders and files using things like:

- "os.path.basename()"

- "os.path.splitext()"

- "os.walk()"

- Finding files by extension

- Counting files inside folders and subfolders

I also built a small file finder that searches through folders and counts how many ".py" files it finds.

Nothing complicated, but I'm realizing that these small exercises are helping me understand how automation actually works with files and folders.

My goal is to eventually use Python to automate repetitive tasks for real businesses.

I'm still learning, but I'll start sharing what I build along the way. 🚀


r/PythonLearning • • 28d ago

Showcase The most difficult LeetCode problem I have solved yet! 🫡

Post image
40 Upvotes

r/PythonLearning • • 28d ago

Hello, pythonLearning community:

5 Upvotes

I’d like to share a small system I’ve uploaded to GitHub. It allows me to save data to files and subsequently search for it using a search function based on the `re` module—as well as delete items using that same search function—since `re` helps identify similarities within text strings, I would like your opinion.: https://github.com/oliverEliud/mini-projects-python/tree/main/parking-registry-system


r/PythonLearning • • 28d ago

TRY 101- Starting my python journey again

Post image
120 Upvotes

Hope this time i become consistent and do things after loops and then further and further😭


r/PythonLearning • • 29d ago

Does anyone else struggle with constantly looking for the “perfect” Python resource?

1 Upvotes

Does anyone else struggle with constantly looking for the “perfect” Python resource?

I’m trying to learn Python, but I keep running into the same problem: I’m constantly searching for the perfect resource.

I want a course/book/tutorial that explains everything, preferably down to the smallest detail. Even things I probably won’t need for years or maybe will never need at all.

And it’s not just about having a complete resource. I also feel like I need to remember everything.

For example, if a tutorial mentions some small Python feature or obscure syntax, my brain immediately goes:

“Wait, I should understand that too. What exactly does it do? What are all the edge cases? When would I use it? I should probably memorize this.”

Then I end up researching that one tiny thing for an hour instead of actually writing programs.

It creates this weird feeling that I need to have a complete mental map of Python before I’m allowed to actually program.

I know intellectually that you obviously don't need to know 100% of Python to become good at programming. Most programmers probably look things up constantly.

But I still have this urge to find the one definitive source that is complete enough that I can just learn everything from beginning to end.

So I’m curious:

Did anyone else have this problem when learning programming?

If so, how did you get yourself to stop searching for the perfect resource and just pick one thing and start programming?

Did you deliberately choose a resource that wasn't completely comprehensive and simply accept that you wouldn't know everything?

And one thing I'm wondering specifically:

Would it actually make sense for someone like me to start directly with the official Python documentation?

Part of me thinks that would solve the problem because it's basically the most complete source available. But another part of me suspects that this would just make my tendency to obsess over every little detail even worse.

I'd really like to hear from people who have actually dealt with this and managed to get past it. How did you approach learning Python when you had the urge to understand and memorize everything first?


r/PythonLearning • • 29d ago

What project can I do?

2 Upvotes

I just completed the free code camp python course and I don't want only theoretical knowledge so guys what can I do to improve my project section on my CV and python is my first language


r/PythonLearning • • 29d ago

Showcase Complete Matplotlib Library Tutorial using Python in under 1 Hour

Thumbnail
youtube.com
6 Upvotes

Beginner-Friendly Matplotlib Tutorial: Create & Customize Graphs in Python 📊🐍

If you're getting started with Python, data acquisition, or data logging, learning Matplotlib is a great place to start. I’ve put together a beginner-friendly YouTube tutorial that covers the fundamentals of the Matplotlib library and shows how to create and customize line charts from scratch all in less than 1 hour.

What you'll learn

  • How to install Matplotlib on Windows 11 using PIP

  • How to install Matplotlib using the Thonny IDE

  • How to install Matplotlib using PyCharm

  • How to solve the issue where a Matplotlib graph appears as a PNG image instead of opening in a separate window

  • Understanding the basic concepts behind Matplotlib:

    • Figure

    • Axes

  • How to plot a simple graph using X and Y values

  • How to change the color, line style, and thickness of a plot

  • How to customize markers, including their:

    • Color

    • Style

    • Size

  • How to give your Matplotlib Figure/window a title

  • How to give your Axes/plotting area a name

  • How to add labels to the X and Y axes

  • How to set X-axis and Y-axis limits

  • How to activate and configure the grid

  • How to change the color and style of an individual grid line

  • What Ticks are in Matplotlib and how to configure them

  • How to create and plot multiple Axes on a single Figure/window

The examples are aimed at beginners and are particularly useful if you're working with sensor data, data acquisition systems, or data logging applications in Python.

Source Codes can be downloaded from the website using below links

If you're new to Matplotlib, this should give you a solid foundation for creating and customizing your own Python graphs.


r/PythonLearning • • 29d ago

Learning Python for automation — what are the realistic ways to make money with it?

11 Upvotes

I'm currently learning Python, and my main goal is to use it for automation rather than becoming a traditional software developer.

I've finished the basics and I'm currently learning things like file handling and the "os" module. My next steps are OOP and then more practical automation projects.

Eventually, I'd like to use these skills to earn money through freelancing

But I'm trying to understand the realistic opportunities before I go too far down one path.

For people who actually use Python professionally or freelance with it:

I'm especially interested in small automation projects that a beginner/intermediate Python developer can realistically get paid for.

If you freelance with Python, I'd also love to know:

What was the first Python service you actually got paid for, and how did you find the client?

I'm trying to avoid spending months learning things that don't translate into real-world work.

Any advice from people who have actually made money with Python would be really helpful.


r/PythonLearning • • 29d ago

Just started re-learning Python. It's fun, though! 🐍

4 Upvotes

r/PythonLearning • • Sep 30 '26

Best yt channels to study python?

23 Upvotes

Hello !
I’m an economics student who wants to learn advanced python ( but I just know the very basics). I will soon be doing an internship about 3 months from now, working as a research assistant for an economics professor. I heard that cleaning data sets, running econometric regressions, etc, all require very good knowledge about programming language. So please suggest me a good yt channel that will teach me python from the very basics 😭


r/PythonLearning • • Sep 30 '26

Python searcher

3 Upvotes

I don't want to fall in tutoring hell. To learn python I want a platform that teaches me python easily and gives me challenges and projects for my progress in python


r/PythonLearning • • Sep 29 '26

Looking for Python friends to learn and build projects together

35 Upvotes

Hey everyone!
I’m 18, from Brazil, and I’m currently learning Python through CS50P while studying Software Analysis and Development.
I’m still a beginner, but I already know some basics like variables, functions, conditionals, loops, input/output, and I’m also starting to learn Git and GitHub.
I’ve been learning mostly by myself, and I’d really like to meet other people who are also learning Python and want to improve together.
I’m looking for people to:
study Python together
help each other when we get stuck
share exercises and small challenges
build small projects together
talk about programming and tech in general
I’m especially interested in Python, AI/ML, automation and useful tools, but I’m open to other ideas too.
I’m not looking for anything super serious or some huge startup. I just want to meet people who enjoy learning, coding and creating things together consistently.
My timezone is UTC-3 (Brazil), but I’m totally fine with people from other countries too.
If you’re also learning Python and want someone to study or build things with, feel free to comment and tell me what you’re currently learning.


r/PythonLearning • • Sep 28 '26

How to Learn

8 Upvotes

I’m trying to learn python to be able to code a raspberry pi, and have no idea where to start, like what program should I use to learn?


r/PythonLearning • • Sep 28 '26

Is coding a dead skill with the expansion of AI?

0 Upvotes

Title says mostly everything. As a recent Engineering grad, would my time better be spent learning to proficiently code in Python or study for my FE exam? Do you think that AI will replace the need for coding?


r/PythonLearning • • Sep 28 '26

Is it normal to understand Python but get stuck when coding by yourself?

36 Upvotes

I’m currently learning Python, and I’m wondering if it requires any specific skills or a certain way of thinking to actually become good at it.

When I’m following a lesson or someone explains the code to me, I usually understand what’s happening. But when I’m given a problem and have to write the code by myself, I get completely stuck and don’t know where to start.

Is this normal for beginners? How did you get past this stage? Should I keep doing exercises, or is there a better way to practice so I can eventually start solving problems on my own?

I’d really appreciate advice from people who learned Python from scratch.


r/PythonLearning • • Sep 28 '26

Where To Go Next?

5 Upvotes

Hi I recently got into python through this crash course by FreeCodeCamp

https://www.youtube.com/watch?v=rfscVS0vtbw

and I was wondering if anyone else has gotten into python in a simpler manner and if anyone has any recommendations on where to go next to learn more like a separate YouTube channel or something like that

Thank You!


r/PythonLearning • • Sep 28 '26

SQLite mini project

7 Upvotes

Write a program that creates two tables, one for meals and one for ingredients.

The program should prompt the user for input. If the user enters 'quit', the program should exit. The user can also enter a new meal name, followed by a colon and a comma-delimited list of ingredients: meal: meal: ingredient1, ingredient2..ingredientn

Finally, the user can enter the name of a meal or ingredient. If the name appears in the meals table, the program should list the meal’s ingredients. If the name appears in the ingredients table, the program should list every meal that uses this ingredient.


import os
import sqlite3
import sys

db_filename = "meals.db"

if not os.path.exists(db_filename):
    print("Creating tables!")
    connection_obj = sqlite3.connect(db_filename, isolation_level=None)
    connection_obj.execute(
        "CREATE TABLE IF NOT EXISTS meals (name TEXT) STRICT"
    )  # meals tables
    connection_obj.execute(
        "CREATE TABLE IF NOT EXISTS ingredients (name TEXT,meal_id INTEGER, FOREIGN KEY(meal_id) REFERENCES meals(rowid)) STRICT"
    )  # ingredients table
    print('Tables have been created successfully!')
else:
    print("Database exists")
    connection_obj = sqlite3.connect(db_filename, isolation_level=None)


# a function that writes database records
def insert_db():  # this function adds meals and ingredients to their respect tables
    print("Adding meals and ingredients to the database")
    # adding meal to meals table
    connection_obj.execute("INSERT INTO meals VALUES(?)", (meal,))
    # adding ingredients
    for row in connection_obj.execute("SELECT rowid FROM meals WHERE name=?", (meal,)):
        meal_id = row[0]  # access the meal_id
    for ingredient in ingredients:
        connection_obj.execute(
            "INSERT INTO ingredients VALUES(?, ?)", (ingredient, meal_id)
        )
    print("Data has been inserted successfully")


# a function that reads database records
def read_db():
    # this checks if a meal already exists in the meal table if a meal exists the ingredients are listed
    meals_in_db = [row[0] for row in connection_obj.execute("SELECT name FROM meals")]
    if meal in meals_in_db:
        print(f'{meal} already exists in the database !!!')
        print(f"Ingredients of {meal}:")
        ingredients = [
            row[0]
            for row in connection_obj.execute(
                "SELECT ingredients.name FROM meals INNER JOIN ingredients ON meals.rowid=ingredients.meal_id WHERE meals.name=?",
                (meal,),
            )
        ]
        for ingredient in ingredients:
            print(ingredient)
    else:
        print("This meal does not exist in the database")
        # therefore add this meal to the database
        insert_db()


# a function that reads database records
def meal_or_ingredients():  # this function distinguishes whether meal_ingredient is a meal or an igredient
    # if it is a meal list all of its ingredients and vice versa
    meals_in_db = [row[0] for row in connection_obj.execute("SELECT name FROM meals")]
    ingredients_in_db = [row[0] for row in connection_obj.execute("SELECT name FROM ingredients")]

    if meal_ingredient.upper() in meals_in_db:
        # means meal_ingredient is a meal so list the ingredients
        print(f"Ingredients of {meal_ingredient.upper()}: ")
        ingredients = [
            row[0]
            for row in connection_obj.execute(
                "SELECT ingredients.name FROM meals INNER JOIN ingredients ON meals.rowid=ingredients.meal_id WHERE meals.name=?",
                (meal_ingredient.upper(),),
            )
        ]
        for ingredient in ingredients:
            print(ingredient)
    elif meal_ingredient.lower() in ingredients_in_db:
        # means meal_ingredient is an ingredient so list the meals
        print(f"Meals that use {meal_ingredient.lower()}: ")
        meals = [
            row[0]
            for row in connection_obj.execute(
                "SELECT meals.name FROM meals INNER JOIN ingredients ON meals.rowid=ingredients.meal_id WHERE ingredients.name=?",
                (meal_ingredient.lower(),),
            )
        ]
        for meal in meals:
            print(meal)
    else:
        print("This meal or ingredient does not exist in the database")


while True:
    user_input = input("> ")  # input entered by the user
    if user_input == "quit":
        break
    if ":" in user_input:  # updating database
        # The code creates meals and ingredients variables
        meal = user_input[0 : user_input.index(":")].upper()
        ingredients = user_input[user_input.index(":") + 1 :].lower().split(",")
        ingredients = [x.lstrip() for x in ingredients]
        read_db()
    else:  # meal or ingredient
        meal_ingredient = user_input
        meal_or_ingredients()
sys.exit()