Answers for "close app python"

8

exit in python

import sys
msg = "bye bye"
sys.exit(msg)
# you can use it with out a msg
Posted by: Guest on May-09-2020
-1

create close python program in puthon

import os
os._exit(0)
Posted by: Guest on April-13-2021

Python Answers by Framework

Browse Popular Code Answers by Language