def createSettingsFile():
 try:
  with open(SETTINGS_PATH):
   pass
 except IOError:
  file = open(SETTINGS_PATH, 'w+')
  file.close()
  alp.writePlist(DEFAULT_SETTINGS, SETTINGS_PATH)

def createSettingsFile ( ) : try : with open ( SETTINGS_PATH ) : pass except IOError : file = open ( SETTINGS_PATH , 'w+' ) file . close ( ) alp . writePlist ( DEFAULT_SETTINGS , SETTINGS_PATH )
creates the default settings file .