En Sun, 04 Feb 2007 09:53:22 -0300, Joost <[EMAIL PROTECTED]>
escribió:
>> You *assume* that [0] is the IIS path, but perhaps some other imported
>> module changed sys.path too, and now it's not the first one anymore.
>> If you know exactly the path, try sys.path.remove(iis_path).
>>
>
> It's wa
> You *assume* that [0] is the IIS path, but perhaps some other imported
> module changed sys.path too, and now it's not the first one anymore.
> If you know exactly the path, try sys.path.remove(iis_path).
>
> --
> Gabriel Genellina
It's was a hack and definitely not meant to go in to production
"Joost" <[EMAIL PROTECTED]> escribió en el mensaje
news:[EMAIL PROTECTED]
> When using ASP the iis/inetsrv path is placed as the first item in
> sys.path. Consequently importing httplib2 will cause the following
> error:
>
> ImportError: dynamic module does not define init function (initgzip)
>
>
Hi guys, I have couple of simple python based active server pages
that make use of httplib2 which uses gzip.py. IIS, however, also has a
gzip.dll located at the iis/inetsrv path.
When using ASP the iis/inetsrv path is placed as the first item in
sys.path. Consequently importing httplib2 will caus