TkinterDnd.Tk() event.data format
TkinterDnd.Tk() event.data format Question: When using TkinterDnd.Tk() to drop external files into the tk window, the event argument from the handler function has the paths of the files on a single string, separated by whitespaces. def handle_drop(event): paths = event.data.strip() drop_zone.dnd_bind(‘<<Drop>>’, handle_drop) So by adding .split() to paths, I get them individually. But my problems …