from peatz.core.Object import Object
from peatz.core import constants
import settings, sys, os, importlib as il

class Peatz(Object):
            
    def start_app(self, app_name):
        mod = il.import_module(app_name.lower() + '.' + app_name);
        app = getattr(mod, app_name)()
        app.start()
        
peatz = Peatz();
peatz.start_app('MyApp')
17c3df592be9d63159eca8e2d537316e1b69e8c1
<mask token>


class Peatz(Object):

    def start_app(self, app_name):
        mod = il.import_module(app_name.lower() + '.' + app_name)
        app = getattr(mod, app_name)()
        app.start()


<mask token>

<mask token>


class Peatz(Object):

    def start_app(self, app_name):
        mod = il.import_module(app_name.lower() + '.' + app_name)
        app = getattr(mod, app_name)()
        app.start()


<mask token>
peatz.start_app('MyApp')

<mask token>


class Peatz(Object):

    def start_app(self, app_name):
        mod = il.import_module(app_name.lower() + '.' + app_name)
        app = getattr(mod, app_name)()
        app.start()


peatz = Peatz()
peatz.start_app('MyApp')

from peatz.core.Object import Object
from peatz.core import constants
import settings, sys, os, importlib as il


class Peatz(Object):

    def start_app(self, app_name):
        mod = il.import_module(app_name.lower() + '.' + app_name)
        app = getattr(mod, app_name)()
        app.start()


peatz = Peatz()
peatz.start_app('MyApp')

from peatz.core.Object import Object
from peatz.core import constants
import settings, sys, os, importlib as il

class Peatz(Object):
            
    def start_app(self, app_name):
        mod = il.import_module(app_name.lower() + '.' + app_name);
        app = getattr(mod, app_name)()
        app.start()
        
peatz = Peatz();
peatz.start_app('MyApp')