Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Tk_copy2clipboard.py
- from Tkinter import Tk
- import sys
- root = Tk()
- root.clipboard_clear()
- root.clipboard_append('copy2clipboard')
- print "Copied To Clipboard"
- root.mainloop()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement