pyexe "format"

John Machin sjmachin at lexicon.net
Sat Jun 9 21:33:40 EDT 2007


On Jun 10, 11:25 am, John Machin <sjmac... at lexicon.net> wrote:
> On Jun 10, 10:38 am, hg <h... at nospam.org> wrote:
>
> > hg wrote:
> > > Hi,
>
> > > Is there a clean way to figure out that a .exe was actually generated by
> > > pyexe ?
>
> > > hg
>
> > I should gave writtent "definite" instead of "clean"
>
> > hg
>
> Reminds me of the story about a teacher trying to correct a student
> who was using rather dialectal English:
>    You have went and putten "putten" when you should of putten "put"!
> :-)
>
> You should of looken at this:
>
> http://www.py2exe.org/index.cgi/WhereAmI
>
> HTH,
> John

I presumed that you were really asking: "How can Python code tell
whether it is being run in a py2exe-generated exe, or by the Python
interpreter?".

Alternatively, "How can a human inspect an exe and determine whether
it was generated by py2exe?": (1) I don't know (2) Why do you care?

Cheers,
John




More information about the Python-list mailing list