# 需要导入模块: from Tkinter import Tk [as 别名]# 或者: from Tkinter.Tk importclipboard_clear[as 别名]defcopy_helper(text):'''I have no idea what I'm doing here, but it seems to work ¯\_(ツ)_/¯'''r = Tk() r.withdraw() r.clipboard_clear() r.clipboard_append(text) r....