February 2006
Intermediate to advanced
648 pages
14h 53m
English
The uu module is used to encode and decode files in uuencode format, a data encoding sometimes used when transferring binary data over an ASCII-only connection.
encode(input, output [, name [, mode]])Uuencodes a file. input is a file object opened for reading or a filename. output is a file object opened for writing or a filename. name specifies the name of the file that’s encoded in the uuencoded file. mode specifies the mode of the file. By default, name and mode are taken from the input file.
decode(input [, output [, mode [, quiet]]])Decodes a uuencoded file. input is a file object opened for reading or a filename. output is a file object opened for writing or a filename. mode is used to set permission bits and overrides the setting ...
Read now
Unlock full access