When I use the --onefile
option, my program can not find the files added to .exe
. I do not know which path to specify for my program to find the files.
My code looks like this:
import winsound
winsound.PlaySound ('a.wav',winsound.SND_FILENAME)