import os import console def get_app_class(template): class App(template): def F_main(self): console.write_str(self.console, os.getcwd() + "\n") self.exit() return App