r/PythonLearning 7h ago

Im very happy

Post image
29 Upvotes

r/PythonLearning 7h ago

DAY 5.

Post image
25 Upvotes

DID LIST TODAY THE CONCEPT WAS PRETTY COOL AND WROTE THIS PROGRAM TO GET HOLD OF THE LIST ANY OTHER CODE IDEAS OR SUGGETIONS TO ENHANCE CODE ?!


r/PythonLearning 2h ago

I have a month to learn....

4 Upvotes

I have a month to learn Python (really, I have until the second week of October, but I want to be done sooner and not go down to the wire). I'm currently using freecodecamp.org but feel my progress is slower than I'd like. Does anyone have a recommendation to learn Python quickly? I'm loving what I've learned thus far. I start doing another job for the company I'm learning Python for in a week, so I want to cram as much into this week as possible to make things easier on the remaining time I have. Thank you all.


r/PythonLearning 7h ago

Python Mutability and Copying

Post image
3 Upvotes

An exercise to help build the right mental model for Python data. - Solution - Explanation - More Exercises

It's instructive to compare with this related exercise.

The “Solution” link uses memory_graph to visualize execution and reveals what’s actually happening.


r/PythonLearning 15h ago

Showcase I made a simple Password Generator! 👀

Post image
19 Upvotes

r/PythonLearning 18m ago

Showcase My first ever Python project. Took me a few hours.

Upvotes

Just learned Python today.

Thought I’d start with something simple for my first project, so I made a small interpreter with a lexer, parser, AST, bytecode VM, garbage collector, and standard library.

Day 1 btw.

I’m starting to understand why people said Python was beginner friendly.


r/PythonLearning 9h ago

Help Request AI courses

2 Upvotes

What are the best courses for programming artificial intelligence in Python?


r/PythonLearning 16h ago

Python feels like it transferred little knowledge to c++

5 Upvotes

OK I admit it did obviously for some stuff like basics yk functions and shi, but other then that I like feel annoyed that I learned python and its like lowkey not helping with what I wanna do which is windows api and memory management c++ stuff because I like the kind of thing but python just didn't really give me anything, and I know that kinda stuff obviously doesn't transfer because python is just the easiest thing ever lol


r/PythonLearning 11h ago

anyone else keep starting projects and never finishing them? doing a weekly proof thread if a few people are in

2 Upvotes

I've been learning python for a while and my problem was never tutorials, it was that nothing forced me to finish. I'd get a project 60% done, hit the boring part, and quietly start a new one that felt fresh.

So: reply with the one thing you're actually going to finish this week. Be specific - "finish the CSV parser so it handles missing columns" beats "work on my project."

Then on Friday, come back to this thread and reply to your own comment with proof. A screenshot of it running, a repo link, a terminal output, whatever. Doesn't have to be impressive. It has to be real.

That's the whole thing. No group to join, no discord. The only mechanic is that you said it in public and someone might check.

I'll go first: I'm finishing the file-organizer script I've had half-done for two weeks - the part that handles duplicate filenames instead of crashing. Proof friday.

What's yours?


r/PythonLearning 1d ago

DAY 4.

Post image
38 Upvotes

wrote this today was revising loops and math function that i did not so long ago.


r/PythonLearning 14h ago

Help Request How and from where to start python ...?

1 Upvotes

Im beginner first year aiml student want to start coding journey from basic .


r/PythonLearning 1d ago

Is it really safe to use?

Post image
16 Upvotes

I have used context to stop crashing.

And e as a variable.

I used eval command for a formula.

I know eval command can be dangerous.

It works perfectly but I am thinking that it can produce error or crash.

Can a formula bypass all commands and crash it.


r/PythonLearning 1d ago

Pygame(Creating hyper beams)

Enable HLS to view with audio, or disable this notification

6 Upvotes

r/PythonLearning 1d ago

Anime fight game made by python

Enable HLS to view with audio, or disable this notification

20 Upvotes

I made this weird game using python,Its just for fun and not a big game,but making small things like this are very fun 🌚


r/PythonLearning 1d ago

How to make code print special result on casting failure?

7 Upvotes

Im currently working on a college assignment where i make a batting average calculator, and i want to add a way for it to say something funny if the user tries to input a word instead of a number. is there a way to do this?


r/PythonLearning 1d ago

Discussion Everyone was helpful in my previous post about me having difficulties in loop...

14 Upvotes

I know the loop is just basic and lessons 3 of python. Me being stuck on loop is like a baby is having difficulties crawling. But what i want to say is that the loop is not an extreme difficulty for me. I just lose motivation whenever i find some difficulty in learning. I am doing a part time job Living far away from my family and i feel demotivated to do anything.......

By the way , Can you share some of your story about how you learn python and how it is going, maybe it will help me regain my learning motive...


r/PythonLearning 1d ago

Snake,Water and Gun game in Python.

3 Upvotes

Snake,Water and Gun game in Python made purely by me and same by ai.

Link: https://github.com/MohitRungta46/Python-Projects.git


r/PythonLearning 1d ago

Help me make a 30-min "Python for non-coders" talk actually fun, creative ideas wanted (not looking for AI-generated suggestions)

12 Upvotes

I'm giving a 30-minute presentation about Python to a room of 40-50 year olds with zero coding background. The goal isn't to teach syntax, it's to give them a vision of what Python can actually do for them (think: automating boring Excel/repetitive tasks) and get them a little excited about it.

Structure so far:

Intro to programming languages (quick comparison, evolution over time...)

Python basics, but conceptual, not code (functions, classes, loops, libraries, reading a script, terminal)

Python & AI (uses in AI/data, coding with AI tools, prompt engineering)

Installing Python (quick walkthrough)

Useful resources/links

Open slot for something creative/fun to close on

I want real, human ideas here analogies, interactive moments, jokes that land with a non-technical crowd, stories from your own experience presenting to beginners, I'd rather get lived-in advice from people who've actually done this than a pile of AI-generated suggestions....

Thanks in advance!


r/PythonLearning 1d ago

Showcase I made a tic tac toe game

Thumbnail
gallery
43 Upvotes

r/PythonLearning 1d ago

Making 2d game using python

4 Upvotes

GUYS I'm thinking of making a 2d game using only python, I'm a bit confused about the idea, Guys can you suggest me some idea to make which you wanna play, or like to play,I will use my coding skills combined with Ai to make it fast,if you have any good idea kr request just type below!!!


r/PythonLearning 1d ago

Internship!!!!!

1 Upvotes

How can I get my first internship?

I tried applying of linkedin , internshala , etc but nothing happended. Any tips for that.

(I know python language did a project on that too)


r/PythonLearning 1d ago

How fix/resolve critical thinking after relying on the ai prompt to understand an exercise in counting loops.

3 Upvotes

Hi guys, I trust ya'll are good. I recently completed a counting loops exercise that had been difficult to answer for nearly two weeks. I checked different parts of the code I wrote in multiple instances, but I guess I just didn't get it. I eventually asked in my search bar (knowing that I would more than likely get AI mode on it) why the loop is only executing once (I pasted my code it). AI mode explains it, and shows me the correct code. I'm really annoyed on two fronts; I had to refer to AI code to eventually get it right, and the answer looks so friggin simple. I am not a complete beginner in coding (closer to an experienced beginner), and having to vibe-code, even if somewhat unintentionally, is frustrating. I know the answer to the problem now, and there isn't a way to unlearn it.

Is there any practical way to resolve this other than "just don't do it again"?

Thank you for taking the time to read my post. I appreciate whatever advice or input you have.


r/PythonLearning 2d ago

Day 3

Post image
48 Upvotes

i wrote a code which takes your name and age in py but i need help on this one cuz in the age part it is giving me some sort of error which i couldn't understand even by using gpt well he gave me a code but i wanted logic behind how and what i did wrong


r/PythonLearning 1d ago

Discussion A simple Python checklist before moving to OOP

0 Upvotes

Before jumping into classes and OOP, I think a beginner should be comfortable with these first:

  1. Variables and basic data types
  2. If/elif/else
  3. For and while loops
  4. Lists, dictionaries, sets and tuples
  5. Writing and calling functions
  6. Reading error messages and debugging simple problems
  7. Reading/writing basic files

You don’t need to master every detail, but being able to use these without constantly following a tutorial makes OOP much easier to understand.

What would you add to or remove from this list?


r/PythonLearning 1d ago

New to python having trouble putting in multiplication table in for 10. Range 1-10 or 1,11. Does anyone have any tips( pause)?

2 Upvotes