def __init__(self, *args, **kwargs):

        Tk.__init__(self, *args, **kwargs)
        self.title('Vy')

        global root
        root     = self
        self.dir = join(expanduser('~'), '.vy')
        self.rc  = join(self.dir, 'vyrc')
        
        if not exists(self.dir):
            mkdir(self.dir)
        
        if not exists(self.rc):
            copyfile(join(dirname(__file__), 'vyrc'), self.rc)
        
        execfile(self.rc, ENV)

        self.note = NoteVi(master=self, takefocus=0)
        self.note.pack(expand=True, fill=BOTH)
        self.read_data = Frame()

        self.status = StatusBar(self)
        self.status.pack(side=BOTTOM, fill=X)

# Just stdout is set. stderr remains original.
# So, some exceptions that are natural and occur along
# the application will not show up on text areas.
App class constructor. The arguments are passed to Tk class widget.
dataset/ETHPy150Open iogf/vy/vyapp/app.py/App.__init__