base64 module

Ken Fettig kfettig at state.nd.us
Fri Aug 8 21:27:44 CEST 2003


Hello, I am trying to make use of the base64 module but am having problems.

>>> import base64
>>> decodestring('SVNBKjAwKiAgICAgICAgICAqMDAqICAgICAg')
Traceback (most recent call last):
  File "<pyshell#1>", line 1, in ?
    decodestring('SVNBKjAwKiAgICAgICAgICAqMDAqICAgICAg')
NameError: name 'decodestring' is not defined
>>>

What am I doing wrong. I am importing the base64 module, why can't I call
the decodestring method?






More information about the Python-list mailing list