On Mon, Dec 30, 2013 at 9:37 PM, Sharad Birmiwal
<[email protected]>wrote:

>         resp_code=0
>
>>
>>         try:
>>             response = urllib2.urlopen(line)
>>             html=response.read()
>>
>>
>
>
> Do you need to close all the http sessions you are opening? I don't see
> you doing it.
>
> I tried closing http session after each iteration still writing to file is
not working properly

-- 
-- 
Mailing list guidelines and other related articles: http://lug-iitd.org/Footer

--- 
You received this message because you are subscribed to the Google Groups 
"Linux User Group @ IIT Delhi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to