I'm trying to make executable Tkinter file with photos, video and two songs using pyinstaller. I've done it without pictures, but I don't know how to connect them in the exe file. Is it possible using pyinstaller, or I need to use some other module? I am using python 3.8.2
1 Answers
1
votes
PyInstaller won't do such a thing. You need to provide your sound files manually. First, you need to add your sound files to the output executable with add-data flag then create a function to load your files from the extracted path
pyinstallerand then run it,from where the path is correct - Cool Clouddistfolder to the script directory? - Cool Cloud