hi
Jump to turn (15)
- 1hi
- 2how do i include an audio file in the py directory to pyinstaller compile. the a
- 3does that include the file inside the exe
- 4does it take cpu power to convert wav to base64
- 5can i just include the wav on pyinstaller options when compiling to include the
- 6can i use ---add-data without meipass
- 7how do i --add-data multiple wav files
- 8do i put --add data after one file or before
- 9pyinstaller --onefile -w -F -i --upx-dir="dir\" script.pyw --add-data "beep1.wav
- 10pyinstaller: error: argument --add-data: invalid adddataorbinary value: 'beep1.w
- 11how to refer to the root directory in the code
- 12how do call the beep.wav inside the code
- 13NameError: name 'file' is not defined
- 14os.path.abspath(file))) what is file here
- 15name 'file' is not defined. do i change file to the wav name?
- User
hi
- Assistant
Hello! How can I assist you today?
- User
how do i include an audio file in the py directory to pyinstaller compile. the audio is in the py file directory and not inside a folder. is it possible to include it directly so it's not in a folder when i compile using --onefile
- Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.