uu module helps in encoding and decoding files in uuencode format i.e. to convert arbitrary binary data to plain text and vice-versa. When an argument expected is to be file type, an file-like object is accepted by the method. For backwards compatibility, a string containing a pathname is also accepted, and the corresponding file will be opened for reading and writing; the pathname '-' is understood to mean the standard input or output.
This module code was contributed by Lance Ellinghouse, and modified by Jack Jansen.
import uu
encode
(in_file, out_file, name=None, mode=None, *, backtick=False)decode
(in_file, out_file=None, mode=None, quiet=False)Error
Subclass of Exeception, this can be raised by uu.decode() under various situations
Name | Views | Likes |
---|---|---|
Python pyclbr Introducton | 506 | 2 |
Python termios Introduction | 537 | 1 |
Python uu error method | 429 | 2 |
Python termios tcflush method | 360 | 1 |
Python gzip compress method | 304 | 1 |
Python uu decode method | 427 | 3 |
Python gzip GzipFile method | 372 | 1 |
Python cgitb handler | 429 | 2 |
Python pyclbr readmodule_ex | 625 | 2 |
Python termios tcgetattr method | 569 | 1 |
Python gzip open method | 351 | 1 |
Python uu encode method | 461 | 3 |
Python termios tcflow method | 311 | 1 |
Python cgitb Introduction | 732 | 2 |
Python termios tcsetattr method | 475 | 1 |
Python gzip BadGzipFile method | 1165 | 1 |
Python gzip introduction | 293 | 1 |
Python cgitb text method | 424 | 2 |
Python uu Introduction | 560 | 4 |
Python cgitb html method | 418 | 2 |
Python termios tcdrain method | 323 | 0 |
Python pyclbr readmodule method | 604 | 2 |
Python cgitb enable method | 649 | 2 |
Python gzip decompress method | 258 | 1 |
Python termios tcsendbreak method | 486 | 1 |
Python pyclbr instances of Function and Class | 606 | 2 |
Comments