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

Steve Holden steve at holdenweb.com
Wed Mar 5 11:59:48 EST 2008


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.

regards
  Steve
-- 
Steve Holden        +1 571 484 6266   +1 800 494 3119
Holden Web LLC              http://www.holdenweb.com/





More information about the Twisted-Python mailing list