On 06/22/2015 07:51 PM, Tim Chase wrote: > On Win32, you'd need the Win32 add-on libraries to shove things onto > the clipboard, while under X, you'd need other facilities (either > using Tkinter or piping to something like xclip(1)), and yet another > way of doing things on MacOS.
Or you may want an existing library for all these. For example, pyperclip: >>> import pyperclip >>> pyperclip.copy('The text to be copied to the clipboard.') FYI: https://pypi.python.org/pypi/pyperclip -- Regards, Felix Yan
signature.asc
Description: OpenPGP digital signature
-- https://mail.python.org/mailman/listinfo/python-list