0

How could I turn my python program to a windows application? As python is a scripting language how we make its programs for desktop applications

belagoesr
  • 168
  • 6
  • 3
    Possible duplicate of [Python in Desktop Application Development](https://stackoverflow.com/questions/8848285/python-in-desktop-application-development) – vinS Jan 14 '18 at 05:51
  • If I understand the above link is an IDE for developing Python programs. OP wants to know how to turn his completed program into an executable to be installed and run on a desktop PC. Hence, I don't think that is the correct duplicate link. – SherylHohman Jan 14 '18 at 06:20
  • If your using Python 3 I suggest CxFreeze – v0rtex Jan 14 '18 at 06:22

1 Answers1

0

One easy way is to use PyInstaller.

pip install pyinstaller

Go to your program’s directory and run:

pyinstaller yourprogram.py

This will generate the bundle in a subdirectory called dist.

chrisharrel
  • 337
  • 2
  • 10