The urlparse module is load only when this module run as main entry.
Its for test purpose of modules.
2010/10/17, chad :
> On Oct 16, 11:02 am, Felipe Bastos Nunes
> wrote:
>> You edited the source of asyncore.py puttin the print statments and
>> nothing happend? It should work as the method is
On Oct 16, 11:02 am, Felipe Bastos Nunes
wrote:
> You edited the source of asyncore.py puttin the print statments and
> nothing happend? It should work as the method is called as the page
> you posted said.
>
> 2010/10/16, chad :
>
>
>
> > On Oct 16, 6:47 am, Lucasm wrote:
> >> On 16 Okt, 15:31,
On Oct 16, 11:02 am, Felipe Bastos Nunes
wrote:
> You edited the source of asyncore.py puttin the print statments and
> nothing happend? It should work as the method is called as the page
> you posted said.
>
> 2010/10/16, chad :
>
>
>
> > On Oct 16, 6:47 am, Lucasm wrote:
> >> On 16 Okt, 15:31,
You edited the source of asyncore.py puttin the print statments and
nothing happend? It should work as the method is called as the page
you posted said.
2010/10/16, chad :
> On Oct 16, 6:47 am, Lucasm wrote:
>> On 16 Okt, 15:31, chad wrote:
>>
>>
>>
>> > At the following url..
>>
>> >http://www.
On Oct 16, 6:47 am, Lucasm wrote:
> On 16 Okt, 15:31, chad wrote:
>
>
>
> > At the following url..
>
> >http://www.nightmare.com/medusa/programming.html
>
> > The author has the following code for a simple HTTP client
>
> > #!/usr/bin/python
>
> > import asyncore
> > import socket
> > import stri
Or download the old source files, and use the asyncore.py that's there.
2010/10/16, Lucasm :
> On 16 Okt, 15:31, chad wrote:
>> At the following url..
>>
>> http://www.nightmare.com/medusa/programming.html
>>
>> The author has the following code for a simple HTTP client
>>
>> #!/usr/bin/python
>>
On 16 Okt, 15:31, chad wrote:
> At the following url..
>
> http://www.nightmare.com/medusa/programming.html
>
> The author has the following code for a simple HTTP client
>
> #!/usr/bin/python
>
> import asyncore
> import socket
> import string
>
> class http_client (asyncore.dispatcher):
>
>
At the following url..
http://www.nightmare.com/medusa/programming.html
The author has the following code for a simple HTTP client
#!/usr/bin/python
import asyncore
import socket
import string
class http_client (asyncore.dispatcher):
def __init__ (self, host, path):
asyncore.dispa