We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be99875 commit 95d04aaCopy full SHA for 95d04aa
calendar_display/calendar_app.py
@@ -0,0 +1,24 @@
1
+import tkinter as tk
2
+from tkinter import messagebox
3
+import calendar
4
+
5
+def main():
6
+ root = tk.Tk()
7
+ root.title("Calendar App")
8
+ root.geometry("300x150")
9
10
+ tk.Label(root, text="Enter Year:").pack(pady=5)
11
+ year_entry = tk.Entry(root)
12
+ year_entry.pack(pady=5)
13
14
+ def show_calendar():
15
+ # Placeholder function for showing calendar
16
+ print("Show calendar function placeholder")
17
18
+ tk.Button(root, text="Show Calendar", command=show_calendar).pack(pady=5)
19
+ tk.Button(root, text="Exit", command=root.destroy).pack(pady=5)
20
21
+ root.mainloop()
22
23
+if __name__ == "__main__":
24
+ main()
0 commit comments