-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathFirst.py
More file actions
58 lines (34 loc) · 1.76 KB
/
First.py
File metadata and controls
58 lines (34 loc) · 1.76 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
import tkinter as tk
#import subprocess
def write_slogan():
print("Dreams are not which you see while in your sleep, Dreams are those which not let you Sleep! ")
root = tk.Tk()
root.title("Bioinformatics")
#logo = tk.PhotoImage(file="icon1.png")
#text1 = tk.Label(root, image=logo).pack(side="top")
#text2 = tk.Label(root,compound=tk.RIGHT,text="Hi! Welcome to Bioinformatics.",padx=200, pady=20, fg="#FF8A80", bg="#46799B", font="Helvetica 18 bold ", image=logo ).pack(side="top")
#def buttonFunction():
#subprocess.Popen(['C:/Program Files (x86)/Internet Explorer/iexplore.exe'])
#button = tk.button(root, text="Click This", fg="black", bg="lightgrey", padx=10 , pady=10 , font="Helvetica 16 bold", command=buttonFunction())
#button.pack()
title = "Hi! Welcome to Bioinformatics."
msgBox = tk.Message(root, text=title)
msgBox.pack(side="top")
msgBox.configure(aspect=2000, bg="#424242", fg="#FF8A80", font="Helvetica 18 bold ")
w = tk.Canvas(root, width=2000, height=1)
w.pack()
w.create_line(2000, 2000, 20000, 20000, fill="black")
footerMessage = "Developed solely by Neha, Shivam, Priyank. Under the guidance of Mr. Rakesh Joshi."
footerMsgBox = tk.Message(root, text= footerMessage)
footerMsgBox.pack(side="bottom")
footerMsgBox.configure(font="times 10 italic", aspect = 2000)
# frame = tk.Frame(root)
# frame.configure(bg="#424242")
# frame.pack()
label = tk.Label(root, text= "Click to Open a PDB file : ", bg="#424242", fg="#E0E0E0", font="Times 14 italic bold", relief="flat", width=25).pack()
button2 = tk.Button(root, text="Open", font="Times 14 italic", bg="#757575", command=write_slogan, width=25)
button2.pack()
root.configure(bg="#424242")
root.geometry("950x600")
#root.resizable(0,0)
root.mainloop()