how to download internet files by python ?

Cameron Simpson cs at zip.com.au
Tue Jan 8 05:44:00 CET 2013


On 07Jan2013 20:19, iMath <redstone-cold at 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 at zip.com.au>

If God had intended Man to fly, He would have given him more money.
        - Jeff Cauhape, cauhape at TWG.COM



More information about the Python-list mailing list