Python
Zroadcsdn
这个作者很懒,什么都没留下…
展开
-
string字符串常用操作
#-*-coding:utf-8 -*- ''' Created on 2014年11月5日 @author: Zroad ''' import sys #将字符串转换为序列 strList = list("Hello,python!") print strList #遍历字符串中的任意一字符 for char in "Hello,python!": #print char原创 2014-11-05 23:54:33 · 322 阅读 · 0 评论 -
python对象类型
一、python程序结构:原创 2014-11-01 23:39:17 · 259 阅读 · 0 评论