Skip to content

Instantly share code, notes, and snippets.

@LewisGet
Created January 13, 2021 11:53
Show Gist options
  • Save LewisGet/a5ee3c04f8ab108a16d9d42c9406c990 to your computer and use it in GitHub Desktop.
Save LewisGet/a5ee3c04f8ab108a16d9d42c9406c990 to your computer and use it in GitHub Desktop.
import win32clipboard as clip
clip.OpenClipboard()
# 複製時間
data = clip.GetClipboardData(data_formats)
data_handle = clip.GetClipboardDataHandle(data_formats)
clip.CloseClipboard()
print(data)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment