quit program
This commit is contained in:
parent
5b7fa586a0
commit
53b4c5cbcb
6
it/Q.py
6
it/Q.py
@ -1,8 +1,4 @@
|
|||||||
from sys import exit
|
from sys import exit
|
||||||
|
|
||||||
def main(buffer, argv):
|
def main(buffer, argv):
|
||||||
if len(argv) > 1:
|
return 0
|
||||||
print("?")
|
|
||||||
else:
|
|
||||||
exit(0)
|
|
||||||
return buffer
|
|
||||||
|
4
it/exit.py
Normal file
4
it/exit.py
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
import sys
|
||||||
|
|
||||||
|
def main(buffer, command):
|
||||||
|
sys.exit(0)
|
Loading…
Reference in New Issue
Block a user