Aug-31-2023, 03:45 PM
Print the value of keyword and cleaned_message. Is keyword appearing in cleaned_message? Print context_text to see if any matches were found. If you think you saw where keyword was in cleaned_message, but nothing appears in context_text, post the printed output.
You don't have to create a window to use a tkinter file dialog. This works:
You don't have to create a window to use a tkinter file dialog. This works:
from tkinter import filedialog file_path = filedialog.asksaveasfilename(defaultextension=".txt", filetypes=[("Text files", "*.txt")]) print(file_path)