def printenv(self, argv):
        if len(argv) == 1:
            names = self._environ.keys()
            names.sort()
            ms = reduce(max, map(len, names))
            for name in names:
                value = self._environ[name]
                self._print("%*s = %s" % (ms, name, safe_repr(value)))
        else:
            s = []
            for name in argv[1:]:
                try:
                    s.append("%s = %s" % (name, safe_repr(self._environ[name])))
                except KeyError:
                    pass
            self._print("\n".join(s))
printenv [name ...]
dataset/ETHPy150Open kdart/pycopia/fepy/pycopia/fepy/CLI.py/BaseCommands.printenv