add favicon
This commit is contained in:
parent
331a7b81b9
commit
3200238866
3 changed files with 2 additions and 1 deletions
BIN
favicon.ico
Normal file
BIN
favicon.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 9.3 KiB |
BIN
favicon.png
Normal file
BIN
favicon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 8.9 KiB |
3
main.py
3
main.py
|
@ -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)
|
||||||
|
|
||||||
|
|
Reference in a new issue