Member Avatar for leegeorg07

Hi

i want to be able to open a python program on someone's computer but they don't have python installed and they don't have room to install it.

how could i 'compile it' if that is the correct word, so that it can be opened as an exe file?

There are programs available that package the needed code and modules into an executable file, see:
http://www.daniweb.com/code/snippet499.html

This example shows py2exe, but there are other ones like pyinstaller and pyfreeze.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.