Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

python to exe

6 views
Skip to first unread message

Robin

unread,
Mar 12, 2010, 10:26:20 PM3/12/10
to
Does anyone know of a good python to stand alone exe compiler?

Thanks,
-Robin

Gabriel Genellina

unread,
Mar 12, 2010, 11:11:47 PM3/12/10
to
On 13 mar, 00:26, Robin <rob...@cnsp.com> wrote:

> Does anyone know of a good python to stand alone exe compiler?

http://tinyurl.com/yfcfzz4

Chris Rebert

unread,
Mar 12, 2010, 11:12:19 PM3/12/10
to Robin, pytho...@python.org
On Fri, Mar 12, 2010 at 7:26 PM, Robin <rob...@cnsp.com> wrote:
> Does anyone know of a good python to stand alone exe compiler?

py2exe:
http://www.py2exe.org/

Cheers,
Chris
--
http://blog.rebertia.com

John Bokma

unread,
Mar 12, 2010, 11:26:34 PM3/12/10
to
Gabriel Genellina <gags...@yahoo.com.ar> writes:

Wow, pathetic fuck. You don't have to post you know.

--
John Bokma j3b

Hacking & Hiking in Mexico - http://johnbokma.com/
http://castleamber.com/ - Perl & Python Development

Chris Rebert

unread,
Mar 12, 2010, 11:47:31 PM3/12/10
to robin, Python
On Fri, Mar 12, 2010 at 8:42 PM, robin <rob...@cnsp.com> wrote:

> On 3/12/2010 9:12 PM, Chris Rebert wrote:
>> On Fri, Mar 12, 2010 at 7:26 PM, Robin<rob...@cnsp.com>  wrote:
>>> Does anyone know of a good python to stand alone exe compiler?
>>>
>> py2exe:
>> http://www.py2exe.org/
>
> do you  of an alternate compilter it doesn't work (py2exe) on my windows 7
> box, I hate windows7 THanks Robin

Nope; py2exe is pretty much the go-to tool for this.
Try asking on their mailinglist:
https://lists.sourceforge.net/lists/listinfo/py2exe-users

Steven D'Aprano

unread,
Mar 13, 2010, 1:47:47 AM3/13/10
to
On Fri, 12 Mar 2010 22:26:34 -0600, John Bokma wrote:

> Gabriel Genellina <gags...@yahoo.com.ar> writes:
>
>> On 13 mar, 00:26, Robin <rob...@cnsp.com> wrote:
>>
>>> Does anyone know of a good python to stand alone exe compiler?
>>
>> http://tinyurl.com/yfcfzz4
>
> Wow, pathetic fuck. You don't have to post you know.

Gabriel is one of the more helpful and newbie-friendly of the frequent
posters on this newsgroup. Even if his actions were worthy of your abuse
(and they aren't), he gets at least one Get Out Of Jail Free card for his
long-term helpfulness.

Speaking as somebody who finds Let Me Google That For You to be tiresome
and not at all amusing, nevertheless I support Gabriel's actions. By
merely giving Robin the answer, Robin doesn't learn how to find out the
answer to simple questions himself, and by rewarding his laziness, we
make a rod for our own back.

As the old proverb goes: give a man a fish, and you feed him for a day.
Teach him how to fish, and he has food forever.

I'm an old-fashioned kind of guy, and don't like LMGTFY because it is
tiresome and requires Javascript. I prefer:

Google is your friend:

http://www.google.com/search?q=python+standalone+exe

Oh, and Robin, since you have apparently already tried py2exe and found
it doesn't work on Windows 7, you should have said so from the start,
instead of wasting everyone's time.

--
Steven

Gib Bogle

unread,
Mar 13, 2010, 4:38:29 AM3/13/10
to
Steven D'Aprano wrote:

> As the old proverb goes: give a man a fish, and you feed him for a day.
> Teach him how to fish, and he has food forever.

I like this version:

Light a man a fire, and you keep him warm for hours. Set a man on fire, and you
keep him warm for the rest of his life.

;-)

Alf P. Steinbach

unread,
Mar 13, 2010, 5:35:41 AM3/13/10
to
* Gib Bogle:

Hey! I was going to post that! And there it was, in the next article... :-)

Cheers,

- Alf

Mark Lawrence

unread,
Mar 13, 2010, 5:58:15 AM3/13/10
to pytho...@python.org

I'm certain that members of the Guinea Pig Club might have something to
say on that one, see :-
http://en.wikipedia.org/wiki/Guinea_Pig_Club

Steve Holden

unread,
Mar 13, 2010, 8:11:07 AM3/13/10
to pytho...@python.org

I like "Give a man a fish, and he eats for a day. Teach a man to fish
and he will bore you with stories of the one that got away for the rest
of his life".

regards
Steve
--
Steve Holden +1 571 484 6266 +1 800 494 3119
See PyCon Talks from Atlanta 2010 http://pycon.blip.tv/
Holden Web LLC http://www.holdenweb.com/
UPCOMING EVENTS: http://holdenweb.eventbrite.com/

Steve Holden

unread,
Mar 13, 2010, 8:09:34 AM3/13/10
to pytho...@python.org
John Bokma wrote:
> Gabriel Genellina <gags...@yahoo.com.ar> writes:
>
>> On 13 mar, 00:26, Robin <rob...@cnsp.com> wrote:
>>
>>> Does anyone know of a good python to stand alone exe compiler?
>> http://tinyurl.com/...

>
> Wow, pathetic fuck. You don't have to post you know.
>
And you don't have to give Google a second chance at indexing the URL,
but we all make mistakes.

pyt...@bdurham.com

unread,
Mar 13, 2010, 8:45:06 AM3/13/10
to Chris Rebert, robin, Python
Robin,

> do you of an alternate compilter it doesn't work (py2exe) on my windows 7 box

I can assure you that Py2exe does work on Windows 7 (my firm develops
commercial Python applications packaged using Py2exe running on Windows
7), but it does take a bit of fiddling and some patience. Join the
py2exe newsgroup and post your problems there.
https://lists.sourceforge.net/lists/listinfo/py2exe-users

You may also want to google 'Gui2exe'. This is a free front-end to
Py2exe that you can use to generate your Py2exe setup.py scripts. Note
that Gui2exe requires wxPython (free) to run.

Finally, make sure you are trying to compile 32-bit Python 2.x code. I
don't think py2exe supports Python 3.x or 64-bit versions of Python yet.

> Nope; py2exe is pretty much the go-to tool for this.

I hear great things about PyInstaller. The project is not dead - make
sure you use the latest version in the SVN.

Search stackoverflow.com for positive feedback and tips on PyInstaller.
Its on our plate to take a good look this product 'one of these days'.

Good luck!

Malcolm

Martin Schöön

unread,
Mar 13, 2010, 1:04:19 PM3/13/10
to
Mark Lawrence <bream...@yahoo.co.uk> writes:
>
> I'm certain that members of the Guinea Pig Club might have something
> to say on that one, see :-
> http://en.wikipedia.org/wiki/Guinea_Pig_Club

Interesting. My mum is a retired surgeon and in the mid 1980s she
attended a course in plastic surgery and among other things she
learnt that plastic surgery got going for real during WWII 'thanks'
to all pilots with burns. I have forwarded the link above to her.

/Martin

John Bokma

unread,
Mar 13, 2010, 1:52:39 PM3/13/10
to
Steven D'Aprano <st...@REMOVE-THIS-cybersource.com.au> writes:

> As the old proverb goes: give a man a fish, and you feed him for a day.
> Teach him how to fish, and he has food forever.

True, but you don't teach someone fishing by poking an eye out with a
fishing rod.

> I'm an old-fashioned kind of guy, and don't like LMGTFY because it is
> tiresome and requires Javascript. I prefer:

My reply had little to do with lmgtfy and all to do with hiding it behind
tinyurl. But even then, why not do what you just did: give a URL to
google directly.

For quite some time I thought that comp.lang.perl.misc was quite
unfriendly because of a certain attitude. comp.lang.python was quite a
refreshment for a while: very newbie friendly, less pissing contests,
etc. (but way more fanboism).

Yesterday was a sady day: I finally had to conclude that it was only
wishful thinking on my part; there is no difference.

Steven D'Aprano

unread,
Mar 13, 2010, 2:23:08 PM3/13/10
to
On Sat, 13 Mar 2010 12:52:39 -0600, John Bokma wrote:

> For quite some time I thought that comp.lang.perl.misc was quite
> unfriendly because of a certain attitude. comp.lang.python was quite a
> refreshment for a while: very newbie friendly, less pissing contests,
> etc. (but way more fanboism).
>
> Yesterday was a sady day: I finally had to conclude that it was only
> wishful thinking on my part; there is no difference.


You were the first one to inject abuse into this thread. There's a big
difference between a mildly sarcastic link and dropping the F-word at one
of the more helpful and respected members of the community. Perhaps you
are projecting your own hostility and aggro onto others?

--
Steven

Martin P. Hellwig

unread,
Mar 13, 2010, 3:16:48 PM3/13/10
to
John's thought process is a slippery slope and I make the same 'mistake'
(notice the quotes please :-)) so often it would seem I won't learn it
ever. However on the rare occasion I notice that I am making the mistake
I say to myself: The view of a number of individuals do NOT necessarily
represent the view of the majority unless proven otherwise by that
actual majority.

--
mph

Gib Bogle

unread,
Mar 13, 2010, 5:20:15 PM3/13/10
to
Mark Lawrence wrote:
>
> I'm certain that members of the Guinea Pig Club might have something to
> say on that one, see :-
> http://en.wikipedia.org/wiki/Guinea_Pig_Club
>

You mean, something like: "That's not funny"?

David Monaghan

unread,
Mar 13, 2010, 8:00:16 PM3/13/10
to
On Sat, 13 Mar 2010 12:52:39 -0600, John Bokma <jo...@castleamber.com> wrote:

>Steven D'Aprano <st...@REMOVE-THIS-cybersource.com.au> writes:
>
>> As the old proverb goes: give a man a fish, and you feed him for a day.
>> Teach him how to fish, and he has food forever.
>
>True, but you don't teach someone fishing by poking an eye out with a
>fishing rod.
>
>> I'm an old-fashioned kind of guy, and don't like LMGTFY because it is
>> tiresome and requires Javascript. I prefer:
>
>My reply had little to do with lmgtfy and all to do with hiding it behind
>tinyurl. But even then, why not do what you just did: give a URL to
>google directly.
>
>For quite some time I thought that comp.lang.perl.misc was quite
>unfriendly because of a certain attitude. comp.lang.python was quite a
>refreshment for a while: very newbie friendly, less pissing contests,
>etc. (but way more fanboism).
>
>Yesterday was a sady day: I finally had to conclude that it was only
>wishful thinking on my part; there is no difference.

There was a time, when the internet was young and most newbies couldn't find
their own backsides with both hands, that your conclusions would be well
placed.That time has long passed: Newsgroups are a long way down the
hierarchy since those times and anyone turning up here nowadays _has_ heard
of Google. If they haven't used it, I don't really consider the gentle
reminder that LMGTFY gives too harsh. If you do, you're too much of a gentle
soul to be on the internet at all; someone might say "Boo" to you at any
moment. Beware.

DaveM

Steven D'Aprano

unread,
Mar 13, 2010, 8:23:46 PM3/13/10
to

Or possibly "That's hilarious!!!". Gallows humour is sometimes hard to
predict.

--
Steven

Mark Lawrence

unread,
Mar 14, 2010, 5:14:15 AM3/14/10
to pytho...@python.org

No, simply a statement.

Mark Lawrence

unread,
Mar 14, 2010, 5:33:17 AM3/14/10
to pytho...@python.org

Thinking about it can be that's not funny or hilarious depending on
context, which is rather difficult to give on this internet/webby thingy.

Jonathan Hartley

unread,
Mar 14, 2010, 2:24:07 PM3/14/10
to
On Mar 13, 1:45 pm, pyt...@bdurham.com wrote:
> Robin,
>
> > do you of an alternate compilter it doesn't work (py2exe) on my windows 7 box
>
> I can assure you that Py2exe does work on Windows 7 (my firm develops
> commercial Python applications packaged using Py2exe running on Windows
> 7), but it does take a bit of fiddling and some patience. Join the
> py2exe newsgroup and post your problems there.https://lists.sourceforge.net/lists/listinfo/py2exe-users

>
> You may also want to google 'Gui2exe'. This is a free front-end to
> Py2exe that you can use to generate your Py2exe setup.py scripts. Note
> that Gui2exe requires wxPython (free) to run.
>
> Finally, make sure you are trying to compile 32-bit Python 2.x code. I
> don't think py2exe supports Python 3.x or 64-bit versions of Python yet.
>
> > Nope; py2exe is pretty much the go-to tool for this.
>
> I hear great things about PyInstaller. The project is not dead - make
> sure you use the latest version in the SVN.
>
> Search stackoverflow.com for positive feedback and tips on PyInstaller.
> Its on our plate to take a good look this product 'one of these days'.
>
> Good luck!
>
> Malcolm

I summarised a all the alternatives to py2exe I could find, here:
http://spreadsheets.google.com/pub?key=tZ42hjaRunvkObFq0bKxVdg&output=html

Looking for those with a green 'y' in the 'Windows' row, you want to
check out cx_freeze, PyInstaller, bbfreeze.

Best of luck.

pyt...@bdurham.com

unread,
Mar 14, 2010, 2:36:34 PM3/14/10
to Jonathan Hartley, pytho...@python.org
Jonathan,

> I summarised a all the alternatives to py2exe I could find, here:
> http://spreadsheets.google.com/pub?key=tZ42hjaRunvkObFq0bKxVdg&output=html

Really great work - thanks for sharing this with all of us!!!

Regards,
Malcolm

John Bokma

unread,
Mar 14, 2010, 3:10:32 PM3/14/10
to
David Monaghan <monagha...@gmail.com> writes:

> of Google. If they haven't used it, I don't really consider the gentle
> reminder that LMGTFY gives too harsh. If you do, you're too much of a gentle
> soul to be on the internet at all; someone might say "Boo" to you at any
> moment. Beware.

I've no problem with lmgtfy. I *do* have a problem with hiding it behing
a tinyurl. Why use 2 levels of obfuscating in a group that's about
programming in a language that promotes clear coding?

The message would have been the same if the OP had just copy pasted the
Google link. But hey, that's way less "funny".

David Monaghan

unread,
Mar 14, 2010, 4:04:01 PM3/14/10
to
On Sun, 14 Mar 2010 13:10:32 -0600, John Bokma <jo...@castleamber.com> wrote:

>David Monaghan <monagha...@gmail.com> writes:
>
>> of Google. If they haven't used it, I don't really consider the gentle
>> reminder that LMGTFY gives too harsh. If you do, you're too much of a gentle
>> soul to be on the internet at all; someone might say "Boo" to you at any
>> moment. Beware.

Sorry. That last comment of mine was uncalled for.

>I've no problem with lmgtfy. I *do* have a problem with hiding it behing
>a tinyurl. Why use 2 levels of obfuscating in a group that's about
>programming in a language that promotes clear coding?
>
>The message would have been the same if the OP had just copy pasted the
>Google link. But hey, that's way less "funny".

Good point, although one could argue the unhidden response is just rude, but
the masking does make it genuinely funny.

DaveM

John Bokma

unread,
Mar 14, 2010, 4:11:18 PM3/14/10
to
David Monaghan <monagha...@gmail.com> writes:

> On Sun, 14 Mar 2010 13:10:32 -0600, John Bokma <jo...@castleamber.com> wrote:
>
>>David Monaghan <monagha...@gmail.com> writes:
>>
>>> of Google. If they haven't used it, I don't really consider the gentle
>>> reminder that LMGTFY gives too harsh. If you do, you're too much of a gentle
>>> soul to be on the internet at all; someone might say "Boo" to you at any
>>> moment. Beware.
>
> Sorry. That last comment of mine was uncalled for.

Thanks.

>>I've no problem with lmgtfy. I *do* have a problem with hiding it behing
>>a tinyurl. Why use 2 levels of obfuscating in a group that's about
>>programming in a language that promotes clear coding?
>>
>>The message would have been the same if the OP had just copy pasted the
>>Google link. But hey, that's way less "funny".
>
> Good point, although one could argue the unhidden response is just rude, but
> the masking does make it genuinely funny.

One could argue, sure. But to me it's just the same as posting GFY
(don't want to upset the tender soulds again with "the F-word".

CM

unread,
Mar 14, 2010, 5:22:22 PM3/14/10
to
On Mar 14, 4:04 pm, David Monaghan <monaghand.da...@gmail.com> wrote:

> On Sun, 14 Mar 2010 13:10:32 -0600, John Bokma <j...@castleamber.com> wrote:
> >David Monaghan <monaghand.da...@gmail.com> writes:
>
> >> of Google. If they haven't used it, I don't really consider the gentle
> >> reminder that LMGTFY gives too harsh. If you do, you're too much of a gentle
> >> soul to be on the internet at all; someone might say "Boo" to you at any
> >> moment. Beware.
>
> Sorry. That last comment of mine was uncalled for.
>
> >I've no problem with lmgtfy. I *do* have a problem with hiding it behing
> >a tinyurl. Why use 2 levels of obfuscating in a group that's about
> >programming in a language that promotes clear coding?
>
> >The message would have been the same if the OP had just copy pasted the
> >Google link. But hey, that's way less "funny".
>
> Good point, although one could argue the unhidden response is just rude, but
> the masking does make it genuinely funny.
>
> DaveM

I thought the point of LMGTFY was to humorously and innocuously get
across the point that a lot of basic questions can be answered
instantly, or just a few key terms and a mouse click away (i.e. "Was
that so hard?") instead of having to write and post a message to a
group and then wait for responses. In this sense, using LMGTFY *is* a
memorable transmission of information beyond just the answer to the
question. It is the meta-information of how to "teach a man to
fish". If someone "LMGTFY'ed" me due to my asking a really Googleable
question, I'd feel I deserved this gentle ribbing and would make a
note to be more diligent in my searches before asking a forum.

Steven D'Aprano

unread,
Mar 14, 2010, 7:18:28 PM3/14/10
to
On Sun, 14 Mar 2010 14:11:18 -0600, John Bokma wrote:

> One could argue, sure. But to me it's just the same as posting GFY
> (don't want to upset the tender soulds again with "the F-word".

Are you *still* going on about this thing? Sheesh.

You've made your point. You don't think posting links to Let Me Google
That For You is friendly; you think that "hiding" those links behind
tinyurl is downright hostile; and you think that heaping abuse and
obscenities on the person who posted the link is acceptable behaviour.

You've made it abundantly clear that your concern about keeping this
group friendly only applies to others, not to you. Can we move on now?

--
Steven

0 new messages