0

I have a program with python and it has 3 modules .py.

what should i do to create exe format of this program?

i try this with pyinstaller but thats create exe for my main .py and other .py

modules not contains in it!

Saeed Ramezani
  • 462
  • 6
  • 20

1 Answers1

0

Install pyinstaller: Go to command prompt and type pip install pyinstaller.

Create .exe: If you want to create a .exe from a .py you need to open your command prompt under the correct directory of the file and type:

pyinstaller —-onefile filename  // e.g hello.py as the filename

If it has any basic graphics, type the following in command prompt

pyinstaller —-onefile -w then your file name

This should all work.

If it does not I recommend that you watch this video.

Mahesh Jamdade
  • 17,235
  • 8
  • 110
  • 131