# File: twincodes # Date: 9/8/2017 # Author: ahmad hemmati (a.hahmad90@gmail.com) # Purpose: """ Twincodes is the name of a new encryption algorithm that can completely encrypt any type of file. I am not a professional coder, and the following codes is only related to the test code for the Twincodes algorithm. Non-standard naming and non-commenting, makes it hard to read codes quickly and I apologize for this. But note that these codes are for the sole purpose of displaying and proving the function of the Twincodes algorithm and is not a standard code for citation,so each person can create standardized and optimized codes based on the algorithm published on the www.twincodesworld.com (For a better understanding of the current code, you should refer to the published algorithm.) """ # Requirements: python 3.x ################################## ################################## ################################## def bit_bit(wsp): import binascii with open(wsp, 'rb') as my_file: my_bytes = my_file.read() convert_bytes = bin(int(binascii.hexlify(my_bytes), 16))[2:].zfill(8) return convert_bytes ################################## def inter_code(ksp): file_kham = ksp def cod_end(): i=0 j=10 w= len(file_kham) while w >= 0: if w < 9: g=file_kham[i:] return g i+=10 j+=10 w-=10 def cod_first(): i=0 j=10 w=len(file_kham) list = [] while w > 10: c = file_kham[i:j] list.append(c) i+=10 j+=10 w-=10 return list end=cod_end() first=cod_first() first.append(end) inter_cod=first return inter_cod ################################## baise_cod=[['0000000000'], ['1000000000'], ['0100000000'], ['0010000000'], ['0001000000'], ['0000100000'], ['0000010000'], ['0000001000'], ['0000000100'], ['0000000010'], ['0000000001'], ['1100000000'], ['0110000000'], ['0011000000'], ['0001100000'], ['0000110000'], ['0000011000'], ['0000001100'], ['0000000110'], ['0000000011'], ['1110000000'], ['0111000000'], ['0011100000'], ['0001110000'], ['0000111000'], ['0000011100'], ['0000001110'], ['0000000111'], ['1010000000'], ['0101000000'], ['0010100000'], ['0001010000'], ['0000101000'], ['0000010100'], ['0000001010'], ['0000000101'], ['1111000000'], ['0111100000'], ['0011110000'], ['0001111000'], ['0000111100'], ['0000011110'], ['0000001111'], ['1011000000'], ['0101100000'], ['0010110000'], ['0001011000'], ['0000101100'], ['0000010110'], ['0000001011'], ['1001000000'], ['0100100000'], ['0010010000'], ['0001001000'], ['0000100100'], ['0000010010'], ['0000001001'], ['1101000000'], ['0110100000'], ['0011010000'], ['0001101000'], ['0000110100'], ['0000011010'], ['0000001101'], ['1111100000'], ['0111110000'], ['0011111000'], ['0001111100'], ['0000111110'], ['0000011111'], ['1000100000'], ['0100010000'], ['0010001000'], ['0001000100'], ['0000100010'], ['0000010001'], ['1010100000'], ['0101010000'], ['0010101000'], ['0001010100'], ['0000101010'], ['0000010101'], ['1100100000'], ['0110010000'], ['0011001000'], ['0001100100'], ['0000110010'], ['0000011001'], ['1111110000'], ['0111111000'], ['0011111100'], ['0001111110'], ['0000111111'], ['1111111000'], ['0111111100'], ['0011111110'], ['0001111111'], ['1000101000'], ['0100010100'], ['0010001010'], ['0001000101'], ['1111111100'], ['0111111110'], ['0011111111'], ['1001000100'], ['0100100010'], ['0010010001'], ['1111111110'], ['0111111111'], ['1111111111'], ['1011111111'], ['1101111111'], ['1110111111'], ['1111011111'], ['1111101111'], ['1111110111'], ['1111111011'], ['1111111101'], ['1001111111'], ['1100111111'], ['1110011111'], ['1111001111'], ['1111100111'], ['1111110011'], ['1111111001'], ['1000111111'], ['1100011111'], ['1110001111'], ['1111000111'], ['1111100011'], ['1111110001'], ['0101111111'], ['1010111111'], ['1101011111'], ['1110101111'], ['1111010111'], ['1111101011'], ['1111110101'], ['1111111010'], ['1000011111'], ['1100001111'], ['1110000111'], ['1111000011'], ['1111100001'], ['0110111111'], ['1011011111'], ['1101101111'], ['1110110111'], ['1111011011'], ['1111101101'], ['1111110110'], ['0100111111'], ['1010011111'], ['1101001111'], ['1110100111'], ['1111010011'], ['1111101001'], ['1111110100'], ['0010111111'], ['1001011111'], ['1100101111'], ['1110010111'], ['1111001011'], ['1111100101'], ['1111110010'], ['1000001111'], ['1100000111'], ['1110000011'], ['1111000001'], ['1000000111'], ['1100000011'], ['1110000001'], ['1000000011'], ['1100000001'], ['0001000111'], ['1000100011'], ['1100010001'], ['1110001000'], ['1000101111'], ['1100010111'], ['1110001011'], ['1111000101'], ['1000000001'], ['1001000111'], ['1100100011'], ['1110010001'], ['0010010011'], ['1001001001'], ['1100100100'], ['1010101010'], ['1110101010'], ['1011101010'], ['1010111010'], ['1010101110'], ['1010101011'], ['0010101010'], ['1000101010'], ['1010001010'], ['1010100010'], ['1010101000'], ['1100101010'], ['1011001010'], ['1010110010'], ['1010101100'], ['0110101010'], ['1001101010'], ['1010011010'], ['1010100110'], ['1010101001'], ['1111101010'], ['1011111010'], ['1010111110'], ['1010101111'], ['1000001010'], ['1010000010'], ['1101101010'], ['1011011010'], ['1010110110'], ['1010101101'], ['0100101010'], ['1001001010'], ['1010010010'], ['1010100100'], ['1100001010'], ['1011000010'], ['1010110000'], ['0111101010'], ['1001111010'], ['1010011110'], ['1010100111'], ['0011101010'], ['1000111010'], ['1010001110'], ['1010100011'], ['0001101010'], ['1000011010'], ['1010000110'], ['1010100001'], ['0101101010'], ['1001011010'], ['1010010110'], ['1010100101'], ['1110001010'], ['1011100010'], ['1010111000'], ['1101001010'], ['1011010010'], ['1010110100'], ['1111001010'], ['1011110010'], ['1010111100'], ['1011111110'], ['1000000010'], ['1100011010'], ['1011000110'], ['1010110001'], ['1101011010'], ['1011010110'], ['1010110101'], ['1110011010'], ['1011100110'], ['1010111001'], ['1100000010'], ['1110000010'], ['1011100000'], ['1111000010'], ['1011110000'], ['1111100010'], ['1011111000'], ['1011111100'], ['1000000110'], ['1010000001'], ['0000111010'], ['1000001110'], ['1010000011'], ['0001111010'], ['1000011110'], ['1010000111'], ['0011111010'], ['1000111110'], ['1010001111'], ['0111111010'], ['1001111110'], ['0001000010'], ['1000100010'], ['1000010000'], ['1010001000'], ['1100010110'], ['1011000101'], ['1001000110'], ['1100100010'], ['1010010001'], ['0010010010'], ['1001001000'], ['1000100100'], ['0101010101'], ['1101010101'], ['0111010101'], ['0101110101'], ['0101011101'], ['0101010111'], ['0001010101'], ['0100010101'], ['0101000101'], ['0101010001'], ['0101010100'], ['1001010101'], ['0110010101'], ['0101100101'], ['0101011001'], ['0101010110'], ['0011010101'], ['0100110101'], ['0101001101'], ['0101010011'], ['1111010101'], ['0111110101'], ['0101111101'], ['0101011111'], ['0100000101'], ['0101000001'], ['1011010101'], ['0110110101'], ['0101101101'], ['0101011011'], ['0010010101'], ['0100100101'], ['0101001001'], ['0101010010'], ['1000010101'], ['0110000101'], ['0101100001'], ['0101011000'], ['0011110101'], ['0100111101'], ['0101001111'], ['0001110101'], ['0100011101'], ['0101000111'], ['0000110101'], ['0100001101'], ['0101000011'], ['0010110101'], ['0100101101'], ['0101001011'], ['1100010101'], ['0111000101'], ['0101110001'], ['0101011100'], ['1010010101'], ['0110100101'], ['0101101001'], ['0101011010'], ['1110010101'], ['0111100101'], ['0101111001'], ['0101011110'], ['0111111101'], ['0100000001'], ['1000110101'], ['0110001101'], ['0101100011'], ['0110101101'], ['0101101011'], ['1100110101'], ['0111001101'], ['0101110011'], ['1000000101'], ['0110000001'], ['1100000101'], ['0111000001'], ['0101110000'], ['1110000101'], ['0111100001'], ['0101111000'], ['0111110001'], ['0101111100'], ['0111111001'], ['0101111110'], ['0100000011'], ['0000011101'], ['0100000111'], ['0000111101'], ['0100001111'], ['0001111101'], ['0100011111'], ['0011111101'], ['0000100001'], ['0100010001'], ['0100001000'], ['1000101101'], ['0110001011'], ['1001000101'], ['0100100011'], ['0110010001'], ['0001001001'], ['0100100100'], ['1111101000'], ['1111100100'], ['1101100000'], ['1110100000'], ['1111101100'], ['1111100110'], ['1001100000'], ['1111010000'], ['1111101110'], ['1110110000'], ['1111011000'], ['1110010000'], ['1111001000'], ['1101110000'], ['1110111000'], ['1111011100'], ['1100110000'], ['1110011000'], ['1111001100'], ['1100010000'], ['1111000100'], ['1101010000'], ['1110101000'], ['1111010100'], ['1101111000'], ['1110111100'], ['1111011110'], ['1001110000'], ['1100111000'], ['1110011100'], ['1111001110'], ['1000110000'], ['1100011000'], ['1110001100'], ['1111000110'], ['1100001000'], ['1110000100'], ['1000001000'], ['1100000100'], ['1000011000'], ['1100001100'], ['1110000110'], ['1000111000'], ['1100011100'], ['1110001110'], ['1001111000'], ['1100111100'], ['1110011110'], ['1101111100'], ['1110111110'], ['1100010100'], ['0010011111'], ['0001011111'], ['0000010111'], ['0000011011'], ['0110011111'], ['0011011111'], ['0000010011'], ['0000101111'], ['0111011111'], ['0001101111'], ['0000110111'], ['0001001111'], ['0000100111'], ['0010001111'], ['0000100011'], ['0011001111'], ['0001100111'], ['0000110011'], ['0010101111'], ['0001010111'], ['0000101011'], ['0011101111'], ['0001110111'], ['0000111011'], ['0111101111'], ['0011110111'], ['0001111011'], ['0111001111'], ['0011100111'], ['0001110011'], ['0000111001'], ['0110001111'], ['0011000111'], ['0001100011'], ['0000110001'], ['0010000111'], ['0001000011'], ['0010000011'], ['0001000001'], ['0110000111'], ['0011000011'], ['0001100001'], ['0111000111'], ['0011100011'], ['0001110001'], ['0111100111'], ['0011110011'], ['0001111001'], ['0111110111'], ['0011111011'], ['0100010111'], ['0010001011'], ['1100110011'], ['1110110011'], ['1101110011'], ['1100111011'], ['1100110111'], ['0100110011'], ['1000110011'], ['1100010011'], ['1100110001'], ['1100110010'], ['1101010011'], ['1010110011'], ['1100101011'], ['1101100011'], ['1100111101'], ['1100110110'], ['0110110011'], ['1011110011'], ['1100011011'], ['0010110011'], ['1001110011'], ['1100001011'], ['1100100111'], ['1110010011'], ['1101000011'], ['1100111001'], ['1100110100'], ['1101111011'], ['1000010011'], ['1100100001'], ['1101011011'], ['1101001011'], ['0111110011'], ['1011010011'], ['1100101101'], ['1110100011'], ['1100111010'], ['1100111110'], ['1101101011'], ['1010010011'], ['1100101001'], ['1001010011'], ['1100100101'], ['1101000111'], ['1110101011'], ['1101010111'], ['1101100111'], ['1101000001'], ['1101100001'], ['1101110001'], ['1101111001'], ['1101111101'], ['1000001011'], ['1000011011'], ['1000111011'], ['1001111011'], ['1011111011'], ['1000101011'], ['1101000101'], ['0011001100'], ['1011001100'], ['0111001100'], ['0011101100'], ['0011011100'], ['0011001110'], ['0011001101'], ['0001001100'], ['0010001100'], ['0011000100'], ['0101001100'], ['0011010100'], ['0010101100'], ['0011001010'], ['1101001100'], ['0110001100'], ['0011110100'], ['0011011000'], ['0001101100'], ['0010111100'], ['0011000110'], ['0011001011'], ['0010011100'], ['0011000010'], ['0011001001'], ['1001001100'], ['0100001100'], ['0011100100'], ['0111101100'], ['0011011110'], ['0010000100'], ['0101101100'], ['0011010110'], ['0100101100'], ['0011010010'], ['1000001100'], ['0011000001'], ['0001011100'], ['0011000101'], ['0010110100'], ['1010001100'], ['0011101000'], ['0110101100'], ['0011011010'], ['0010100100'], ['0010010100'], ['1000101100'], ['0100011100'], ['0011100010'], ['0011010001'], ['1100101100'], ['0110011100'], ['0011110010'], ['0011011001'], ['0100000100'], ['0110000100'], ['0111000100'], ['0111100100'], ['0111110100'], ['0010000010'], ['0010000110'], ['0010001110'], ['0010011110'], ['0010111110'], ['0111010111'], ['0111000011'], ['0111000110'], ['1011000111'], ['0111001011'], ['0110100111'], ['0111011011'], ['0101100111'], ['0110110111'], ['0111000010'], ['0100100111'], ['0110010111'], ['0111010011'], ['0111001001'], ['0111100011'], ['0111010001'], ['0111001000'], ['0101110111'], ['0100110111'], ['0010100111'], ['0110101111'], ['0111011001'], ['0111101011'], ['0111001010'], ['0111111011'], ['0111011101'], ['0111001110'], ['0110000011'], ['0111011110'], ['0111011100'], ['0111011000'], ['0111010000'], ['1000100111'], ['0110001000'], ['1000111100'], ['1000111001'], ['1001011000'], ['0100111000'], ['1000110100'], ['1000111101'], ['1011011000'], ['1001101000'], ['0110111000'], ['1000110110'], ['0010111000'], ['1000110010'], ['1010011000'], ['1000011100'], ['1000101110'], ['1000110111'], ['1000100110'], ['1000000100'], ['1000110001'], ['1000010100'], ['1011001000'], ['1101011000'], ['1001010000'], ['1011101000'], ['1001111100'], ['1000100001'], ['1001010100'], ['1001100100'], ['1100001101'], ['1100000110'], ['1011000011'], ['1001000011'], ['1100001001'], ['1011100011'], ['1001100011'], ['1100011001'], ['1100011101'], ['1100001110'], ['1100011110'], ['0110111100'], ['0011110110'], ['0011111001'], ['0100111100'], ['0011101110'], ['0011100110'], ['0011110001'], ['0011100001'], ['1010000101'], ['1010001101'], ['0010000101'], ['1010000100'], ['1011100101'], ['1010011101'], ['1010001001'], ['1011110101'], ['1010111101'], ['1010001011'], ['1010011001'], ['1001100101'], ['1000100101'], ['1011111101'], ['1101100101'], ['1011011101'], ['1010010111'], ['1011001101'], ['1001110101'], ['1110100101'], ['1011101101'], ['1010011011'], ['1011111001'], ['1011110001'], ['1010011100'], ['1011100001'], ['1011000001'], ['1010010000'], ['1001111101'], ['0011100101'], ['0001100101'], ['1000011101'], ['0000100101'], ['1000001101'], ['1000010001'], ['0101111010'], ['1101111010'], ['0101111011'], ['0100111010'], ['0101110010'], ['0100011010'], ['0101001010'], ['0101100010'], ['0110111010'], ['0101110110'], ['0100001010'], ['0101000010'], ['0111011010'], ['0101101110'], ['0010111010'], ['0101110100'], ['0101100110'], ['0110011010'], ['0100000010'], ['0110001010'], ['0101001110'], ['0101000110'], ['0100110010'], ['1110111010'], ['0010011010'], ['0101101000'], ['0001011010'], ['0100010010'], ['0101100100'], ['1111011010'], ['0111110010'], ['0111100010'], ['0110000010'], ['0100111110'], ['0101101111'], ['0100011110'], ['0100001110'], ['0100000110'], ['0100010110'], ['1101001001'], ['1011001001'], ['1001101001'], ['1001011001'], ['1001001101'], ['1001001011'], ['1000001001'], ['1001000001'], ['1111001001'], ['1001111001'], ['1001001111'], ['1001010001'], ['1000101001'], ['1011101001'], ['1001011101'], ['1110001001'], ['1001110001'], ['1001001110'], ['1000011001'], ['1001100001'], ['1101101001'], ['1001101101'], ['1001010111'], ['0110001001'], ['1110101001'], ['1011011001'], ['1001011011'], ['0100001001'], ['0010001001'], ['1001000010'], ['1001011110'], ['1001011100'], ['0111101001'], ['0011101001'], ['0001101001'], ['0000101001'], ['1101011001'], ['1001101011'], ['1110011001'], ['0110110110'], ['1110110110'], ['0111110110'], ['0110111110'], ['0010110110'], ['0100110110'], ['0110010110'], ['0110100110'], ['0110110010'], ['0110110100'], ['0000110110'], ['0110000110'], ['0110110000'], ['0111010110'], ['0110101110'], ['0110100010'], ['0111100110'], ['0110011110'], ['0001110110'], ['0110001110'], ['0110110001'], ['1011110110'], ['0110111011'], ['1001110110'], ['0110111001'], ['1101110110'], ['0111101110'], ['0110111101'], ['0010010110'], ['0110010010'], ['0110101000'], ['0001010110'], ['0100100110'], ['0110100100'], ['1111010110'], ['1110010110'], ['1000010110'], ['0110100011'], ['0110100001'], ['0001000110'], ['1001110100'], ['1001101100'], ['1001110010'], ['1001101110'], ['1001110111'], ['1001100110'], ['1001100010'], ['1001101111'], ['1001100111'], ['0110011011'], ['0110010011'], ['0110011001'], ['0110101011'], ['0110011101'], ['0110011000'], ['0001100010'], ['0001010010'], ['0001001010'], ['1101000010'], ['0001110010'], ['0001001110'], ['0001011110'], ['0010100010'], ['0010110010'], ['0001101110'], ['0001001011'], ['0001100110'], ['0001001101'], ['0001010001'], ['0001011001'], ['1110111101'], ['1110011101'], ['1110101101'], ['1110110101'], ['1110111001'], ['0010111101'], ['1110001101'], ['1110110001'], ['1111011101'], ['1110111011'], ['1110100001'], ['1101011101'], ['1111001101'], ['1101101101'], ['1101001101'], ['1110110100'], ['1110110010'], ['0110101001'], ['0010101001'], ['1111011001'], ['1110101110'], ['0100101001'], ['1110101100'], ['1110100110'], ['1111010001'], ['1110100100'], ['1110100010'], ['1001010110'], ['1101010110'], ['0001010011'], ['0000100110'], ['0001011011'], ['0000101110'], ['0010100110'], ['0001011101'], ['0010101110'], ['0110010100'], ['1101110100'], ['1011110100'], ['0001110100'], ['1011010100'], ['1010010100'], ['1110010100'], ['1011000100'], ['1101010100'], ['1011100100'], ['0100110100'], ['1100010010'], ['1100100110'], ['1100101110'], ['1101100110'], ['1101000110'], ['1101111110'], ['1101011110'], ['1101001110'], ['1101101110'], ['1101110010'], ['1101100010'], ['0100101110'], ['0100100001'], ['0100101000'], ['0100101111'], ['0100101011'], ['0100110000'], ['0100110001'], ['0100111001'], ['1101010001'], ['1011010001'], ['0010110001'], ['0001101101'], ['0010000001'], ['0010100001'], ['0001101011'], ['0111101000'], ['0111101101'], ['0111010010'], ['0100011000'], ['0111010100'], ['1101110101'], ['1101100100'], ['1101110111'], ['1101000100'], ['1101101100'], ['1101011100'], ['1101101000'], ['1101001000'], ['1110010010'], ['1110011011'], ['1101010010'], ['1000010010'], ['1111010010'], ['1001010010'], ['1011011110'], ['0100011001'], ['0100111011'], ['1000010111'], ['1011010111'], ['1011110111'], ['1010110111'], ['0010010111'], ['0011010111'], ['1011100111'], ['1011001111'], ['0010100011'], ['0010100101'], ['0010101011'], ['0010101101'], ['0010111001'], ['0010011011'], ['0011011011'], ['0010111011'], ['0010011001'], ['0010011000'], ['0100011011'], ['0010011101'], ['0011101011'], ['1011011011'], ['0010001101'], ['0011010011'], ['0010110111'], ['0100001011'], ['1010111011'], ['0101001000'], ['1100101000'], ['0101000100'], ['0011011101'], ['0011101101'], ['0000101101'], ['1011101100'], ['1011101110'], ['1011011100'], ['1011101111'], ['1011101011'], ['1011010000'], ['1011001110'], ['1011001011'], ['0100010011']] baisecod=baise_cod[:] ################################## def borsh(jsp,hav): hav akhar_1=[] if len(jsp[-1])==10: hav.append (akhar_1) else: bor=jsp.pop() hav.append ([bor]) ################################## def palayesh(hsp): list_test=[] non=[] for l in hsp: if len(non)<=1023: if l not in non: non.append(l) test_c=hsp.index(l) list_test.append(test_c) return list_test ################################## def number(t): i=0 test_1_2=[] while i<=t: test_1_2.append(i) i+=1 return test_1_2 ################################## def hazf(a,b): for i in a[:]: if i in b: a.remove(i) ################################## def b_number(gsp): j=0 test_1_3_1=[] for i in gsp: q=i-j test_1_3_1.append(q) j+=1 return test_1_3_1 ################################## def tabdil(fsp,dsp,ssp,jav,lov): j=0 jav for i in fsp: z=dsp.pop(i) at=ssp[j] jav.append([z,at]) j+=1 lov.append(jav) ################################## def compare(pop): u=0 t=[pop] for i in baise_cod: if baise_cod[u]==t: lol=baisecod[u] u+=1 return lol ################################## def mai_list(asp): i=0 le=len(asp) while i=1050: list_1=borsh(intercode,cods_akhar) test_1=palayesh(intercode) if len(test_1)<= 1023: print('this file is less than of that able to process') return test_1_1=test_1[-1] test_1_3=number(test_1_1) hazf(test_1_3,test_1) test_2=test_1[-1]+1 test_2_1=intercode[:test_2] test_2_3=intercode[test_2:] test_1_4=b_number(test_1_3) tabdil(test_1_4,test_2_1,test_1_3,test_2_2,list_3) test_2_2=[] if len(test_2_1) <= 1023: del cods_akhar[-1] del list_3[-1] break mai_list(test_2_1) list_2=nahayi(test_2_3,baisecod,tedad) with open("E:\\twincode\\" + esme + "_list2.txt", "wb") as fp: pickle.dump(list_2, fp) bitbi=bit_bit("E:\\twincode\\" + esme + "_list2.txt") intercode=inter_code(bitbi) tedad += 1 reshte= str(list_2).strip('[]') reshte_kham=str(reshte).replace(',','') kham=reshte_kham.split() v_f_nahayi=elhaq(kham) with open(masir + "/" + esme +".txt", "wb") as fp: pickle.dump(v_f_nahayi, fp) with open("E:\\twincode\\" + esme + "_list1.txt", "wb") as fp: pickle.dump(cods_akhar, fp) with open("E:\\twincode\\" + esme + "_list3.txt", "wb") as fp: pickle.dump(list_3, fp) with open("E:\\twincode\\" + esme + "_mainlist.txt", "wb") as fp: pickle.dump(baisecod, fp) with open("E:\\twincode\\" + esme + "_formatfile.txt", "wb") as fp: pickle.dump(format_file, fp) ################################## def daryaft(): from tkinter import filedialog tempdir = filedialog.askopenfilename(parent=twin, title='Choose a file') ejra(tempdir) from tkinter import * twin = Tk() twin.geometry("683x384") twin.title(" twincodes") """twin.iconbitmap(default="f:\\T_Logo.ico")""" labelframe = LabelFrame(twin, bg='white' , text=" twincodes >>>> encoding " , font= "Arial 8 bold") labelframe.pack(fill="both",expand="yes") left = Label(labelframe, bg='white' , height= 4 , text="Welcome to TWINCODES world!" , font= "Arial 24 bold") left.pack() left = Label(labelframe, bg='white' , height= 2 , text="Please click start button to coding your file!" , font= "Arial 8 bold") left.pack() dokme=Button(labelframe, text="start" , width=25 , command=daryaft) dokme.pack() left = Label(labelframe, bg='white' , height= 8 , text="Thank You!\n Think different to be different" , font= "Arial 8 bold") left.pack() twin.mainloop() ################################## ################################## ################################## """ “Think different to be different” """