Jul-26-2017, 06:45 PM
(This post was last modified: Jul-26-2017, 06:46 PM by sparkz_alot.)
Typically, you put all imports at the top of you script.
You want to add a colon at the end of your if statements and indent the line after the if statement, also you don't need the parenthesis:
You want to add a colon at the end of your if statements and indent the line after the if statement, also you don't need the parenthesis:
if answer == "no": sys.exit()
If it ain't broke, I just haven't gotten to it yet.
OS: Windows 10, openSuse 42.3, freeBSD 11, Raspian "Stretch"
Python 3.6.5, IDE: PyCharm 2018 Community Edition
OS: Windows 10, openSuse 42.3, freeBSD 11, Raspian "Stretch"
Python 3.6.5, IDE: PyCharm 2018 Community Edition