import pyperclip dd=pyperclip.paste() print(dd) pyperclip.copy("docs.python.org") print(pyperclip.paste()) pyperclip.copy("hello") print(pyperclip.paste())
输出
hello
docs.python.org
hello
import pyperclip dd=pyperclip.paste() print(dd) pyperclip.copy("docs.python.org") print(pyperclip.paste()) pyperclip.copy("hello") print(pyperclip.paste())
输出
hello
docs.python.org
hello
转载于:https://www.cnblogs.com/sea-stream/p/10363166.html