I have a question in python script that I've build in while
how can I close the full window of (cmd.exe) depending on IF/ELSE statement
like
#python script:
if x = 1 :
#script_continue..
else:
print('ops')
exit() #close the total cmd.exe window automatically not just the python script
I try different methods but not work as I want
Thanks.