encode short string as filename (unix/windows)

robert no-spam at no-spam-no-spam.com
Mon Mar 27 10:59:04 EST 2006


want to encode/decode an arbitrary short 8-bit string as save filename. 
is there a good already builtin encoding to do this (without too much 
inflation) ? or re.sub expression?

or which characters are not allowed in filenames on typical OS?

robert



More information about the Python-list mailing list