Re: Debugging skills
dn via Tutor <[email protected]> Mon, 15 Jan 2024 22:27:19 +1300
| Newsgroups | gmane.comp.python.tutor |
|---|---|
| Organization | DWM |
| Message-ID | <[email protected]> |
On 15/01/24 17:16, dn via Tutor wrote: > On 6/01/24 02:56, Mats Wichmann wrote: >> while we're nattering on a whole range of sort-of-debugging topics, >> here's something I've occasionally wondered about, when a beginner has >> written something that makes sense only to them, not to the Python >> interpreter. Regexes are confusing, so there are several websites >> (see for example regex101.com) where you can enter your "code" (regex) >> and as it's interpreted, will show you an explanation in words in a >> separate pane. Does anyone know if there's a similar thing for Python >> code? "This is what you wrote actually means to the interpreter". >> Ones I know about (like at Programiz, w3schools, online-python) don't >> attempt the explanation part. It's not something that's likely to be >> useful for very many cases, but I could see where in the beginning >> there might be some benefit... Re-reading recent post - when copy came [back] from the reflector, I wondered about LLMs. If you come across someone who lands in just such a problem, where his/her mental model is considerably at-odds with the interpreter; it would be very interesting to see if/how an LLM helps them through. Alternately, if you can recall such circumstance, I'll be keen to try to reproduce and to experiment... -- Regards, =dn _______________________________________________ Tutor maillist - [email protected] To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor