2
When I use the option --onefile, my program cannot find the files added to .exe. I don’t know which path to specify for my program to find the files.
My code is like this:
import winsound
winsound.PlaySound ('a.wav',winsound.SND_FILENAME)
2
When I use the option --onefile, my program cannot find the files added to .exe. I don’t know which path to specify for my program to find the files.
My code is like this:
import winsound
winsound.PlaySound ('a.wav',winsound.SND_FILENAME)
-1
pyinstaller --Hidden-import= winsound --onefile filename.py recalling that Voce can use -F instead of --onefile
Browser other questions tagged python pyinstaller
You are not signed in. Login or sign up in order to post.