I made an Alarm clock with tkinter, that i want to convert to an exe file. What i would like to know is how will pyinstaller deal with the paths to the sound files in my main program if i give this file to someone else that doesn't have my directories and subdirectories so that tkinter can find the mp3 files. thanks.
For example, the code below, calls the media player VLC to play my sound files which are placed in the path shown. IF pyinstaller, packs that, that code will not be changed, i don't think. Will it? So if my friend tries to test the alarm, he will get an error, because he has no directory named Godzilla on his computer.
Is there something i can do about this?
def sound():
global clicked
try:
subprocess.call(["cvlc", "/home/godzilla/Desktop/Python/Tkinter/Sounds/" + clicked.get()+'.mp3'],timeout=10)
except:
return