@staticmethod
    def copy_to(string):
        logging.debug("Copying '{}' to the clipboard".format(string))

        if sys.platform == 'darwin':
            # Mac OS X
            os.system('echo "{}" | pbcopy'.format(string))
            return True

        logging.error('Copying to clipboard is not supported on your \
platform yet.')
        return False
dataset/ETHPy150Open dotcs/doimgr/lib/clipboard.py/Clipboard.copy_to/original