a='alex'
有三种方式
1.help(type(a))
2.dir(a)
3.type
ctrl加鼠标左键找到str的类和内部所有方法
转载于:https://www.cnblogs.com/ezway/p/6350109.html