(self)
return (
            subprocess.check_output('pbpaste').decode(ENCODING, 'replace')
            .replace(u'\r\n', u'\r').replace(u'\n', u'\r')
        )
Get unicode text from clipboard.
Get unicode text from clipboard.
Get unicode text from clipboard .
def paste(self):
        """Get unicode text from clipboard."""
        return (
            subprocess.check_output('pbpaste').decode(ENCODING, 'replace')
            .replace(u'\r\n', u'\r').replace(u'\n', u'\r')
        )
def paste ( self ) : return ( subprocess . check_output ( 'pbpaste' ) . decode ( ENCODING , 'replace' ) . replace ( u'\r\n' , u'\r' ) . replace ( u'\n' , u'\r' ) )