how to find "".encodings

P at draigBrady.com P at draigBrady.com
Thu Jul 1 19:49:53 CEST 2004


Christopher T King wrote:
> On Thu, 1 Jul 2004 P at draigBrady.com wrote:
> 
> 
>>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?
> 
> 
> http://docs.python.org/lib/node127.html is the only list I know of; I 
> don't think that there's a actually a function that can list all the 
> currently registered codecs.

Great thanks. If there was a link to that from
the appropriate entries in the following, I'd be happy.
http://docs.python.org/lib/string-methods.html

cheers,
Pádraig.



More information about the Python-list mailing list