I'm trying to compile my tcountdown.py
into a .exe
file with pyinstaller
. I've read some manuals and watched YouTube tutorials about it and all saying the same (which I did): [cmd: c:/**/*>pyinstaller --onefile -w -F tcountdown.py]
. cmd has the same path as the .py's and it compiles a .exe file. But when I run tcountdown.exe
it doesn't start tpopup. When I run tcountdown.py
with cmd everything works well. I also compiled only tpopup into a .exe to check if something's wrong with that but this is also working without issues.
tcountdown.py:
import os
import time
time.sleep(10)
os.system('tpopup.py')
mainspript: tcountdown.py
secondary script: tpopup.py
Python version is 3.9.1