#import time
#import picamera
 
#camera = picamera.PiCamera()
#try:
#    camera.start_preview()
#    time.sleep(10)
#    camera.stop_preview()
#finally:
#    camera.close()
	
	
import os
import time
import subprocess	
	
	#raspistill -o image01.jpg -t 1000	
	filename = 'android.jpg'
	cmd = 'raspistill -o ' + filename + ' -t 1000
    pid = subprocess.call(cmd, shell=True)
	print "\nGoodbye!"
	
	
camera.exif_tags['IFD0.Artist'] = 'Me!'
camera.exif_tags['IFD0.Copyright'] = 'Copyright (c) 2013 Me!'