In search of idiom in py2exe

David David
Tue Sep 7 22:26:40 EDT 2004


On Tue, 07 Sep 2004 22:08:21 -0400, Peter Hansen <peter at engcorp.com>
wrote:

Thanks! That's the ticket.

>David wrote:
>> In many of my scripts I've used the following idiom for accessing data
>> files placed nearby:
>...
>> Can anyone recommend an idiom that will work with py2exe?
>
>Do the last few posts to the following thread help you?  It
>was an attempt to find "the" idiomatic way to find the
>directory of the main script, whether running normally or
>with py2exe.
>
>http://groups.google.ca/groups?threadm=8089854e.0407070426.2fb90f95%40posting.google.com
>
>-Peter




More information about the Python-list mailing list