Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #36410
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!us.feeder.erje.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <cameron@cskk.homeip.net> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.003 |
| X-Spam-Evidence | '*H*': 0.99; '*S*': 0.00; 'jeff': 0.04; 'python': 0.09; 'subject:files': 0.09; 'cc:addr:python-list': 0.10; 'subject:python': 0.11; 'from:addr:cs': 0.16; 'from:addr:zip.com.au': 0.16; 'from:name:cameron simpson': 0.16; 'message-id:@cskk.homeip.net': 0.16; 'received:202.125.174': 0.16; 'received:202.125.174.133': 0.16; 'received:boardofstudies.nsw.edu.au': 0.16; 'received:cskk.homeip.net': 0.16; 'received:edu.au': 0.16; 'received:harvey.boardofstudies.nsw.edu.au': 0.16; 'received:homeip.net': 0.16; 'received:nsw.edu.au': 0.16; 'simpson': 0.16; 'subject:download': 0.16; 'subject:internet': 0.16; 'wrote:': 0.17; 'cc:2**0': 0.23; 'example': 0.23; 'cc:no real name:2**0': 0.24; 'cc:addr:python.org': 0.25; 'header:In- Reply-To:1': 0.25; 'header:User-Agent:1': 0.26; 'subject: ?': 0.30; 'implement': 0.32; 'file': 0.32; 'thanks': 0.34; 'received:au': 0.36; 'charset:us-ascii': 0.36; 'subject:: ': 0.38; 'content-disposition:inline': 0.60; '!!!': 0.62; 'money.': 0.62; 'more': 0.63; 'show': 0.63; 'god': 0.66; ',the': 0.84; 'fly,': 0.84; 'to:addr:163.com': 0.91 |
| Date | Tue, 8 Jan 2013 15:44:00 +1100 |
| From | Cameron Simpson <cs@zip.com.au> |
| To | iMath <redstone-cold@163.com> |
| Subject | Re: how to download internet files by python ? |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=us-ascii |
| Content-Disposition | inline |
| In-Reply-To | <e4fc5450-8816-471f-8f03-ed9229b64602@googlegroups.com> |
| User-Agent | Mutt/1.5.21 (2010-09-15) |
| References | <e4fc5450-8816-471f-8f03-ed9229b64602@googlegroups.com> |
| Cc | python-list@python.org |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.259.1357620254.2939.python-list@python.org> (permalink) |
| Lines | 14 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1357620254 news.xs4all.nl 6977 [2001:888:2000:d::a6]:45684 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:36410 |
Show key headers only | View raw
On 07Jan2013 20:19, iMath <redstone-cold@163.com> wrote:
| for example ,if I want to download this file ,how to implement the download functionality by python ?
|
| http://down.51voa.com/201208/se-ed-foreign-students-friends-16aug12.mp3
|
| as for download speed ,of course ,the fast ,the better ,so how to implement it ?
| It would be better to show me an example :) thanks !!!
Look at urllib2.
--
Cameron Simpson <cs@zip.com.au>
If God had intended Man to fly, He would have given him more money.
- Jeff Cauhape, cauhape@TWG.COM
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
how to download internet files by python ? iMath <redstone-cold@163.com> - 2013-01-07 20:19 -0800
Re: how to download internet files by python ? Cameron Simpson <cs@zip.com.au> - 2013-01-08 15:44 +1100
Re: how to download internet files by python ? Roy Smith <roy@panix.com> - 2013-01-08 00:04 -0500
Re: how to download internet files by python ? iMath <redstone-cold@163.com> - 2013-01-09 18:08 -0800
Re: how to download internet files by python ? Tim Roberts <timr@probo.com> - 2013-01-09 20:31 -0800
Re: how to download internet files by python ? Rodrick Brown <rodrick.brown@gmail.com> - 2013-01-08 00:00 -0500
Re: how to download internet files by python ? MRAB <python@mrabarnett.plus.com> - 2013-01-08 15:19 +0000
csiph-web