# Python s60 Nokia 6630 -- Time Lapse Photography # By Eirik Solheim -- http://eirikso.com # Based on: # Python s60 3rd Edition -- Time lapse Photography for Nokia N80 # Code by Anteater -- http://blog.foozia.com from appuifw import * #from graphics import * import camera #import e32 #from key_codes import * from time import sleep import audio import appuifw nameOfProject = appuifw.query(u"Name of project:", "text") numImages = appuifw.query(u"Number of images:", "number") delay = appuifw.query(u"Delay in seconds:", "number") print "Starting..." x = 0 while x != numImages: print "Snapping image number: " + str(x) image = camera.take_photo(size=(1280,960)) #### Change the path here to a folder on your phone filename='e:\\python\\timelapse\\'+nameOfProject+'_'+str(x)+'.jpg' print "Saving image "+nameOfProject+"_"+str(x)+".jpg"+" ...and waiting..." image.save(filename) sleep(delay) x +=1 print "All done"