In article ,
J. Cliff Dyer wrote:
>On Thu, 2010-04-15 at 11:25 -0700, koranthala wrote:
>>
>>Suppose I am doing the following:
>> req = urllib2.urlopen('http://www.python.org')
>> data = req.read()
>>
>>When is the actual data received? is it done by the first line? or
>> is it done only
On Thu, 2010-04-15 at 11:25 -0700, koranthala wrote:
> Hi,
>Suppose I am doing the following:
> req = urllib2.urlopen('http://www.python.org')
> data = req.read()
>
>When is the actual data received? is it done by the first line? or
> is it done only when req.read() is used?
> My underst
On Thu, 2010-04-15 at 11:25 -0700, koranthala wrote:
> Hi,
>Suppose I am doing the following:
> req = urllib2.urlopen('http://www.python.org')
> data = req.read()
>
>When is the actual data received? is it done by the first line? or
> is it done only when req.read() is used?
> My underst
Hi,
Suppose I am doing the following:
req = urllib2.urlopen('http://www.python.org')
data = req.read()
When is the actual data received? is it done by the first line? or
is it done only when req.read() is used?
My understanding is that when urlopen is done itself, we would have
received al