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
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
---
You've been invited by suprabha ekka to use Google Talk.
If you already have a Google account, login to Gmail and accept this chat
invitation:
http://mail.google.com/mail/b-15398a66b9-db383e9d0b-m97WIBgu_USqcCtuouIVrLeRLxE
T
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
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 im