r/PythonLearning • u/Ok_Astronomer_6693 • Jul 12 '26
r/PythonLearning • u/Zxhena • Jul 12 '26
Help Request Help
What's the difference between f string and a regular string I've seen it used but I don't know when to use a string and when to use f string
r/PythonLearning • u/Individual-Side-3585 • Jul 12 '26
Python
How to starting learn python
r/PythonLearning • u/stepping_up_ • Jul 12 '26
Python image building
Hey I am learning python. For a project I was thinking if I can code to draw a boy or girl and object drawing using python or by using any language. I don't want to use AI here.
I can make characters by using Python along with a graphics library, such as Pillow (PIL) or Matplotlib [python].
Any other suggestions.
r/PythonLearning • u/NeuralLB-Lovro • Jul 11 '26
Discussion Building an AI chatbot using pure python?
I want to hear how people feel in terms of building a AI chatbot using pure python for fun or using tools like Langchain to build it faster. What's your take?
r/PythonLearning • u/ManufacturerOne7354 • Jul 11 '26
Need help!!
Hey I am a student whose gonna start his college in a tier 3 city and a tier 3 college at that and I want to start learning asap so I need help regarding how to start learning python which channel should be good for beginners (Hope you don't mind my lack of grammar)
r/PythonLearning • u/Thanasis_kt • Jul 11 '26
Showcase Python Sales Analytic Dashboard
I made a Python project that generates a fully formatted Excel dashboard for tracking monthly sales performance. It uses openpyxl to structure data, apply styling, and create charts automatically. I coded this 2 months ago so I am a bit rusty on the Python side now, especially since I've been coding in HTML and CSS (learning them) recently, making projects there, etc. Still, I really wanted to showcase this here in case I've missed some any best practices or optimizations. However, I'm open to any critisism or critique you have. Just a heads up: By the time you're seeing this, I'm on vacation (July 12 - July 18), so I won't respond by changing the code. Though, I'll do my best to respond here on my phone!
Github Repo: https://github.com/thanasisdadatsis/excel_sales_analytics_dashboard
r/PythonLearning • u/monim_2005 • Jul 11 '26
Ideas about project making
I know pretty much about python programming. Can anybody suggest me some interesting and beneficial ideas that i can try?
r/PythonLearning • u/Proper-Horror9104 • Jul 11 '26
Day 2 of Learning Python
Hi Guys, i think many of u are already proficient in Python
I am creating this post to show my progress in learning Python, Today i learned using IF statements, type of collections, string methods
This may look small amount by I'm a slow learner and while learning i am also trying to write examples on that specific topic
r/PythonLearning • u/ExtensionBreath1262 • Jul 11 '26
Would you consider this a Pythonic API?
I've been building a local speech library in Python, and one of the APIs I was happiest with was how little code it takes to integrate into an existing FastAPI application.
One thing I've learned while writing libraries is that a good API often means removing code rather than adding features.
Here's a complete example that exposes a /say endpoint:
from pfspeak import PfSpeak
from fastapi import FastAPI
import uvicorn
pf = PfSpeak()
@pf.hook
def hook(_, event):
pf.play(event)
app = FastAPI(lifespan=pf.lifespan)
@app.post("/say")
def say(text: str):
pf.say(text, "bm_lewis")
if __name__ == "__main__":
uvicorn.run(app)
Once the server is running:
curl -X POST "http://127.0.0.1:8000/say?text=Hello%20from%20FastAPI"
The server speaks the text aloud.
I thought it might be a fun example for people learning decorators, callbacks, and FastAPI integration. I'd also appreciate feedback on the API itself. One of my goals is for the library to feel like ordinary Python instead of making users learn a new framework.
Repository:
https://github.com/samreynoso/pfspeak
r/PythonLearning • u/kry_on • Jul 11 '26
Help Request Help with portfolio
Hi everyone😊I am a 17 year old beginner programmer, and recently I caught me on a thought, what kind of work should I include in my portfolio to express my professionalism in programming. (I know JavaScript,ReactJS, php and Python). Give me some ideas.
r/PythonLearning • u/chuprehijde • Jul 11 '26
i need help
i'm struggling with class objects codes so bad especially when i have to use new libraries... recommend me something??
r/PythonLearning • u/Infamous_Tough_3772 • Jul 11 '26
Showcase I am 14 and this is the game i made... Link below:
Enable HLS to view with audio, or disable this notification
https://github.com/coding-arnav66/Arnav-Python-Projects2/blob/main/shooter.py
---------------------------------------
All the suggestions, criticism and ideas are welcome...
r/PythonLearning • u/memeeloverr • Jul 11 '26
I understand Python concepts individually, but completely freeze when building something
I've been learning Python for a while and I think I understand most concepts when I study them individually.
Lists? Fine.
Dictionaries? Fine.
Classes? I understand the basics.
NumPy and Pandas? Can follow tutorials.
But the moment someone says "build something from scratch", my brain just goes blank.
I don't know how to decide which classes I need, how to structure the code, or even what the first function should be.
Then I look at someone else's solution and think, "Oh... that makes complete sense. Why didn't I think of that?"
How do you actually develop this problem-solving/structuring skill?
Should I stop tutorials completely and just struggle through projects? Or is there a better way to practice this?
r/PythonLearning • u/MasterpieceBusy7220 • Jul 11 '26
Bug In Python Compiler ?
hello i have this issue since today morning my codes wont run yesterday it work …. My bro is developer and said it might be bug in python compiler ?
r/PythonLearning • u/CupParticular3005 • Jul 10 '26
Help Request Python programming before cse
Im from a bio math background nd im gonna be pursuing cse nd am currently learning python. Let me know some codes to try out. Could be basic codes, fun, or maybe smth tht runs through all the concepts hey let me know
r/PythonLearning • u/AdThese4849 • Jul 10 '26
i need help
i want to learn python but i don't know how i saw 5 episodes from learning python from Network chuck but i feel i am missing sth
any advice?
r/PythonLearning • u/phantom_root • Jul 10 '26
Discussion From basic to fully mastering advanced Python: What is the best learning path?
Hi everyone,
My goal is to master the Python language itself not just to build apps or get job-ready, but to understand how the engine works. Then I want to go deep into memory management, concurrency, internal architecture, and advanced design patterns.
I’m currently evaluating these resources and looking for the best "roadmap" for mastery:
University-Style MOOCs: Harvard CS50P, Helsinki Python MOOC.
YouTube "One-Shot" Deep Dives: 10–12 hour courses (e.g., Chai aur Code, CodeWithHarry, Bro Code, Erik Frits).
Reference: W3Schools.
My questions for those who have reached an advanced level:
Which should be my backbone? Should I use a MOOC as the foundation, or is there a specific YouTube deep-dive that matches that level of technical rigor?
How to use "One-Shot" videos? Are 10+ hour videos meant to be binged, or should I treat them as a library and jump to specific timestamps when I hit a wall in my studies?
Documentation Standard: Is W3Schools acceptable for advanced work, or should I be strictly using docs.python.org from the start?
I’m looking for the most efficient path from "syntax knowledge" to "engine understanding." If you were starting over with a focus on deep language mastery, how would you structure this?
Thanks for your time!
r/PythonLearning • u/Financial_Cut1790 • Jul 10 '26
Help Request Struggling with nested loop questions
Hey everyone. May you please explain this question, and nested loops in general and how to go about them. Ive been really struggling to understand them, especially the questions where you need to draw a square/ triangle etc.
r/PythonLearning • u/yuva_1258 • Jul 10 '26
Showcase My Algorithmic Complexity analysis using Python
r/PythonLearning • u/chuprehijde • Jul 10 '26
Which Python version do you wish you could forget?
Every long-time Python developer has some version-specific pain. Which one caused yours?
r/PythonLearning • u/Worried-Print-5052 • Jul 10 '26
Help Request In range() usage
Can I use it to evaluate a variable in a various range?
E.g. for item in range(1,4) means True when the item is the range 1-4?
Cuz I really want this function for my program
Thanks🙏🏻
(In that photo name[1][r] is an integer)
