Advertisement
here2share

# Tk_copy2clipboard.py

Aug 5th, 2015
330
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.18 KB | None | 0 0
  1. # Tk_copy2clipboard.py
  2.  
  3. from Tkinter import Tk
  4. import sys
  5.  
  6. root = Tk()
  7. root.clipboard_clear()
  8. root.clipboard_append('copy2clipboard')
  9. print "Copied To Clipboard"
  10.  
  11. root.mainloop()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement