Did I find the right examples for you? yes no

All Samples(2)  |  Call(0)  |  Derive(0)  |  Import(2)
str(object='') -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.

src/g/p/gpgkeys-1.23/gpgkeys/gpgkeys.py   gpgkeys(Download)
from completions.keyserver import KeyserverCompletion
 
from config import GNUPGEXE
from config import UMASK
 
    def gnupg(self, *args, **kw):
        if self.verbose:
            self.stderr.write('gpgkeys: %s %s\n' % (GNUPGEXE, ' '.join(args)))
        return self.system(GNUPGEXE, *args, **kw)
 
            if args.secret:
                command = '--export-secret-keys'
            tuple = args.options + args.args + ('|', GNUPGEXE, '--list-packets') + args.pipe
            self.rc = self.gnupg(command, *tuple)
        else:

src/g/p/gpgkeys-HEAD/gpgkeys/gpgkeys.py   gpgkeys(Download)
from completions.keyserver import KeyserverCompletion
 
from config import GNUPGEXE
from config import UMASK
 
    def gnupg(self, *args, **kw):
        if self.verbose:
            self.stderr.write('gpgkeys: %s %s\n' % (GNUPGEXE, ' '.join(args)))
        return self.system(GNUPGEXE, *args, **kw)
 
            if args.secret:
                command = '--export-secret-keys'
            tuple = args.options + args.args + ('|', GNUPGEXE, '--list-packets') + args.pipe
            self.rc = self.gnupg(command, *tuple)
        else: