37,719
社区成员
发帖
与我相关
我的任务
分享
Python 2.7.13 (v2.7.13:a06454b1afa1, Dec 17 2016, 20:53:40) [MSC v.1500 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import base64
>>>
>>> print base64.urlsafe_b64encode("abcde")
YWJjZGU=
>>>