Use basestring instead of type.StringType for checking whether a input
or output file is a file name instead of a file object. This enables unicode file names as arguments to uu.encode() and uu.decode().
Showing
Please register or sign in to comment