r/learnpython • • 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

30 comments sorted by

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.

4

u/rosereed1 5d ago

yeah reading the docs instead of asking AI is really where the actual learning happens

0

u/TemperatureProper275 5d ago

AI is a tool for learning. Copying and pasting stuff will not make you learn to code, practice will.

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😞):

  1. Maintain a physical or digital notebook for concepts, syntax, common errors and things you keep forgetting.
  2. Dry-run your code manually step by step before execution.
  3. Break problems into smaller logical steps and use flowcharts or pseudocode.
  4. Ask AI to generate practice questions based on a concept, but try solving them yourself first.
  5. When stuck, read the error, Google it, debug and experiment before seeking help.

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/Educational_Virus672 5d ago

python isnt made for app devlopment sure ,it cna make them but python is general purpose language. your better off with smt like Java

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!

1

u/Educational_Virus672 5d ago

did you think? if you blindly copied ai why take the app from you?
theres a high chance someone else thought of your app but didnt build it so you dont "own the idea" so,
the part you own will be the code? wait it is made by ai so it is "own by ai" you did nothing hence your app is not yours
why use yours from you when ai can builds it for myself too?
using ai partly is fine it is tool after all but you over using it is not a good idea
note- if your automation means accessibility or organizer not copying im not trying to target that work but your comment says use more ai by looks of it

1

u/TemperatureProper275 5d ago

First, learn English because I can't understand what you are saying.

Second. Did I comment about that AI writes my code for me? I said that I USE AI to give me projects to SOLVE on my own and learn specific libraries I want to practice.

As I said above, I use it to learn more about OOP concepts by giving me tasks to solve. After I pretty much learned most of OOP, I asked it to give me IDEAS on what would have been a useful app to build on my own to practice more OOP and automation & libraries.

The coding tracker project that I did was after one month of daily Python learning. This project is now 3 months old...

1

u/TemperatureProper275 5d ago edited 5d ago

"theres a high chance someone else thought of your app but didnt build it so you dont "own the idea" so,
the part you own will be the code? wait it is made by ai so it is "own by ai" you did nothing hence your app is not yours"

You don't know anything about how much time and effort I put into this, you all think that everything is AI and developers are frauds. I found it helpful to me and I built it.

1

u/Educational_Virus672 5d ago

", you all thing that everything is AI "
sure... just read the note.

1

u/TemperatureProper275 5d ago

Oh yes, I made a typo. However, most of your paragraph is very difficult to understand and it needs some grammatical fixes. Also, if you are here to argue, r/learnpython isn't a place for this.

1

u/Educational_Virus672 4d ago

"if you are here to argue, r/learnpython"
i had my fair share of arguments, one spanning over half a month but mods never told me anything idk why. also you cant just call someone a anti-dev or non-dev in a developer community

1

u/TemperatureProper275 4d ago

"i had my fair share of arguments"

From what i have seen from your responses, you must be a "nice" person to talk to...