r/PythonLearning • u/Moist-Image-7976 • Jun 19 '25
Help Request Ii need help on line 12 that's where it says my error is
What would you guys do different?
Cuz I'm trying to run it it says something's wrong on line 12
r/PythonLearning • u/Moist-Image-7976 • Jun 19 '25
What would you guys do different?
Cuz I'm trying to run it it says something's wrong on line 12
r/PythonLearning • u/Autism1c999 • Feb 22 '26
I’m wondering if python could be used for online business’s I could make money from (because I’m 14 and am broke💀) and if so what businesses could I do from it? I’ve already learned the basics of python and am currently trying to work on figuring out all of the advanced stuff now.
r/PythonLearning • u/i_am_sooo_done • Jun 28 '26
I'm doing a course on Python from Udemy, the Angela Yu course. Anyone doing something similar and would love to learn together? I'm tired of learning in silo and would love a learning buddy
r/PythonLearning • u/SharpScratch9367 • Jul 16 '25
What’s the point of putting “7+1” instead of just putting 8? The tutorial said so that 7 is included but why would you just put (2,8): ?
Many many many thanks !!
r/PythonLearning • u/themaninthechair711 • May 26 '25
topics:
Loops(for & while)
loop operations(continue, break & pass)
OVERANDOUT.........
r/PythonLearning • u/CompetitiveJob6691 • Apr 27 '26
Hello, friends. I'm the owner of a Russian PUBG clan, and my team and I decided to create a neural network for clan players to communicate with, ask for advice, and so on, But we ran into a problem: our team only has a Python tester, so we can't write code for the AI properly, and we have to generate code using other AI It brings a lot of difficulties, distortions, and inconveniences. So we ask for your help in correcting errors and assisting with the writing. If anyone wants to read it, please write to me in private.
r/PythonLearning • u/ProfessionalStuff467 • Aug 27 '25
In fact, I feel that most of the programmers here are males, and I feel that I am the only girl here. Is this true?
r/PythonLearning • u/[deleted] • Mar 27 '26
The main thing I’m trying to understand is whether a tool like this is actually useful for learners, especially for things like:
explaining Python code
helping debug errors
reviewing simple scripts
showing what could be improved in beginner code
I’m still early, and I’m much more interested in honest feedback on what would actually help people learn better than in pushing it as a finished product.
For people learning Python, what would be most useful in a tool like this?What would you want it to do well, and what would probably not matter much?
r/PythonLearning • u/Educational-Force776 • Oct 27 '24
r/PythonLearning • u/Ibraguy123 • 20d ago
I am currently enrolled in AP CSP, and even if Python is not required by Collegeboard, our curriculum requires that we do python and earn the certification. I have been learning python since last year, and I learned the basics with great difficulty of course. I struggled with lists, loops, and functions, but later I mastered the basics. Now, I find myself in the same struggle, because I did not learn certain things last year. There was a huge gap between what I have learned, and what I am already supposed to know. The scariest part is that my python certification test is right around the corner, and I don't know what will work for me to master the gap in a month. I used to learn python through tutorial videos, but in my current year, we are not doing this. Are there any better ways for me to clear the gap? Thank you.
r/PythonLearning • u/due007dev • Jul 01 '26
I'm looking for beta readers for a two-book Python series — book 1 is already out, book 2 is almost done. Here's the deal:
You'll get both books as Google Docs (one chapter per doc), so you can just drop comments right in the text. I'm not asking anyone to read hundreds of pages front to back. Read whatever chapters interest you, at whatever pace works for you. If something confuses you, that's useful feedback. If an explanation feels obvious or unnecessary, that's useful too. Honestly that's the main thing I'm after.
Would love to hear from:
people with zero Python experience
people currently learning
students / junior devs
experienced devs too, if you want to poke holes in it
I'd really like this to be a collaborative thing. If enough people tell me what confused them, what was missing, or what worked well, I think the books will end up much better than if I'd just written them on my own.
If a handful of you end up being really active readers, I'll credit you in the acknowledgements when the books are published (totally optional, no pressure).
If you're up for it, I just need a first name and Gmail address so I can add you as a commenter on the Google Docs — you can either fill out this quick form or just DM me directly, whichever's easier: https://forms.gle/tcBoKGczqoFXUEjp7
A bit about the books, for context:
I've read a ton of programming books over the years, and most of them are written by experienced devs who've kind of forgotten what it's like to be a beginner. They're technically fine, but I'd often find myself understanding how to do something without really getting why it works that way.
I've been a Python dev for over a decade now, and at some point I just decided to write the book I wish someone had handed me on day one. Instead of random code snippets, the books build small games that slowly turn into bigger projects as you go. I also threw in some pop-art style illustrations and tried to keep things a little less dry than the usual programming book.
📘 Book 1 — starts from literally zero, no experience needed
📗 Book 2 — gets into built-in functions, type hints, iterators, generators, lambdas, classes, modules, packages, etc.
And yeah, I'll admit it upfront before someone else points it out — I named them The First Programmer's Book and The Second Programmer's Book. Not the most creative titles in publishing history, but hey, at least you'll never forget which one comes first 😄
Book 1 is already published, but I'm still improving it based on reader feedback. I'm not fishing for reviews or trying to sell you anything, I just want honest feedback. Book 2 is close to finished, so this feels like the best time to catch anything before it's locked in.
Thanks for reading!
r/PythonLearning • u/LostPaleontologist49 • Apr 17 '26
r/PythonLearning • u/mayonaiso • Oct 06 '25
Does anyone have any library where I can find most functions at least of random numpy and matplot Basically I can have one of those for a exam I have and I do not know where to start (I code more or less good for what I need in class but I don't know most functions) Thanks in advance
r/PythonLearning • u/Dev-Manish • Jul 28 '25
Is reddit helps me to learn python or not if yes so how
r/PythonLearning • u/thelemonnnnyone • Jul 10 '26
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 • u/Crazy_Ad1803 • May 25 '26
r/PythonLearning • u/TheCarFamily • Oct 15 '26
I am a beginner to python. I want to make a script where if i press t it'll bring up a little chat window to make a pngtuber typa thing yap, the main space i'm struggling with is A, python or pygame would i do this in? '>' And B, How would i display the text said by the face?
any help is helpful
have a good day
r/PythonLearning • u/CurveStrange3084 • Jun 08 '25
Why wont it work i got the latest version of python 3.13.4 im new to using pc on coding because i use my phone and i dont know how this works help😭
r/PythonLearning • u/omarlvecpp • 18d ago
Am I the only one who thinks Python libraries, especially pandas, have a serious API design problem?
Don't get me wrong, pandas is incredibly powerful, but I feel like it sacrifices developer experience for flexibility.
Look at something as simple as creating a DataFrame. pd.DataFrame() accepts dictionaries, lists, NumPy arrays, Series, and a bunch of other things. Even dictionaries can be interpreted differently depending on their structure. You also have DataFrame.from_dict() with its orient argument.
Why can't we have a more explicit and consistent interface? Something like:
pd.DataFrame(source=data, orient="index")Another thing that bothers me is the sheer number of methods that often have overlapping use cases. Just look at apply(), map(), transform(), and agg(). Yes, they serve different purposes, but remembering which one to use, what objects support it, and how their outputs differ becomes a mental burden.
And this isn't just about pandas. Look at merge(), join(), and concat(). Different operations, sure, but there's a broader issue here: Python libraries seem to keep adding more methods and functions instead of thinking about how their APIs fit together.
I know someone will say "just read the documentation" or "you'll get used to it." But what about reading other people's code? Shouldn't code be immediately understandable without having to memorize an entire library's vocabulary?
I'm not asking for less functionality. I'm asking for better API design. More consistency, more explicit arguments, fewer unnecessary variations, and a more predictable way of doing things.
Honestly, I'd love to see a higher-level library built on top of pandas that focuses specifically on this.
Am I missing something, or do other people find this frustrating too?
r/PythonLearning • u/memeeloverr • Jul 04 '26
I've seen one-line solutions that are technically impressive but take longer to understand than 10 lines of simple code.
Would you rather write more lines that anyone can understand, or fewer lines that look clever?
r/PythonLearning • u/Synergetic6_6_6 • Aug 22 '26
I just can't get over how I'm supposed to write code for complex tasks when I don't even get why they overcomplicate simple things so much.
I read this topic and tried many tutorials and still don't understand this buzzare logic.
r/PythonLearning • u/Opposite-Sun-3640 • Sep 05 '26
So backstory: Someone made fun of me because I am learning Python with ai. His only argument was that ai is the same tool to create explicit images and that he used to visit stack overflow and create snippets, I then replied that I only use it for learning development but then got called an idiot and got blocked.
But that got me wondering. Is it bad that I learn Python with AI?
I set GPT a goal, I want to reach: Stage 1. learn that. Stage 2 Learn this
I also custmomized the personalization to not blindy say yes and to double check things and so on.
GPT never gives me code, it just tells me which projects I should do with the stuff I learned, it does that till GPT thinks I know how to use it and when to use it.
But I feel bad now that I am just talking to an artificial intelligence and not visiting stack overflow like that one person did.
I want to hear your opinions. Is AI bad for learning or good if used right.
r/PythonLearning • u/Greedy-Repair-7208 • Aug 14 '25
What is wrong and why is init not working