Pyperclip is a cross-platform Python module for copy and paste clipboard functions. It works with Python 2 and 3. It currently only handles plaintext. Example Usage: >>> import pyperclip >>> pyperclip.copy('The text to be copied to the clipboard.') >>> pyperclip.paste() 'The text to be copied to the clipboard.' PDF documentation included in /usr/doc/pyperclip-$VERSION Optional Dependencies: - xclip - xsel