PDA

View Full Version : Making a python file EXECUTABLE


Kemp100
06-27-2002, 05:43 PM
Can someone please give me directions on how to make a ".py" file ".exe" so i can execute it from anywhere?

please help

kmj
06-27-2002, 05:56 PM
google for py2exe. It should be pretty straightforward.


http://starship.python.net/crew/theller/py2exe/

Kemp100
06-27-2002, 06:19 PM
I downloaded the program..but i still can't see how this can help me make the EXE file..can you help out more..i would appreciate it..i am really new to this..

thankx

kmj
06-27-2002, 07:39 PM
Kemp100: do me a favor, don't use all caps in the subject. Trust me.

I think I made a mistake when I was helping you earlier. In My Computer->Properties->Environment, when you go to add the User variable 'PATH', there is probably a "Set" button there that you need to click. Then click okay, run cmd.exe, and try 'python setup.py py2exe'. See if that works.

Bradmont
06-28-2002, 01:59 AM
chmod +x foo.py

:D

darelf
06-28-2002, 10:02 AM
Originally posted by Bradmont
chmod +x foo.py

:D

A Winnar is yuo!

I actually was going to say the same thing.....
I didn't realize he was using windows...