以下程序:
from tkinter import *
from tkinter.filedialog import askopenfilename
root = Tk()
root.filename = askopenfilename(initialdir = "/", title = "Select file",
filetypes = (("jpeg files","*.jpg"),
("all files","*.*")))
print (root.filename)
生成消息:
Class FIFinderSyncExtensionHost is implemented in both /System/Library/PrivateFrameworks/FinderKit.framework/Versions/A/FinderKit (0x7fffa6199a70) and /System/Library/PrivateFrameworks/FileProvider.framework/OverrideBundles/FinderSyncCollaborationFileProviderOverride.bundle/Contents/MacOS/FinderSyncCollaborationFileProviderOverride (0x11b192cd8). One of the two will be used. Which one is undefined.
我应该在哪里解决此问题?