def loadApplication(filename, kind, passphrase=None):
 if (kind == 'python'):
  application = sob.loadValueFromFile(filename, 'application', passphrase)
 else:
  application = sob.load(filename, kind, passphrase)
 return application

def loadApplication ( filename , kind , passphrase = None ) : if ( kind == 'python' ) : application = sob . loadValueFromFile ( filename , 'application' , passphrase ) else : application = sob . load ( filename , kind , passphrase ) return application
load application from a given file .