Fotobox2/main.py

16 lines
255 B
Python
Executable File

#!/usr/bin/python3
import pygame
import picamera
from Fotobox import Fotobox
with picamera.PiCamera() as camera:
fotobox = Fotobox(camera)
try:
fotobox.run()
except KeyboardInterrupt:
pass
finally:
pygame.quit()