diff --git a/HNS/Excercises/22.10.2023/.idea/.gitignore b/HNS/Excercises/22.10.2023/.idea/.gitignore new file mode 100644 index 0000000..26d3352 --- /dev/null +++ b/HNS/Excercises/22.10.2023/.idea/.gitignore @@ -0,0 +1,3 @@ +# Default ignored files +/shelf/ +/workspace.xml diff --git a/HNS/Excercises/22.10.2023/.idea/22.10.2023.iml b/HNS/Excercises/22.10.2023/.idea/22.10.2023.iml new file mode 100644 index 0000000..d0876a7 --- /dev/null +++ b/HNS/Excercises/22.10.2023/.idea/22.10.2023.iml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/HNS/Excercises/22.10.2023/.idea/inspectionProfiles/Project_Default.xml b/HNS/Excercises/22.10.2023/.idea/inspectionProfiles/Project_Default.xml new file mode 100644 index 0000000..5fa42ac --- /dev/null +++ b/HNS/Excercises/22.10.2023/.idea/inspectionProfiles/Project_Default.xml @@ -0,0 +1,29 @@ + + + + \ No newline at end of file diff --git a/HNS/Excercises/22.10.2023/.idea/inspectionProfiles/profiles_settings.xml b/HNS/Excercises/22.10.2023/.idea/inspectionProfiles/profiles_settings.xml new file mode 100644 index 0000000..105ce2d --- /dev/null +++ b/HNS/Excercises/22.10.2023/.idea/inspectionProfiles/profiles_settings.xml @@ -0,0 +1,6 @@ + + + + \ No newline at end of file diff --git a/HNS/Excercises/22.10.2023/.idea/misc.xml b/HNS/Excercises/22.10.2023/.idea/misc.xml new file mode 100644 index 0000000..a971a2c --- /dev/null +++ b/HNS/Excercises/22.10.2023/.idea/misc.xml @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/HNS/Excercises/22.10.2023/.idea/modules.xml b/HNS/Excercises/22.10.2023/.idea/modules.xml new file mode 100644 index 0000000..6bf49c9 --- /dev/null +++ b/HNS/Excercises/22.10.2023/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/HNS/Excercises/22.10.2023/main 22.10.py b/HNS/Excercises/22.10.2023/main 22.10.py new file mode 100644 index 0000000..ce26967 --- /dev/null +++ b/HNS/Excercises/22.10.2023/main 22.10.py @@ -0,0 +1,18 @@ +from tkinter import * + + +def clicked(): + res = "Hallo {}".format(txt.get()) + lbl.configure(text=res) + + +window = Tk() +window.title("Willkommen bei der Bewerbung") +window.geometry('400x250') +lbl = Label(window, text="Hallo") +lbl.grid(column=0, row=0) +txt = Entry(window, width=20) +txt.grid(column=1, row=0) +btn = Button(window, text="Klicken!", command=clicked) +btn.grid(column=2, row=0) +window.mainloop()