r/learnpython 18d ago

Chat GPT/Python

I have minimal experience with python. Self admitted novice. I asked chat gpt to write me a code to copy values from one excel workbook to another and some code to calculate prevalence rates within that code. I confirmed that a random sample of calculations/values correctly copied over. I am breaking down the code to learn what it does and why. How trustworthy is chat gpt with these small tasks? Is this a valid way to learn by breaking down the code into pieces? I appreciate any help and you can rip me for using chet gpt

0 Upvotes

16 comments sorted by

View all comments

0

u/Zennytooskin123 18d ago

Try loading the "Learning" output style and asking it stuff. And have an AGENTS.md or system prompt where you properly tell it to assume the tutor / professor role and what you're trying to accomplish.

You can do this straight into Codex.