I've converted a python script to an exe file using pyinstaller, whenever I open the exe the program, it flashes for a second and automatically shuts down itself.
The program is a simple one. Here's the code snippet:
print("Hello World")
I've converted a python script to an exe file using pyinstaller, whenever I open the exe the program, it flashes for a second and automatically shuts down itself.
The program is a simple one. Here's the code snippet:
print("Hello World")
Copyright © 2021 Jogjafile Inc.
Add something like
input("Press something to exit")ortime.sleep(10)function at the end of your programm to have a standby at the end of the main function