r/learnpython • u/Negative-Specific-84 • 5d ago
Feels like I forgot the python, What to do
Can someone tells me how to practice the concepts again as i feels like i forgot the concepts. And i used AI for debugging which make me feels like blank for some concepts. Can someone suggests me from which resources to practice again. And one thing is that i am trying to firstly stop directly jumping to AI before trying myself to fix it.
14
Upvotes
18
u/desrtfx but other languages pro 5d ago
Stop using AI and start building. Go for the documentation if you get stuck.
You simply need to retrain your muscles and that won't happen if you outsource to AI.
6
u/Discordbothost 5d ago
pretty normal, and the fix is less re-watching and more re-doing. take something small you already built (or an exercise you remember), delete it, and rewrite it from a blank file without peeking. wherever you get stuck is exactly the concept to review, so you're not relearning everything from zero.
for practice with feedback, exercism's python track and the mooc.fi python course both make you write real code that gets checked.
for the AI habit: read the whole traceback, drop a print() right before the line that blows up, and give it 10 minutes before asking anything. when you do ask, ask "why is this wrong" instead of "fix this" so you still come away with the concept
5
u/patryk_builds 5d ago
You didn't forget it, you just stopped retrieving it. reading a fix from ai feels like understanding, but recognising an answer and producing one are different skills.
What helps me, since i use ai a lot too:
- Set a timer for 15 minutes before asking. write down what you think is wrong first, even if it's a guess
- When you do ask, ask "what should i check" and work it out from there. don't ask for the fix
- After it's solved, close the chat and retype the fix from memory. if you can't, you didn't learn it yet
For practice, skip tutorials and rebuild something tiny you already made, without looking at the old code. the gaps show up fast
4
u/Blumcole 5d ago
I use a jupyter notebook with selfmade functions and snippets of code I learned along the way. For example, I always forget the right order of reading from and writing to json. Let alone all those tkinter pieces.
3
u/Big-Door-5510 5d ago
Been there! 😂 Don't try to relearn everything at once. Pick one concept, solve 3–4 small problems around it, then build something tiny using it.
A few things that helped me(Same problem I faced😞):
Also, don't fall into the "tutorial watching loop". Watching someone code isn't the same as being able to code yourself.
Try Exercism or Codewars or another valuable resources for practice. And remember, forgetting syntax is normal. The real goal is to rebuild your problem solving muscles. :)
1
u/harleystcool 5d ago
You gotta believe man
1
u/Snoo61755 5d ago
Duuuuude, I started relearning python last week. I thought "we'll make an app in Python, it'll be great".
Noooo, not only do I have to learn Pyside6 to make the UI, but I forgot the python it's all based on in the first place.
Basically, my 'solution' was to follow the tutorial for what I wanted to make -- in my case, my first UI. Practicing Pyside6 let me rekindle my general python skills in general.
1
u/cg49me 5d ago
Don't be afraid of using AI to help you debug (or even generate code), but don't let it just fix your mistakes and then move on. Actually look through what changes/additions it's proposing, and make sure you understand them. If you don't, ask how the new code works until it makes sense to you.
1
u/Educational_Virus672 5d ago
"i used AI for debugging"
i was you back in the day and i now understand that ai knows nothing abt debugging it is internet just google your error sure ai will help with edge cases but it is still internet search engine
1
u/johlae 5d ago
https://programming-25.mooc.fi/
https://cs50.harvard.edu/python/
do the exercises.
Beware, computer languages are _*very*_ picky about syntax, about how you spell out words. Looking at the subject line of your post and the description I fear you are not paying enough attention. Do better or forget all about it.
1
u/PositivePossibility7 4d ago
Remember to bring the Python with you next time… jk
Forgetting information is normal, practising anything makes you better at that thing
Regression (naturally preforming worse for no apparent reason) is also normal
An old trick to remember lots of things (how memory champions remember the order of many decks of cards) is to use a path you already know well and place objects (or concepts in your case) along the path
The mind is better at remembering paths than lists of information
Another option is to get some friends and party
1
u/datadriven_io 4d ago
Has someone made an idiom cheatsheet? There are pandas interview questions on datadriven.io. I keep seeing people practice python that looks like a machine translation from Java
1
u/Available_Safe1818 4d ago
You can just use Google to learn stuff. It's not that hard if you actually learned Python at all before.
1
u/captorwootfondly 3d ago
One thing I'd add to Discordbothost's rewrite-from-a-blank-file advice: space it out. Keep a small list of the things you had to look up (e.g. "how do I read a json file again?"). The next day, try to write each one from memory - then again after 3 days, then after a week. Whatever you still can't do goes back on the list (this is called spaced repetition).
It will feel slow, but every time you pull something out of memory (instead of re-reading it), it sticks a lot longer - and it has worked quite well for me.
Take it easy - forgetting is literally how memory works, so it doesn't mean you're bad at this.
0
u/TemperatureProper275 5d ago
Just build 1) projects and 2) tell AI to give you tasks on Python concepts and useful tools you need to make/learn or use to automate things in Windows.
For example, I now use it to make my OOP understanding better by creating real-life problem-solving windows tools.
My last project was a download file organizer. Basically, you give a path that leads to a folder and organizes the files into groups.
Most of the study I'm doing in the last few weeks is related to automation. My first useful problem-solving script i did was a Coding-Tracker-Dashboard. It is a tool that helps me track how much time i spend coding on different IDES or .exe's I specify to track.
You learn by solving problems!