Message109905
| Author |
loewis |
| Recipients |
benjamin.peterson, eric.araujo, flox, georg.brandl, lemburg, loewis, ssbarnea, vstinner |
| Date |
2010年07月10日.18:35:05 |
| SpamBayes Score |
0.03171734 |
| Marked as misclassified |
No |
| Message-id |
<4C38BD50.3050903@v.loewis.de> |
| In-reply-to |
<1278785675.6.0.36490305964.issue7475@psf.upfronthosting.co.za> |
| Content |
> I am confused by MvL’s reply. From the first paragraph documentation
> for binascii: "Normally, you will not use these functions directly
> but use wrapper modules like uu, base64, or binhex instead. The
> binascii module contains low-level functions written in C for greater
> speed that are used by the higher-level modules."
>
> Is the doc not accurate?
It is correct. So use base64.b16encode/b16decode then.
It's just that I personally prefer hexlify/unhexlify, because I can
memorize the function name better. |
|