> -suprabha
> >
> >
> > On Thu, Sep 20, 2012 at 12:12 PM, Yoganand Anandaraju >wrote:
> >
> >> Do you get any errors when downloading the pdf?
> >>
> >> - Original Message -----
> >> From: suprabha ekka
> >> Sent: 09/20/12
PM, Yoganand Anandaraju wrote:
>
>> Do you get any errors when downloading the pdf?
>>
>> - Original Message -
>> From: suprabha ekka
>> Sent: 09/20/12 11:01 AM
>> To: Bangalore Python Users Group - India
>> Subject: Re: [BangPypers] help
- Original Message -
> From: suprabha ekka
> Sent: 09/20/12 11:01 AM
> To: Bangalore Python Users Group - India
> Subject: Re: [BangPypers] help needed to in Client Cookie module
>
> I am providing the complete code import urllib2 import urllib import
> ClientCoo
Do you get any errors when downloading the pdf?
- Original Message -
From: suprabha ekka
Sent: 09/20/12 11:01 AM
To: Bangalore Python Users Group - India
Subject: Re: [BangPypers] help needed to in Client Cookie module
I am providing the complete code import urllib2 import urllib
I am providing the complete code
import urllib2
import urllib
import ClientCookie
import ClientForm
import sys
cj = ClientCookie.LWPCookieJar()
opener = ClientCookie.build_opener(urllib2.HTTPSHandler(),
ClientCookie.HTTPCookieProcessor(cj))
ClientCookie.install_opener(opener)
# input-type val
On 19 September 2012 16:09, suprabha ekka wrote:
> Hi ,
>
> I wanted to download a file from a content url . The content of the file is
> pdf/doc/docx/.xls/ any ms supported file.
> The simple text file i am able to download but i am unbal eto download any
> other file.
> The snippet of the code
Hi ,
I wanted to download a file from a content url . The content of the file is
pdf/doc/docx/.xls/ any ms supported file.
The simple text file i am able to download but i am unbal eto download any
other file.
The snippet of the code is :
import urllib2
import urllib
import ClientCookie
import s