Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4906

Python • Re: except KeyboardInterrupt error

$
0
0
I'm not a Python export, but it looks to me that the indent is wrong on the "except..." block. It should be the same level of indentation as the "try:" line, not the "with...:" line.
I agree..
You agree that I'm not a Python expert? :lol:

Statistics: Posted by rpdom — Thu Dec 19, 2024 5:07 pm



Viewing all articles
Browse latest Browse all 4906

Trending Articles