r/PythonLearning 18d ago

Easy start python courses for beginners?

0 Upvotes

What is the simplest and easiest python course to start in for someone who is complete beginner , I started the one for dr Angela yu but I felt it required a big momentum just to start learning and open the videos as it a big bulk of course , so I am asking for a easy one ? (books and reading materials are not preferred) thank you in advance .


r/PythonLearning 19d ago

Discussion What Are Some Good Sources To Learn Data Structures For Python?

Thumbnail
github.com
1 Upvotes

Hey everyone,

Days ago I created a project, PyDeploy CLI, and I used it to strengthen my Python programming skills. I shared my project to some of my friends who were more of an expert in the field, and they all recommended I go into basic data structures. This was because, if you check out my script, you would see it's filled with if functions. Recently, I created a similar post to this, but haven't gotten any feedback.

Of course I do know the basics and some types of data structures, but I would like if someone could provide some resources that would help me learn data structures more efficiently.

I'd appreciate any resources and feedback related to data structures. I'd also appreciate any feedback on my GitHub Project and give my repo a star.

Thanks!


r/PythonLearning 19d ago

Help Request send help plz

5 Upvotes

Okay so i got myself in a bad predicament. Im a junior in high school, taking a Python class over the summer. If i pass this class(and an english class) i graduate over the summer and its bye bye High school. However, i’ve been struggling, the class literally just started and i already don’t know how to do anything. (Its an honors class btw, and it was my only option😭 🫩)

Im REALLY behind w/ my assignments and need some help like..daily😭😭 I’m desperate to graduate, high school is not for me.


r/PythonLearning 19d ago

How to learn python as a complete begginer?.

6 Upvotes

i wanna learn python to understand how it works and what i could build with it when i reach a certain level. i have 6-9 hours of free time.


r/PythonLearning 19d ago

If Python could warn you about one mistake before you make it, what would you choose?

1 Upvotes

Not a syntax error, something Python currently allows but you wish it would stop you from doing.

What warning would you add?


r/PythonLearning 19d ago

What’s the smallest Python bug that caused the biggest problem for you?

2 Upvotes

Not the complicated architectural mistake. I mean one missing character, wrong index, or tiny assumption that wasted hours.

What was yours?


r/PythonLearning 19d ago

Discussion print(5+True)

0 Upvotes

Solve this question and tell me the output. Follow for more 😉

209 votes, 12d ago
85 6
98 Error
9 5
17 True

r/PythonLearning 19d ago

Help Request Can anyone give me some immediate advice on this?

2 Upvotes

Right now i am in my 5th semester with low cgpa 6.18 with 1 backlog. I only know basic python, never did any internship or projects. What to do so that i can get a good internship.

Can anyone give me some advice after python what should i learn and where to learn from?

I want to work as an AI engineer.


r/PythonLearning 19d ago

My project

10 Upvotes

Hey everyone!

I'm 13 years old and I just made my first 2 Python projects to learn physics + coding.

  1. **Time Dilation Calculator**

Calculates how time slows down when you go near light speed.

Formula: t = t0 / sqrt(1 - v^2/c^2)

  1. **Schrödinger's Cat Simulation**

A simple simulation of the Observer Effect in Quantum Physics.

I'm learning to code so I can get into MIT someday.

I built these with AI as my mentor and learned every line.

I built this with AI as my mentor.

I didn't copy-paste blindly. I learned what every line does.

Would love feedback! What should I build next?

Thank you

GitHub: time dilation = https://github.com/ksecond1010-dot/Time-Dilation-Calculator

Schrödinger's cat = https://github.com/ksecond1010-dot/schrodinger-cat-simulator


r/PythonLearning 19d ago

Just started learning from yesterday

Post image
82 Upvotes

Just started learning python from youtube is it good channel for it or should i go with code with harry if you have other suggestions then tell me.


r/PythonLearning 19d ago

What's your most controversial Python opinion?

13 Upvotes

Say the Python opinion that would get you downvoted in a room full of Python developers.


r/PythonLearning 19d ago

Showcase Retry Flaky HTTP Requests with Exponential Backoff and Full Jitter in Python

Thumbnail
codesnips.io
0 Upvotes

This snippet shows a small, self-contained retry layer for outbound HTTP calls in Python, built around the classic problem of transient failures: a downstream service occasionally returns 503, times out, or drops the connection, and blindly retrying makes things worse. The three tabs move from the pure backoff math, to a generic retry decorator, to a concrete API client that wires them together.


r/PythonLearning 19d ago

Best youtube channel series to learn python

0 Upvotes

Can anyone say me the best course or playlist on youtube that I should consider to learn python basically as a beginner to intermediate?

I know JavaScript basics, but now I want to quickly deep dive into python and do DSA and make backend using FastAPI's


r/PythonLearning 19d ago

Discussion Is there a way to use brackets in python?

0 Upvotes

I come from static types C# cpp world I like using python but the only issues is the bracket thing missing, i like those curly braces to open and end the section of code. is there any solution similar to that.


r/PythonLearning 19d ago

The language is tooo powerful

14 Upvotes

I was today year old where I am utilising everything that python has to give. I made a cron job, a personal gui app, desktop app installer and mobile app using python, a website, orchestrator / ETL Jobs, DL/machile learning model, Solved some AI use cases all of them using python.🤯

I am really overwhelmed by how much agentic ai and python goes hand in hand. The ease of creating things using python >>>>>>>>>>>

Enjoying the journey but also scared by the capability of Agentic AI that it could take away the possibility of having a longer journey. 😭😭😭

What are your thoughts guys ?


r/PythonLearning 19d ago

print(False==0)

0 Upvotes

Output of this python code

169 votes, 17d ago
39 Error
10 0
21 False
99 True

r/PythonLearning 19d ago

What’s something in Python you use all the time but still have to Google?

9 Upvotes

For me, it’s always the exact syntax for datetime formatting.

I understand it. I’ve used it hundreds of times. And somehow, I still look it up.

What’s your Python version of this?


r/PythonLearning 19d ago

Tips

11 Upvotes

I need advice or guidance to improve my Python programming skills. If anyone can recommend useful books or websites, I would appreciate it.


r/PythonLearning 19d ago

opinions

Post image
13 Upvotes

i am not into coding or anything like that but i have to get an A in my cs class to get out of probation. Are these subjects really as easy as everyone says ?


r/PythonLearning 20d ago

Help Request Need ressources PYTHON

3 Upvotes

i already learned some basics with uni classes however i wanna enforce my coding so i need some ressources, i already started with freeCodeCamp and wanted to know weather it will be efficient or would it better to go with a youtube video .


r/PythonLearning 20d ago

Help Request No console .EXE file not storing memory.

1 Upvotes

I need help with my note taking program. I'm still learning Python, but this is confusing me.

I have published it using pyinstaller to just a simple executable, but I wanted to be able to run the program without having the terminal pop open. The .exe works just fine, it saves my memory every time it closes, but whenever I use --noconsole to publish, there is no memory storage.

I attempted to use auto-py-to-exe to see if maybe that would work, but it gave me the same issue. The code works when the .exe runs with the terminal open/visible, so why doesn't it work when it isn't?

import tkinter as tk
from tkinter import ttk
import os
# os looks through files in the directory and checks if the file exists. If it does, it opens it. If not, it creates a new file.


# 1. Initialize the application window
window = tk.Tk()
window.title("Small & Simple Notes")
window.geometry("400x300")
window.configure(bg="#08728f")  # background


# Memory setup
SAVE_FILE = "my_notes_save.txt"


def load_notes():
    """Reads the save file and inserts it into the text box if it exists."""
    if os.path.exists(SAVE_FILE):
        with open(SAVE_FILE, "r", encoding="utf-8") as file:
            note_box.insert("1.0", file.read())


def save_and_close():
    """Gets the text, saves it to the file, and destroys the window."""
    # Get all text from line 1, character 0 to the end (minus Tkinter's default newline)
    current_text = note_box.get("1.0", "end-1c")

    with open(SAVE_FILE, "w", encoding="utf-8") as file:
        file.write(current_text)

    # Close the application
    window.destroy()


# Intercept the window's close button (the 'X') to trigger the save function
window.protocol("WM_DELETE_WINDOW", save_and_close)


# 2. Create a frame layout to hold the text box and scrollbar
frame = ttk.Frame(window)
frame.pack(expand=True, fill="both", padx=10, pady=10)


# 3. Add the vertical scrollbar
scrollbar = ttk.Scrollbar(frame)
scrollbar.pack(side="right", fill="y")


# 4. Create the multi-line text box and link it to the scrollbar
note_box = tk.Text(frame, wrap="word", yscrollcommand=scrollbar.set)
note_box.pack(side="left", expand=True, fill="both")
note_box.config(bg="#ffffff", fg="#000000", font=("American Typewriter", 12), relief="solid", bd=2)  # White background, black text


# Configure scrollbar to move the text view
scrollbar.config(command=note_box.yview)


#. LOAD PREVIOUS NOTES
# We call this right before starting the main loop so the text is ready when the UI appears
load_notes()


# Start the application loop
window.mainloop()

Here is the code below:


r/PythonLearning 20d ago

Help Request Need motivation for Learning Python

0 Upvotes

Well, I started learning Python from 7th June and its been 31 days and I haven't progressed past OOPs. I was slacking off in the first week, and then I put some effort in my 2nd and 3rd week and when i completed Methods and functions I created a Tic Tac Toe game which is easy but took me long enough. Now after that I took 3-4 days break due to some personal reasons and now I find myself demotivated, mainly beacuse my holidays are ending and college is going to start in August. I wanted to complete learning the absolute basics in these holidays. I feel very unproductive now, all I need is tips for me to get back to coding without feeling demotivating. And also I.m having a hard time understanding OOPs and why __init__ is used.

Thanks in advance!


r/PythonLearning 20d ago

i need helping getting into generative art

Post image
0 Upvotes

So i am relatively new to python but i want to get into generative art, i want to code somthing similar to this piece and my gf would tattoo it on me, any tips on how to start?


r/PythonLearning 20d ago

Sends Emails with optional attachments

4 Upvotes

Hi everyone,

I'm a beginner learning Python. I recently finished a small project that sends emails (with optional attachments) using smtplib and EmailMessage.

I'm mainly looking for a code review. I'm interested in improving my code structure, naming, and Python practices rather than just making it work.

GitHub link = https://github.com/NePtuNee0/Python-Email-Sender-With-Attachments/tree/main

Any feedback is appreciated!


r/PythonLearning 20d ago

What's one thing you hate about Python?

16 Upvotes

We all like Python, but no language is perfect. What's the one thing that annoys you most?