I originally wrote some code in python on my windows device, which I then converted to an exe. The application (and exit sequence) work great. Here's the code:
close = input(">>")
while close != '' \
'':
print("Invalid input - try again")
close = input(">>")
if close == "" \
"":
print("Exiting...")
exit()
I then used the same code in python on Ubuntu so I could create a Linux-friendly version. The exit sequence no longer works and says: NameError, name "exit" not defined. What do I do to make it work on Ubuntu? Thanks!