uu — Implementation of the UUencode and UUdecode functions.
| Use Case | Command | Description |
|---|---|---|
| 🔐 Encode binary file | uu.encode(open('input.bin','rb'), open('output.uu','w')) | Convert binary to uuencoded ASCII text |
| 🔓 Decode uuencoded file | uu.decode(open('input.uu','r'), open('output.bin','wb')) | Restore original binary from uuencoded text |
https://docs.python.org/3.10/library/uu.html
The following documentation is automatically generated from the Python source files. It may be incomplete, incorrect or include features that are considered implementation detail and may vary between Python implementations. When in doubt, consult the module reference at the location listed above.
encode(in_file, out_file [,name, mode], *, backtick=False)decode(in_file [, out_file, mode, quiet])builtins.Exception(builtins.BaseException)
ErrorErrorBase class: builtins.Exception
Method resolution order:
Errorbuiltins.Exceptionbuiltins.BaseExceptionbuiltins.objectData descriptors:
__weakref__ — list of weak references to the object (if defined)builtins.Exception:__init__(self, /, *args, **kwargs) — Initialize self. See help(type(self)) for accurate signature.__new__(*args, **kwargs) — Create and return a new object. See help(type) for accurate signature.builtins.BaseException:__delattr__(self, name, /) — Implement delattr(self, name).__getattribute__(self, name, /) — Return getattr(self, name).__reduce__(...) — Helper for pickle.__repr__(self, /) — Return repr(self).__setattr__(self, name, value, /) — Implement setattr(self, name, value).__setstate__(...)__str__(self, /) — Return str(self).with_traceback(...) — Exception.with_traceback(tb) — set self.__traceback__ to tb and return self.builtins.BaseException:__cause__ — exception cause__context__ — exception context__dict____suppress_context____traceback__argsdecode(in_file, out_file=None, mode=None, quiet=False)Decode uuencoded file
encode(in_file, out_file, name=None, mode=None, *, backtick=False)Uuencode file
__all__ = ['Error', 'encode', 'decode']
/usr/lib/python3.10/uu.py
Generated by phpman v4.9.27 · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-07-18 16:18 @216.73.216.114
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Enhanced by LLM: deepseek-v4-flash / taotoken.net / www.chedong.com - original format