"Martin v. Loewis" wrote: > >... > > I still can see the value. If you think the codec API is good for such > transformation, why not use it? I.e. > > enc,dec,_,_ = codecs.lookup("compress-form-foo") > s = dec(s) IMO, there is a huge usability difference between the above and mystr.decode("base64"). I think that we've done a good job of providing better ways to get at codecs than the codecs.lookup function. I don't see how this is any different. -- Take a recipe. Leave a recipe. Python Cookbook! http://www.ActiveState.com/pythoncookbook
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4