Esempio n. 1
0
    def refresh(self):
        tname = self.va.get()
        O = dacon.Out()
        data = O.get_enofa_lists(tname)

        self.libox.delete(0, END)

        for li in data:
            self.libox.insert(END, li)
Esempio n. 2
0
    def listing_data(self):
        listframe = Frame(self.win)
        listframe.pack()

        tname = self.va.get()
        O = dacon.Out()
        data = O.get_enofa_lists(tname)

        self.libox = Listbox(listframe)

        for li in data:
            self.libox.insert(END, li)

        self.libox.pack()
Esempio n. 3
0
    def UI_head(self):
        headframe = Frame(self.win)
        headframe.pack()
        O = dacon.Out()
        enofaref = O.get_enofa_ref()
        d_tname = enofaref["tname"]
        option = [" "]
        for li in d_tname:
            print li
            option.append(str(li))

        self.va = StringVar()
        self.va.set(option[0])
        head_om = apply(OptionMenu, (headframe, self.va) + tuple(option))
        head_om.pack()

        head_btn = Button(headframe, text="refresh", command=self.refresh)
        head_btn.pack()
        s_btn = Button(headframe, text="spliting", command=self.spliting_print)
        s_btn.pack()
Esempio n. 4
0
 def spliting_print(self):
     tname = self.va.get()
     O = dacon.Out()
     data = O.spliting_data(tname)
Esempio n. 5
0
 def getlist(self):
     O = dacon.Out()
     listdata = O.get_list_csv()
     #listdata = ["1.csv", "2.csv"]
     return listdata
Esempio n. 6
0
 def __init__(self):
     self.O = dacon.Out()