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.
dataset/ETHPy150Open twisted/twisted/twisted/application/service.py/loadApplication