파이썬 엑시트 프로그램
import sys
sys.exit()
파이썬에서 프로그램을 중지하는 방법
import sys
sys.exit()
파이썬에서 코드 실행을 중지하는 방법
#to stop all execution of code
exit()
# Do stuff
stop = input("Would you like to stop the program? ")
if stop == "y":
exit()
else:
# do stuff
프로그램 파이썬 중지
# Do stuff
stop = input("Would you like to stop the program? ")
if stop == "y":
exit()
else:
# do stuff
를 중지하는 방법 pythonw
taskkill /IM pythonw.exe /F
비단뱀을 멈추는 법
taskkill /IM pythonw.exe /F