contents   index   previous   next



UU.encode()

syntax:

UU.encode(infile[, outfile])

where:

infile - Name of input file

 

outfile - Name of output file

 

return:

boolean - Whether or not the operation was successful

 

description:

This method uses the Unix-to-Unix encoding mechanism, still popular in newsgroups, as a way of translating binary data into printable text data. If <code>outfile</code> is not supplied, then an appropriate filename is generated by either adding or replacing the extension with ".uue". The file "foo.c" would become "foo.uue". This file later can be decoded with any popular UUdecoding program, or a call to UU.decode();

 

see:

#link <uucode>, UU.decode()

 

 


UU.decode()