tkinter filedialog“两者都实现”

时间:2019-11-03 17:55:07

标签: python-3.x tkinter

以下程序:

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.

我应该在哪里解决此问题?

0 个答案:

没有答案