Python Fun
Monday 19 September 2005 at 05:42 am
Just think what all this small piece of code can do :-P
while x <= 100:
… temp = urllib2.urlopen(address+prefix+str(x)+suffix)
… data = open(prefix+str(x)+suffix, ‘wb’ )
… data.write(temp.read())
… data.close()
… temp.close()
… x +=1
