add favicon

This commit is contained in:
Mylloon 2020-08-05 18:45:52 +02:00 committed by GitHub
parent 331a7b81b9
commit 3200238866
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 1 deletions

BIN
favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.3 KiB

BIN
favicon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.9 KiB

View file

@ -1,4 +1,4 @@
from tkinter import Tk, filedialog, Button, Label, Entry from tkinter import Tk, filedialog, Button, Label, Entry, PhotoImage
import tkinter.font as tkfont import tkinter.font as tkfont
import csv import csv
import webbrowser import webbrowser
@ -220,6 +220,7 @@ root=Tk()
root.geometry("1100x600") root.geometry("1100x600")
root.title("CSV PASSWORD VIEWER") root.title("CSV PASSWORD VIEWER")
root.resizable(False, False) root.resizable(False, False)
root.iconphoto(False, PhotoImage(file='favicon.png'))
Button(root, text = "Browser file", command = select_file).place(x = 1000, y = 10) Button(root, text = "Browser file", command = select_file).place(x = 1000, y = 10)