import base64
if __name__ == '__main__':
res = base64.encodestring('srcdasd')
print(res)
Run Code Online (Sandbox Code Playgroud)
我在控制台python base64.py中运行,得到以下错误消息.
但我可以正确地在textMate中运行它.
AttributeError:'module'对象没有属性'encodestring'
| 归档时间: |
|
| 查看次数: |
1348 次 |
| 最近记录: |