how to find "".encodings

David Fraser davidf at sjsoft.com
Fri Jul 2 03:24:32 EDT 2004


P at draigBrady.com wrote:
> Hi,
> 
> How would one get a list of encodings
> that can be passed to "".encode()
> 
> I know base64,utf8,latin,ascii work
> and these are listed in the encodings
> and codecs modules, but where can one
> get a definitive list?
> 
> cheers,
> Pádraig.

Maybe encodings.aliases.aliases is what you want...

David



More information about the Python-list mailing list