r/PythonLearning • • Jun 11 '26

Discussion I Understand Python While Learning, But Forget Most of It After a Week. How Did You Make It Stick?

47 Upvotes

I am trying to learn Python, but I keep forgetting what I learn after a few days. Looking for advice from experienced developers.

I have around 4.6 years of experience in the telecom domain, mainly in Revenue Assurance, Fraud Management, integration, SQL, Linux, and low-code/no-code tools.

Recently, I started learning Python because I want to move towards Data Engineering and modern data platforms. While studying, I understand the concepts, syntax, and examples. However, after 3-7 days, I find that I have forgotten a lot of what I learned and struggle to write code from memory.

For example, I may understand:

Loops

Functions

Lists and Dictionaries

String Manipulation

But if I don't practice for a few days, I cannot confidently write code without referring to notes or documentation.

My questions are:

Is this normal when learning Python?

What is the most effective way to retain what I learn?

Should I focus more on theory, coding exercises, projects, or repetition?

How did you learn Python and make it stick long-term?

For someone targeting Data Engineering, what Python topics should I prioritize?

I would appreciate advice from people who have successfully learned Python and use it professionally.


r/PythonLearning • • May 14 '26

First GUI project with my first language

Thumbnail
gallery
47 Upvotes

r/PythonLearning • • Sep 29 '25

Numpy

Post image
47 Upvotes

Play of Numpy


r/PythonLearning • • Jul 19 '25

Appending a list

Post image
47 Upvotes

Good morning yall! So im trying out one of the suggestions from a previous post where I allow the program to "learn" new words (adjusting the suggestion a little). Where I am running into problems is I tried using the .add method with {} and it did work, but it didnt quite add the user_response to the positive_response list quite like I hoped so i tried appending a list and it sort of did the same thing.

Long story short: Is there a way to have the response appended, have the script run a new appended list, then finally use .insert(-1) to insert the new response into the first list? or even better is there an easy way to actually add the new word to the list?


r/PythonLearning • • Jun 17 '25

Discussion What Python concepts are you struggling with? Drop in the comments and I'll help you out. No strings attached.

47 Upvotes

So, earlier I made a post to help people struggling with Python. Tldr, a lot of people expressed their confusions about a lot of things in Python. So, I've decided to do a separate thread to collect topics that people are struggling with and do small write-ups to help them understand.

A little background, I'm an ML Engineer currently working @ Cisco.

Comment down below, what concepts/things in Python/ML you would like me to address. I'll do my best to cater to it.


r/PythonLearning • • May 28 '25

Help Request Absolute beginner, I can’t get this to run.

Post image
47 Upvotes

I am using yfinance to get stock data but it returns as:

YF.download() has changed argument auto_adjust default to true [100%] 1 of 1 completed

1 Failed Download: ['AAPL']: HTTPError('HTTP Error 404: ') yfinance version: 0.2.62


r/PythonLearning • • 17d ago

pro at OOPs thanks to u/clcodingupdates... ty bro...

Post image
46 Upvotes

i stayed up all night making this. python day 3 complete.


r/PythonLearning • • Sep 10 '26

Rock paper scissors game in Python

Post image
46 Upvotes

Hello fam, I'm learning Python. My goal is to become an AI engineer. I've a basic understanding of programming. Anyone to guide me on the right certification path... I was having a bit of fun after today's sharpenings. I created a rock paper scissors game... rate and improve


r/PythonLearning • • Jun 30 '26

Day 19 Python Learning

Thumbnail
gallery
46 Upvotes

not much try to make python alarm clock

which can accept user input

date : yyyy-mm-dd

time : hh:mm , AM/PM

and sound input

beep/ music

but any type of sound (music) you must have file

and truth to be told I do forget and get confused when writing like

how to I told python to check if its AM/PM

or try to raise error

I have to write more code properly understand

that's all for today


r/PythonLearning • • Jul 03 '25

I Started My ML and DS Journey! Here's How I did Python Basics!

Thumbnail
gallery
46 Upvotes

Hey everyone!

Based on a friend's suggestion, I started learning Python basics with Programming with Mosh. After that, I explored various roadmaps and now I'm moving on to Python libraries, data structures, and Git.

I've written detailed blogs on these topics, and I'd really appreciate any feedback, tips, or suggestions from this awesome community!

Here's the link to my Notion page with all the blogs: Basics of Python - My Lessons & Blogs

Thanks for reading! I'm excited to keep learning and sharing my progress.


r/PythonLearning • • Oct 11 '26

Help Request Trouble with printing

Post image
45 Upvotes

I’ve been having trouble with an assignment I’m doing and I’m not sure where I went wrong. The only error i’m getting is “‘str’ object is not callable” and i’m not sure if anything else here is wrong.

Edit: After messing around with the code a bit, turns out my code wasn’t the problem and my previous files weren’t printing. After restarting vscode, everything was fine again. Thank you everyone!


r/PythonLearning • • Sep 10 '26

Discussion Husband is a Software Engineer.

45 Upvotes

I...am not. He swears on his life that once I get started with python, rust, sql anything like that that I would be addicted to data organization and since I am inclined to believe that he knows me better than I know myself sometimes.... I would like to surprise him and give it a shot. I was researching and saw the "quick start guide"s for sql and python, and I was wondering if anybody has used them. I know that coding and stuff like that all is on the computer, obviously. However, I learn best with physical media like books to highlight make notes or anything like that in. Anyone have any luck with the python or sql Quick Start guides? If not, do you have any other suggestions? You're going to have to be books, even if it's a YouTube video or podcast, just anything that helped you.

Edited because for some reason I called SQL ->SAP three different times in this post. Sorry...its late.


r/PythonLearning • • Aug 29 '26

Showcase Loving the Journey 🕊️🔖.

Post image
45 Upvotes

Trust me I'm loving the journey. It is so fun to code and solve the problems, I literally think for the whole day, what else unique batman type shi I could do 😅.I wanna listen to your experiences when you started learning Python...


r/PythonLearning • • Aug 25 '26

Showcase bot for football groupchat on whatsapp

Thumbnail
gallery
45 Upvotes

I sometimes go on discord and see how useful bots are in discord servers, and that makes me wish that Whatsapp had something similar. Of course there is such a thing with Whatsapp bots but the official version is for businesses and has strict limitations like the group size must be no larger than eight people. 

So I did some research and came upon an api called green api that allows you to configure a bot for whatsapp.

Using a football api alongside it, I was able to make a bot that gives information when prompted about ongoing games, past league standings (current ones weren't possible for me unfortunately due to being behind a paywall), and goal notifications.

I also took this opportunity since I'm a beginner to implement some SQLite since in the past people in this server talked about how it is better than json for saving static information.

Super basic project but very proud of it so I just wanted to showcase it here


r/PythonLearning • • May 18 '26

Help Request Making a motivational quote generator, what am I doing wrong?

Post image
45 Upvotes

I'm relatively new to Python (3 weeks?)

Still trying to get a grasp on everyhting and working on a project to get better. When it comes time to enter a number from 1-10 it just repeats the number back to me.

I feel like dumb for asking, but that's the only way to learn! Could you guys help me and shine some light on the issue.


r/PythonLearning • • Apr 22 '26 Mindblown

Study Group

45 Upvotes

Hello everyone,

I just wanted to ask and see if anyone is interested in forming a small dedicated study group for python. I think it would help me while learning to have other people to discuss subjects with and to maybe challenge and push each other through things.

If you’re interested let me know!

Edit: This blew up way bigger than I thought it would! I tried to keep up and invite everyone that wanted in but if I did happen to miss you, shoot me a dm and I’ll send you the link


r/PythonLearning • • Aug 21 '25

Just Escaped Tutorial Hell : Built My Own Python Port Scanner + Os Detection 🔥

Thumbnail
gallery
45 Upvotes

r/PythonLearning • • Jul 12 '25

Free Python Course

45 Upvotes

Let me start with my story of how I began learning to code. I fell into the same trap as everyone, I fell in love with coding because of the cool stuff you can do like build a game, control a robot, make an AI, build a website or app like Instagram and so on. But, I didn't know where to start, and so I just followed coding tutorials on youtube and udemy thinking that being able to listen to their thought process would help me. By the way, overtime this can work, but if you are a complete beginner, I advise you stay away from that.

The moment I actually got good at the fundamentals of programming was when I took CS50 intro, CS50 AI, and a C course I had in my first year of university. The reason these courses made a difference is because they had a lot of exercises, projects, and they focused on programming and cs fundamentals rather than syntax or teaching concepts on a very basic level with simple examples like build a calculator.

So, I decided to make a single course that teaches the fundamentals of programming with python. I kept in mind what I wish I had in my first course to help me to transition to the real cool fields of software like databases, AI, web dev, and so on. I am also keeping it free forever because I think this is just the very first step that opens a lot of doors in the field, and I think id everyone monetizes this step, beginners will never be able to get to the cool stuff.

Here is the free resource: https://share.google/2tsxQz144XTfvTmJd. There is also a survey in this course that I recommend you guys do so I can improve the course.


r/PythonLearning • • Jun 10 '25

Showcase First python "project"

Thumbnail
gallery
45 Upvotes

I recently switched to Linux. Since Elgato software is not available for linux, I wrote this little script to toggle my Keylight. I use this within the streamdeck-ui application to comfortably turn my light on and off or change the brightness.


r/PythonLearning • • May 14 '25

Help Request I do not get classes and objects

45 Upvotes

Hey everyone,

I’ve been learning Python for a while now and I keep running into classes and objects, but I just don’t get it. I understand the syntax a bit, like how to define a class and use init, but I don’t really understand why or when I should use them. Everything just feels easier with functions and variables.

I know that object-oriented programming is super important, not just in Python but in almost every modern language, so I really want to get this right. Can someone please explain classes and objects in a way that clicks?


r/PythonLearning • • Mar 28 '25

am the only coding like this in Python?

45 Upvotes

r/PythonLearning • • Jan 27 '25

What is wrong with my script

Thumbnail
gallery
45 Upvotes

I’m trying to run a script that will tell you your birthstone when you enter your birth month.Yet every time I run the script & enter a month , it produces the same outcome (garnet)

Even though I attached garnet specifically to the month of January

Can anyone tell me what is wrong with my code


r/PythonLearning • • 8d ago

Why Python Is the Best First Language?

44 Upvotes

Out of hundreds of programming languages, why start with Python? You could almost read its code out loud.

Printing one word in C takes several lines of setup. In Python it's one line. Less noise means your brain goes to the problem. Python also ships with a huge toolbox, there's a free add-on for almost everything else, it's free itself, it runs on Windows, macOS and Linux, and so many people use it that most errors you hit already have answers online.
Youtube: AmirZareDev

#python #learnpython #programming #coding


r/PythonLearning • • Aug 15 '26

Help Request I've been at this for too long and feel like I'm torturing myself

Post image
44 Upvotes

I know there's more efficient ways to do this but I'm just starting out and am trying to understand how the few tools I have work. Just learned about true and false and wanted to try them out..

Only whenever I enter key = 3 I receive my print "error". I've heard about "global" tried to use that and a bunch of other stuff and I can't seem to make it work...

I just want to know how to change a variable to true or false inside a function: if statement and it keep its new value for the rest of the code

Thanks in advance and sorry for your eyes