from os.path import expanduser

from photofolder import Photofolder
from folder import RealFolder
from gphotocamera import Gphoto
from main import Photobox
from switch import KeyboardSwitch
# from rcswitch import RCSwitch

##########
# config #
##########
photodirectory = '/var/www/html/'
windowwidth = 1024
windowheight = 768
camera = Gphoto()
# switch = RCSwitch("TRIGGER", "SHUTDOWN", "EXIT")
switch = KeyboardSwitch()
##########
filesystemFolder = RealFolder(photodirectory)
photofolder = Photofolder(filesystemFolder)
photobox = Photobox((windowwidth, windowheight), photofolder, camera, switch)
photobox.start()

from os.path import expanduser

from photofolder import Photofolder
from folder import RealFolder
from gphotocamera import Gphoto
from main import Photobox
from switch import KeyboardSwitch
# from rcswitch import RCSwitch

##########
# config #
##########
photodirectory = '/var/www/html/'
windowwidth = 1024
windowheight = 768
camera = Gphoto()
# switch = RCSwitch(iTRIGGER", iSHUTDOWN, iEXIT)
switch = KeyboardSwitch()
##########
filesystemFolder = RealFolder(photodirectory)
photofolder = Photofolder(filesystemFolder)
photobox = Photobox((windowwidth, windowheight), photofolder, camera, switch)
photobox.start()

Change comments to represents correct type
Change comments to represents correct type
