Created
May 19, 2017 06:01
-
-
Save fereria/65e436a7edb60bfd93e25aae60d9f52b to your computer and use it in GitHub Desktop.
get clipboard
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
""" | |
クリップボード取得 | |
""" | |
import win32clipboard | |
win32clipboard.OpenClipboard() | |
# データ取得 | |
print win32clipboard.GetClipboardData() | |
# ストリームを閉じる | |
win32clipboard.CloseClipboard() | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment