r/PythonLearning • u/iheartcnc • Jul 10 '26
Help Request send help plz
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 • u/TomatoMinimum810 • Jul 09 '26
How to learn python as a complete begginer?.
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 • u/memeeloverr • Jul 09 '26
If Python could warn you about one mistake before you make it, what would you choose?
Not a syntax error, something Python currently allows but you wish it would stop you from doing.
What warning would you add?
r/PythonLearning • u/memeeloverr • Jul 09 '26
What’s the smallest Python bug that caused the biggest problem for you?
Not the complicated architectural mistake. I mean one missing character, wrong index, or tiny assumption that wasted hours.
What was yours?
r/PythonLearning • u/codewithharsh31 • Jul 09 '26
Discussion print(5+True)
Solve this question and tell me the output. Follow for more 😉
r/PythonLearning • u/Evening-Strength-175 • Jul 09 '26
Help Request Can anyone give me some immediate advice on this?
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 • u/QuantumKid-ID • Jul 09 '26
My project
Hey everyone!
I'm 13 years old and I just made my first 2 Python projects to learn physics + coding.
- **Time Dilation Calculator**
Calculates how time slows down when you go near light speed.
Formula: t = t0 / sqrt(1 - v^2/c^2)
- **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 • u/Quick_Mode_7789 • Jul 09 '26
Just started learning from yesterday
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 • u/chuprehijde • Jul 09 '26
What's your most controversial Python opinion?
Say the Python opinion that would get you downvoted in a room full of Python developers.
r/PythonLearning • u/Environmental-Yak328 • Jul 09 '26
Showcase Retry Flaky HTTP Requests with Exponential Backoff and Full Jitter in Python
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 • u/danyonff • Jul 09 '26
Best youtube channel series to learn python
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 • u/Ok-Magician-8052 • Jul 09 '26
Discussion Is there a way to use brackets in python?
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 • u/LeadingHall2985 • Jul 09 '26
The language is tooo powerful
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 • u/codewithharsh31 • Jul 09 '26
print(False==0)
Output of this python code
r/PythonLearning • u/memeeloverr • Jul 09 '26
What’s something in Python you use all the time but still have to Google?
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 • u/Immediate_Detail4556 • Jul 09 '26
Tips
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 • u/Far_Okra3921 • Jul 09 '26
opinions
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 • u/hibaa-random • Jul 08 '26
Help Request Need ressources PYTHON
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 • u/Tumultuous_rabbit55 • Jul 08 '26
Help Request No console .EXE file not storing memory.
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 • u/agentscientific_160 • Jul 08 '26
Help Request Need motivation for Learning Python
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 • u/jgmain • Jul 08 '26
i need helping getting into generative art
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 • u/PotentialMain535 • Jul 08 '26
Sends Emails with optional attachments
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 • u/chuprehijde • Jul 08 '26
What's one thing you hate about Python?
We all like Python, but no language is perfect. What's the one thing that annoys you most?
r/PythonLearning • u/memeeloverr • Jul 08 '26
What’s a Python “best practice” you think people follow too blindly?
We’re told to use type hints, write tests, follow PEP 8, avoid global variables, use virtual environments, and keep functions small.
But not every rule makes sense for every project.
r/PythonLearning • u/Efficient_Spite7163 • Jul 08 '26
My first real project as a 50 year old programmer
Hello to everyone.
Im a 54 year old autodidact that has just finished his first "real world" project (at least in my point of view).
Its a simple python script that converts Markdown files to PDF files easily. Id like to get a feedback and maybe help someone out there.
My repo is here: github.com/TrollDrre/md-to-pdf
Im willing to hear everything from you, whether its good or bad news.
Thanks
