-
Notifications
You must be signed in to change notification settings - Fork 0
/
credits.py
37 lines (25 loc) · 932 Bytes
/
credits.py
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
import tkinter as tk
#Main function to create the credit menu
def show_credits():
credits_window = tk.Tk()
credits_window.title("Credits")
title_label = tk.Label(credits_window, text="Credits", font=("Helvetica", 16, "bold"))
title_label.pack(pady=10)
credits_text = """
Project Title: Mental Health Evaluation of Doctors
Developed by:
- Developer 1: SHIVRAJ PRATAP SINGH
- Developer 2: NEEV DiVAN
- Developer 3: AADI KOHAR
Acknowledgements:
We would like to thank everyone who supported us during this project.
"""
credits_label = tk.Label(credits_window, text=credits_text, justify="left")
credits_label.pack(pady=10)
close_button = tk.Button(credits_window, text="Close", command=credits_window.destroy)
close_button.pack(pady=10)
credits_window.mainloop()
def main():
show_credits()
if __name__ == "__main__":
main()