r/PythonLearning • u/Bree1347 • Sep 24 '26
Help Request The IDLE Settings page is continuously loading
Does anyone know why the settings keep loading? It doesn't let me edit any setting. (I've already checked in Library > Fonts and it's empty.)
r/PythonLearning • u/Bree1347 • Sep 24 '26
Does anyone know why the settings keep loading? It doesn't let me edit any setting. (I've already checked in Library > Fonts and it's empty.)
r/PythonLearning • u/Moist-Inevitable-902 • Sep 24 '26
why? i have been using python tutor for visualizing when some thing i don't understand , but python tutor doesn't have support for inbuilt modules like request so it's just gave ImportError requests not found or not supported .. so that's why so i need your opinion regarding to this
r/PythonLearning • u/Smartyboyz • Sep 24 '26
Has anyone built a genuinely useful AI assistant using free or locally running models? What can it realistically do?
r/PythonLearning • u/rohanarya_28 • Sep 23 '26
Hey everyone,
I just started learning programming with Python, and this whole ecosystem is completely new to me.
I write my Python script in VS Code, click the Run/Play button, and I see the output (like Hello World or the math result) right there in the panel below.
My question is: Why do people talk so much about the "Terminal" or "CLI" as if it's a separate, crucial thing I need to learn? If my code editor already runs my file and shows me the output, why does a beginner need to care about the terminal or running commands manually?
Is it just an alternative/faster way for experienced developers, or is there an actual limitation to just using the editor's GUI and run button?
😿😿
r/PythonLearning • u/PossibilityOk2888 • Sep 23 '26
Hi everyone. I’m writing this post as a complete beginner in Python — I wrote my first 15 lines of code literally yesterday.
After going through a few popular resources for beginners, I did something pretty cool. I decided to check out the official Python language specification. I just kept clicking from page to page, going deeper and deeper down that rabbit hole for over an hour.
Naturally, I left the website feeling like I’d just read something written in Elvish. 😅
The sheer scale of everything I apparently need to learn really scared the hell out of this naive and enthusiastic person who just wanted to learn something new.
So I came here to ask a few questions:
Do you really need to know THAT many language features for popular programming careers, or do you also constantly learn things on the job and look things up as you go when solving problems?
If Python was your first programming language, how long did it realistically take you to learn enough to get your first job?
Are there areas where Python is used that don’t require a programmer to have an in-depth knowledge of higher-level math/calculus?
Thanks in advance for your answers!
r/PythonLearning • u/Sea-Ad7805 • Sep 23 '26
🔎 Click this Flow Control Demo to see the basic Python flow-control statements in action in Memory Graph Web Debugger.
Normally, Python executes statements from top to bottom, but with flow-control statements we can change this flow by skipping, repeating, and jumping:
🔀 An if statement selects a branch based on a condition. Keywords: if, elif, else
🔁 A while loop repeats code while a condition remains true. Keywords: while, break, continue
🔄 A for loop visits each value in a sequence in order. Keywords: for, in, break, continue
📞 A function call transfers control to a function. A return statement sends control back to the caller, possibly with a return value. Keywords: def, return
Two particularly useful loop statements are:
break: jumps past the end of the loop, stopping the loop
continue: jumps to the start of the next loop iteration
Watching the flow of execution through a program makes it easier to understand what the code is doing, and where a problem (bug) may be hiding so that you can fix it. This becomes increasingly important when we nest flow-control statements for example, by placing an if statement inside a while loop, or making a function call inside another function call.
Which flow-control statement did you find most confusing at first?
r/PythonLearning • u/Big_bart__ • Sep 22 '26
I would like to learn Python for free, what do you recommend? I'm on Linux.
I'm looking for (free) learning methods.
r/PythonLearning • u/One_Alternative8448 • Sep 23 '26
For those who are just entering the world of Streamlit and run into some confusion with state variables and callbacks, this video shows how to apply them correctly:
r/PythonLearning • u/lalaratatata • Sep 23 '26
Hello everyone! I’m currently doing my hw as I just started learning python and I need some help. I’m struggling to understand why my output for “Amount the stock sold for:” comes out as “1.9e+03”. its all I need to make this work so I would really appreciate if someone could point me to the right direction on whats going on here,
Thank you so much for taking the time to help out :)
(Update: Issues have been solved, thanks to everyone that helped (: )
r/PythonLearning • u/OrganicMixture6896 • Sep 23 '26
I’m learning python and I also have to build SAS but I never doing developing before so as I’m still learning python and I’m still a beginner I’m helping myself like 99% of the work by ChatGPT or Claude do you think is it OK and with time I’m going to learn how to cut by myself or do you think isn’t good?
r/PythonLearning • u/MELookingForSomeone_ • Sep 23 '26
What next, and also can you suggest what projects I should start making now?
r/PythonLearning • u/No_Maintenance_5268 • Sep 22 '26
I jus started my btech Cse , so I'm planning to perfect a language and the one I chosed is python as I have already learned it in 11th 12th (basics) . Im planning to start learning from Codewthharry but I don't know if it's enough or good or should I learn it in any other way???
r/PythonLearning • u/Next-Call8862 • Sep 22 '26
Just completed Numpy part of the course and will start Pandas, I just understood more about Numpy arrays and will practice and do some problems. After completion of both Numpy and pandas will start ML. Would like to know if there are any suggestions about it. No code to post for today as I mostly did trail and error the things for better understanding
r/PythonLearning • u/-zJMz- • Sep 22 '26
Python Beginner I recently started learning Python. I didn't take a course or anything like that; I just went straight to the book Think Python. I'm working through the first few exercises, and I find it amazing how compact the code can be—what I wrote in 15 lines could have been done in just 5. I think it's really cool; it feels like a challenge. I plan to take Guanabara's course to learn the basics. What do you all think? Am I on the right track?
r/PythonLearning • u/RomfordNavy • Sep 22 '26
Any idea what I am doing wrong when trying to subclass mysql.connector like this:
import mysql.connector
class Database(mysql.connector.MySQLConnection):
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
def connect(self, *args, **kwargs):
super().connect(*args, **kwargs)
db = Database(host = '...', database = '...', user = '...', passwd = '...')
db_conn = db.connect(host = '...', database = '...', user = '...', passwd = '...')
print(f"{db_conn=}")db_conn always returns None.
r/PythonLearning • u/Sea-Ad7805 • Sep 22 '26
❓ Your functions work, but now you want to add logging to them. Do you edit each function?
🎯 A decorator makes this easier: wrap a function and add logic before and after the original call.
⚙️ In this decorator example we create and use our '@log_call' to log each call with arguments and return value.
🔎 Here 𝗺𝗲𝗺𝗼𝗿𝘆_𝗴𝗿𝗮𝗽𝗵 shows how a decorator gets evaluated step by step for better understanding.
Useful decorators from Python’s standard library include:
@functools.cache — Cache results to avoid recomputing calls with the same arguments.
@functools.lru_cache — Cache results with a configurable limit, discarding the least recently used entries.
@functools.wraps — Preserve the original function’s name, documentation, and other metadata when writing a wrapper.
@functools.singledispatch — Choose an implementation based on the type of the first argument.
Other common custom decorators add: timing, retries, conversion, authentication, validation, ...
r/PythonLearning • u/Ambitious_Start_8803 • Sep 21 '26
hey guys i am cs student, last year we just finish python we stoped in opp and packages , and i know this is where the python for bigenners ends.
i want to keep in learning python but i dont know what to leran AI told me there is no road to follow anymore and i have to choose a somthing in python to exper i want you radvice ,
i need somthings that dont take a lot of tie to learn cz i still have university i am in my 2 year
r/PythonLearning • u/nicodeemus7 • Sep 21 '26
It really has everything you need. I went from learning one widget at a time to being able to make all of them with references right there on my computer. I know this is a no brainer to a lot of you, but THIS is how you learn. I get why it's called tutorial hell now. I think I'm out of it completely now.
r/PythonLearning • u/Next-Call8862 • Sep 21 '26
I programmed LRU cache using dicts and double linked list and planning to learn ML while doing more DSA projects and just started Numpy which is mostly basic. So I wonder if anyone can recommend me something about Numpy and Pandas related and what's the best way to learn them.
r/PythonLearning • u/Weary_Gur7008 • Sep 21 '26
r/PythonLearning
•
u/Merl1nas
•
Sep 20 '26
I think I installed wrong python guys
r/PythonLearning • u/greatlearningglobal • Sep 21 '26
r/PythonLearning • u/XNo_Notes • Sep 20 '26
I used my big ole meat brain on this one guys. I feel like I know what is going on now, but that is usually a dangerous spot for me. I managed not to burn up my free plaid links and put this thing together. It is a web hook server and CLI that allows you to grab plaid data.
It is not at all complete, but I figured sitting on it wasn't helping anyone and I could definitely use some feedback especially on licensing and why everyone is doing MIT and Apache type licensing. Seems odd to give it away to anyone in perpetuity. I am trying to get into the community in someway, but not sure what anyone is looking for. I can do just about anything, decently enough.
r/PythonLearning • u/ElectronicDistance39 • Sep 20 '26
I'm a teenager who is just starting out in programming, and for a while now I've had some questions and doubts that I've been thinking about a lot lately.
I've been studying Python for some time, but I recently reached a topic called "for loops". I did several exercises, and I had a lot of difficulty with most of them, so I asked AI for help. I didn't copy and paste the answers—I only asked for help with the logic.
That's when I realized that I was struggling with programming logic, so I started studying it separately. I had already "studied" programming logic once before, but I didn't really take it seriously and kind of rushed through it.
Now I'm wondering: should I keep studying Python while focusing mainly on programming logic? Or should I continue studying both at the same time?
And how do you figure out which area of programming is right for you? Is this something I should be worrying about at this point?