def to_comp():

    col = color.get()
    #print comp_mode.get()
    if res_mode.get():
        eps = e4.get()
    else:
        eps = 0

    fd = e1.get()
    f1 = e2.get()
    f2 = e3.get()
    #print col,eps

    if comp_mode.get() == 1:
        res = the_mess1([fd, f1, f2, col, float(eps)])
        #pass

    elif comp_mode.get() == 2:
        import fastreader
        res = fastreader.the_lmess([fd, f1, f2])
        #pass

    elif comp_mode.get() == 3:
        import test1csv
        res = test1csv.the_mess([fd, f1, f2])
        print res
    if res:
        print res
        showinfo("Done!", "Finished Comparing!")
        rep.append(res)
def to_comp():
    
    col = color.get()
    #print comp_mode.get()
    if res_mode.get():
        eps = e4.get()
    else:
        eps = 0

    fd = e1.get()
    f1 = e2.get()
    f2 = e3.get()
    #print col,eps


    if comp_mode.get() == 1:
        res = the_mess1([fd,f1,f2,col,float(eps)])
        #pass
        
    elif comp_mode.get() == 2:
        import fastreader
        res = fastreader.the_lmess([fd,f1,f2])
        #pass
    
    elif comp_mode.get() == 3:
        import test1csv 
        res = test1csv.the_mess([fd,f1,f2])
        print res
    if res:
        print res
        showinfo("Done!","Finished Comparing!")
        rep.append(res)
Exemple #3
0
def to_comp():

    #aaaaa = tkSimpleDialog.askstring("User Creds", "Enter your name", parent=root)

    val1, val2 = e5.get(), e6.get()
    clr1, clr2, clr3 = c1.get(), c2.get(), c3.get()
    cmpmode = comp_mode.get()
    print clr1, clr2, clr3
    print val1, val2
    #pass
    if ignore_mode.get():
        eps_per = e4.get()
        eps_val = e7.get()
        #print eps
    else:
        eps_per = 0
        eps_val = 0
    #print eps_per, eps_val

    fd = e1.get()
    f1 = e2.get()
    f2 = e3.get()
    import compxl_abc
    res = compxl_abc.the_mess1([
        fd, f1, f2, clr1, clr2, clr3, val1, val2,
        float(eps_per),
        float(eps_val)
    ])
    print res
    if comp_mode.get() == 1:
        import compxl
        res = compxl.the_mess1([
            fd, f1, f2, clr1, clr2, clr3, val1, val2,
            float(eps_per),
            float(eps_val)
        ])
        #res = the_mess1([fd,f1,f2,col,float(eps_per),float(eps_val)])
        print res
        #pass

    elif comp_mode.get() == 2:
        import fastreader
        res = fastreader.the_lmess(
            [fd, f1, f2, col, float(eps_per),
             float(eps_val)])
        pass

    elif comp_mode.get() == 3:
        import cmpcsv
        res = cmpcsv.comp_csv(f1, f2)
        #res = cmpcsv.comp_csv(f1,f2)
        #print res

    if res:
        showinfo("Done!", "Finished Comparing!")
        rep.append(res)
def to_comp():

    val1, val2 = e5.get(), e6.get()
    clr1, clr2, clr3 = c1.get(), c2.get(), c3.get()
    cmpmode = comp_mode.get()
    print clr1, clr2, clr3
    print val1, val2
    #pass
    if ignore_mode.get():
        eps = e4.get()
        print eps
    else:
        eps = 0

    fd = e1.get()
    f1 = e2.get()
    f2 = e3.get()
    import compxl
    res = compxl.the_mess1(
        [fd, f1, f2, clr1, clr2, clr3, val1, val2,
         float(eps)])
    print res
    if comp_mode.get() == 1:
        import compxl
        res = compxl.the_mess1(
            [fd, f1, f2, clr1, clr2, clr3, val1, val2,
             float(eps)])
        #res = the_mess1([fd,f1,f2,col,float(eps)])
        print res
        #pass

    elif comp_mode.get() == 2:
        import fastreader
        res = fastreader.the_lmess([fd, f1, f2, col, float(eps)])
        pass

    elif comp_mode.get() == 3:
        import cmpcsv
        res = cmpcsv.comp_csv(f1, f2)
        #res = cmpcsv.comp_csv(f1,f2)
        #print res

    if res:
        showinfo("Done!", "Finished Comparing!")
        rep.append(res)
def to_comp():

    val1,val2 = e5.get(),e6.get()
    clr1,clr2,clr3 = c1.get(),c2.get(),c3.get()
    cmpmode = comp_mode.get()
    print clr1,clr2,clr3
    print val1,val2
    #pass
    if ignore_mode.get():
        eps = e4.get()
        print eps
    else:
        eps = 0

    fd = e1.get()
    f1 = e2.get()
    f2 = e3.get()
    import compxl
    res = compxl.the_mess1([fd,f1,f2,clr1,clr2,clr3,val1,val2,float(eps)])
    print res
    if comp_mode.get() == 1:
        import compxl
        res = compxl.the_mess1([fd,f1,f2,clr1,clr2,clr3,val1,val2,float(eps)])
        #res = the_mess1([fd,f1,f2,col,float(eps)])
        print res
        #pass
        
    elif comp_mode.get() == 2:
        import fastreader
        res = fastreader.the_lmess([fd,f1,f2,col,float(eps)])
        pass
    
    elif comp_mode.get() == 3:
        import cmpcsv
        res = cmpcsv.comp_csv(f1,f2)
        #res = cmpcsv.comp_csv(f1,f2)
        #print res
        
    if res:
        showinfo("Done!","Finished Comparing!")
        rep.append(res)