pyexe "format"

hg hg at nospam.org
Sun Jun 10 14:04:58 EDT 2007


John Machin wrote:

> 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


An ex-partner might "by mistake" be in possession of some of my source
code ... so if this source code happens to be repackaged in a .exe and I
get to audit it ... I'd like to know where to start.

So the above link ... which I had read ... does not help me.

Regards,

hg




More information about the Python-list mailing list