[Python-Dev] __file__

Barry Warsaw barry at python.org
Sat Feb 27 16:53:10 CET 2010


On Feb 28, 2010, at 01:38 AM, Nick Coghlan wrote:

>I think the use case of "keep the user from fiddling casually with our
>application" is a valid one.

Doesn't the existing support for zipimport satisfy that use case already, and
probably better so?

Heck you can even name your zip file "application.dat" to really throw naive
users off the scent. ;)

-Barry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-dev/attachments/20100227/c1f8b1ac/attachment.pgp>


More information about the Python-Dev mailing list