In search of idiom in py2exe

David David
Wed Sep 8 04:26:40 CEST 2004

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

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.

More information about the Python-list mailing list