0

I have a problem converting the python script to an exe file. I use a jpg and an mp3 file in the script and I don't want to need to have a directory with the exe and with the other files, instead, I want to have an exe that already has all of it.

I tried using --onefile, but it gives me the 'utf-8' codec can't decode byte 0xff in position 0: invalid start byte' error and I can't fix it.

Can you tell me another way or help me fix it?

Thanks Bye

German
  • 1
  • [this person](https://stackoverflow.com/q/68322950/6273251) seems to have had a similar issue and they shared their solution. Does that help at all? You didn't indicate that you'd searched for this error or tried other solutions, so if you have, please specify what you've tried. – Random Davis Dec 02 '21 at 18:27

0 Answers0