会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
emmmm
博客园
首页
新随笔
联系
管理
订阅
2017年7月21日
20170721_python字符串操作_《python语言及其应用》
摘要: str = 'abcde...wxyz' [num]提取指定字符 str[0] == 'a' str[1] == 'b' str[-1] == 'z' [start:end:step]分片/切片,一定要带上:冒号.end是偏移量,偏移位数,偏移到的key=偏移位数-1 str[:] == str[0
阅读全文
posted @ 2017-07-21 16:42 emmmmmm1
阅读(289)
评论(0)
推荐(0)
公告