Adding files to pyinstaller

2

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)
    
asked by anonymous 28.03.2018 / 00:19

0 answers