for url in listurl:
f=open(str(i)+'.jpg','wb')
req=urllib.request.urlopen(url)
buf=req.read()
f.write(buf)
i+=1
import os
print os.getcwd()
默认肯定是你程序当前目录啊