How do I convert my pygame program which has multiple python scripts and images to a exe?
问题 I have 3 python scripts and many images in folders and tmx files which I want to make it as a single .exe . I wasnt able to find how to convert multiple python scripts and folders to single exe. I was only able to find cxfreeze and similar things for a single python script. Please help. Thanks in advance. 回答1: You can add external files to your pyinstaller exe by using add-data . An example I'm using for one of my pygame games: pyinstaller --onedir --clean --name "MyGame" --icon="images/icon