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

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

Statistics: Posted by gordon77 — Thu Dec 19, 2024 3:12 pm



Viewing all articles
Browse latest Browse all 4785

Trending Articles