Mavzuning dolzarbligi. Avborot boshqarish sistemalarida raqamli kiritish-chiqarish qurilmalari juda muhim ahamiyatga egadir, ular yordami bilan axborotlarni saqlashimiz
Download 0.57 Mb.
|
Ummatova Madinabonu
'A': 'war7ior','B': 't56','C': 'ak-47','D': 'awp','E': 'emka-b','F': 'panzer','G': 'aspirine','H': 'nootertools','I': 'turtle','J': 'hitman7','K': 'CR7','L': '#7','M': '(sigma)','N': '&hollywood&','O': 'zzzz','P': 'george','Q': 'deep','R': 'pode','S': 'hybrid','T': 'to_closse','U': 'name','V': 'fname','Z': 'pop','W': 'error','1': 'te2r0r','2': 'c-te2r0r','3': 'Musk','4': 'good','5': 'super','6': 'olex','7': 'mine','8': 'win','9': 'mouse3','0': 'ha',' ': 'full','-': 'clan',',': 'clash','.': 'damage_1000','/': '100%','+': 'why?','*': 'who?','=': 'you',';': 'zero',':': 'zebra','?': 'junior','!': 'aa^aa','(': '^^^___^^^',')': '):','_': '(0_0)','%': '(0^0)','#': 'panda','@': 'bankai','#': 'ki2ler','$': 'kung-fu','^': 'sit','&': 'tip','\'': 'back','"': '@29r','`': '$donald','~': 'mak',',': 'new','<': 'left','>': 'right','{': 'figure','}': 'capture',}def toBinary():a = coder.get()b = []for x in a:for y in char_arr.keys():if y == x:b.append(char_arr[x])characters_var = tk.StringVar(value=b)listbox = tk.Listbox(listvariable=characters_var, height=9, width=8, font=('Arial', 13))listbox.grid(row=2, column=0, sticky='we', columnspan=2, padx=10, pady=15)scrollbar = ttk.Scrollbar(orient="vertical", command=listbox.yview)scrollbar.grid(row=2, column=1, sticky='ens', padx=5, pady=15)listbox["yscrollcommand"]=scrollbar.setdef toCharacter():a = decoder.get()b = ''c = ''for x in a:c += xif x == "#":v = {i for i in char_arr if char_arr[i]==c[:-1]}for y in v:b += yc=''tk.Label(win, text=b, font=("Arial", 16, 'bold')).grid(row=2, column=3, columnspan=2, sticky='we')win = tk.Tk()win.title("Kurs loyiha")win.geometry("600x270+500+100")win.resizable(False,False)canvas = tk.Canvas(width=2, bg='#660033')tk.Label(win, text="Shifrator:", anchor="w", font=("Arial", 16), fg='#158EF9').grid(row=0, column=0, columnspan=2)coder = tk.Entry(win, font=("Arial", 12))coder.grid(row=1, column=0, padx=10)tk.Button(win, text="Hisobla", font=("Arial", 12, 'bold'),bg='#158EF9', fg='white', activeforeground='#158EF9', activebackground='white',command=toBinary).grid(row=1, column=1, padx=10)main_arr = ['Kurs loyiha','@Created by','Ummatova Madina']characters_var = tk.StringVar(value=main_arr)listbox = tk.Listbox(listvariable=characters_var, height=9, width=8, font=('Arial', 13), fg='#158EF9')listbox.grid(row=2, column=0, sticky='we', columnspan=2, padx=10, pady=15)scrollbar = ttk.Scrollbar(orient="vertical", command=listbox.yview)scrollbar.grid(row=2, column=1, sticky='ens', padx=5, pady=15)listbox["yscrollcommand"]=scrollbar.setcanvas.create_line(25, 0, 25, 500, width=2)canvas.grid(row=0, column=2, rowspan=7)tk.Label(win, text="Deshifrator:", font=("Arial", 16), fg='red').grid(row=0, column=3, columnspan=2)Download 0.57 Mb. Do'stlaringiz bilan baham: |
Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling
ma'muriyatiga murojaat qiling