I used PyInstaller to successfully turn a very basic python program (that prints a few things to the console) into a one file executable on my MacBook Pro:
Everything works fine when I run it on my computer. When I send it to friends, however, it doesn't run. I've tried sending through email/google drive (in which it turns into a TextEdit Document) and sending it through Facebook (in which it turns into a .jpg file).
I read here that no file extension means the system has no idea what application to use to open the program. So I have a few questions:
- What file extension(s) do I need to give this to get it to run?
- Will PyInstaller ever give a mac program a file extension? (I've noticed on Windows it gives it the
.exe
extension it needs)