Python Fun

आवश्यकता आविष्कार की जननी है

Just think what all this small piece of code can do

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

Categories: Fun Programming 

No Comments Yet


Leave a Comment