def main():
    for index in range(150, 151):
        url = (
            'http://www.archive.org/download/Cory_Doctorow_Podcast_%d/Cory_Doctorow_Podcast_%d_64kb_mp3.zip'
             % (index, index))
dlfile(url)
if __name__ == '__main__':
    main()
How do I download a zip file in python using urllib2?