[Twisted-Python] Re: Trying to get twisted.protocols.amp to work with py2app...

glyph at divmod.com glyph at divmod.com
Wed Mar 5 16:00:51 EST 2008




On 07:31 pm, steve at holdenweb.com wrote:
>Andreas Kostyrka wrote:
>>Am Mittwoch, den 05.03.2008, 11:59 -0500 schrieb Steve Holden:
>>>Nathan wrote:
>>>[...]
>>>  > Does sys.path support zip files??
>>>>sys.path.insert(0,'../Resources/lib/python/2.5/site- 
>>>>packages.zip/twisted')
>>>>??
>>>Yes. Just add the zip file to sys.path and you can import modules 
>>>contained in the files inside the zip.
>>
>>Although gentlemen call such files eggs :-P
>How would I be supposed to know what gentlemen do? ;-)

Eggs are something different; eggs can, in fact, be directories, as well 
as zip files.  Zip files that you can import Python out of are just that 
- zip files :).




More information about the Twisted-Python mailing list