[Tutor] Debugging skills

Mats Wichmann mats at wichmann.us
Fri Jan 5 08:56:31 EST 2024


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







More information about the Tutor mailing list