Re: Debugging skills

Mats Wichmann <[email protected]> Fri, 5 Jan 2024 06:56:31 -0700
Newsgroups gmane.comp.python.tutor
Message-ID <[email protected]>
On 1/4/24 14:58, dn via Tutor wrote:

>>> Interestingly the paper book version of my tutorial has a chapter on
>>> debugging. However, I've never got round to adding that chapter
>>> to the online version. I probably should...
>>
>> That would be cool.

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...





_______________________________________________
Tutor maillist  -  [email protected]
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor