How to use the pyora.Main function in pyora

To help you get started, we’ve selected a few pyora examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github bicofino / Pyora / pyora.py View on Github external
def __call__(self):
        try:
            a = self.args
            callargs = [getattr(a, name) for name in a.argnames]
            self.db_connect()
            try:
                return self.args.func(*callargs)
            finally:
                self.db_close()
        except Exception, err:
            print 0
            print str(err)


if __name__ == "__main__":
    main = Main()
    main()

pyora

Read, Write, and Render OpenRaster (.ORA) files

MIT
Latest version published 4 years ago

Package Health Score

33 / 100
Full package analysis

Popular pyora functions

Similar packages