HTTP getreply() never returns
Steve Holden
steve at holdenweb.com
Fri Apr 20 11:23:11 EDT 2007
Marko.Cain.23 at gmail.com wrote:
> On Apr 20, 12:06 am, Steve Holden <s... at holdenweb.com> wrote:
>> Marko.Cain... at gmail.com wrote:
[about httplib problems]
>>
>> If so, would it be a usable workaround just to use the 2.4 httplib for
>> that one program?
>>
>
> Thanks. Can you please tell me how can I 'borrow' a copy of 2.4
> httplib and run that in 2.3?
>
The easiest way is just to drop it in the directory that contains the
Python program you are running - that should make it available in
preference to the 2.3 library version:
sholden at bigboy ~
$ cat Projects/Python/httplib.py
print "My Own Library!"
sholden at bigboy ~
$ cat Projects/Python/test24.py
import httplib
print "I just imported something"
sholden at bigboy ~
$ python Projects/Python/test24.py
My Own Library!
I just imported something
sholden at bigboy ~
$ rm Projects/Python/httplib.py* # remember the .pyc!
sholden at bigboy ~
$ python Projects/Python/test24.py
I just imported something
sholden at bigboy ~
$
regards
Steve
--
Steve Holden +44 150 684 7255 +1 800 494 3119
Holden Web LLC/Ltd http://www.holdenweb.com
Skype: holdenweb http://del.icio.us/steve.holden
Recent Ramblings http://holdenweb.blogspot.com
More information about the Python-list
mailing list