reformat file to spaces before and after equal sign
This commit is contained in:
parent
d39dd9d484
commit
a8b5020419
|
|
@ -47,15 +47,14 @@ name_entry.focus()
|
|||
message_label = tk.Label(journal, text = "Deine Nachricht:")
|
||||
message_label.pack(fill = 'x', expand = True)
|
||||
#message_text = ttk.Text(journal, height = 50)
|
||||
message_text = tk.Text(journal)
|
||||
message_text = tk.Text(journal, height = 50)
|
||||
message_text.pack()
|
||||
|
||||
|
||||
def send_button_clicked():
|
||||
with open(journal_filename_path, "a") as journal_of_the_day:
|
||||
journal_of_the_day.write(name.get() + "\n")
|
||||
message_text_str=message_text.get()
|
||||
journal_of_the_day.write(message_text_str + "\n")
|
||||
journal_of_the_day.write(message_text.get() + "\n")
|
||||
journal_of_the_day.write("-----------------\n")
|
||||
showinfo(title = "Information", message = "Deine Nachricht wurde gespeichert")
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user