I have a simple python script that is printing time every second:
import time
while True:
localtime = time.localtime()
result = time.strftime("%I:%M:%S %p", localtime)
print(result)
time.sleep(1)
I use pyinstaller --onefile myclock.py to create an executable.
However, when I run the executable, i cant terminate it by ctrl c or ctrl
z. Any idea why? Any work around?
--
You received this message because you are subscribed to the Google Groups
"PyInstaller" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/pyinstaller/d435cca7-c3d1-4399-9342-a52dbc044811%40googlegroups.com.