[Python-Dev] Easy codec access
skip@pobox.com (Skip Montanaro)
skip@pobox.com (Skip Montanaro)
Wed, 16 May 2001 12:44:15 -0500
mal> Still their basic task is to take an object and encode in some way
mal> for dumps() and do the reverse for loads(). That's pretty much
mal> what codecs normally do ;-)
Yes, I see that. The conceptual problem I have is that in all previous
examples I've seen here they have taken as input and returned as outputs
only strings or unicode objects.
mal> These two are very useful though when it comes to using codecs
mal> for file wrappers:
This use I missed. Thanks for the explanation.
Skip