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

Python • Re: except KeyboardInterrupt error

$
0
0
I'm not a Python expert, 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.

Statistics: Posted by rpdom — Thu Dec 19, 2024 2:16 pm



Viewing all articles
Browse latest Browse all 1251

Trending Articles