July 23rd, 2003, 04:14 AM
Convert .py to a .exe??
Does anyone know how I can change my program to a .exe, so I can send it to other people, without them seeing my code? Do I need to download A program or something?? (I have tried saving it with a .exe on the end, but it doesnt work when I try to open that one)
July 23rd, 2003, 06:21 AM
July 23rd, 2003, 01:50 PM
Anybody tried py2exe ? I've stumbled on it recently, and I wondered how hard to use it is, if the .exes are big or not, etc.
July 23rd, 2003, 02:17 PM
I've used it, it works pretty well. If you read the how to on their website then its pretty simple . Of course it's a command line util so it could be easier but it works.
On the size issue all i have to say is, have you ever used Perl2exe? devide the size of that by 3 and thats about how small these files are!
Unfortunatly you do have to incude the dll that is created with the exe or it wont work.
Hope this helps,
November 29th, 2004, 11:48 AM
Okay i have tried to do this thing with the py2exe but it just does not work could someone send a full supported program for example a question and show me how to do the script as a exe? plz... because i really dnt get it!!!1
November 29th, 2004, 12:26 PM
There are so many py2exe threads in this forum that a search should give you the answer.
November 29th, 2004, 01:57 PM
Don't you lose Python's portability when you make an .exe using py2exe? If I am not mistaken, then you might want to consider whether you really want to do that.
November 29th, 2004, 03:59 PM
Well if not how can i make a bat file or somekind of file a person without python can run.
November 29th, 2004, 04:40 PM
in terms of people not seeing your code, you could consider distributing compiled python files instead...
November 29th, 2004, 05:52 PM
well i dont really care about that well i do but still i mean that anybody that does not have python can start a program i wrote. Thats wat i want
November 29th, 2004, 10:42 PM
then yes, i'd go with py2exe - you'll lose platform portability, but any solution not involving the python interpreter is going to lose portability (unless you find a way to export to java... :/)
November 30th, 2004, 10:09 AM
okay well I thought I should do that but then could someone please give me an example!
Because I really don't get it.
I have tried but I don't understand could someone post a full example with the distulitis please becuase I don't that either
November 30th, 2004, 10:21 AM
There are plenty of examples in the forum.
November 30th, 2004, 10:34 AM
November 30th, 2004, 10:46 AM
OK can u make a link because i can't find anything