![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
python
fangqi0132
这个作者很懒,什么都没留下…
展开
-
python中的字符串操作
#Python字符串操作 '''1.复制字符串''' #strcpy(sStr1,sStr2) sStr1 = 'strcpy' sStr2 = sStr1 sStr1 = 'strcpy2' print sStr2 '''2.连接字符串''' #strcat(sStr1,sStr2) sStr1 = 'strcat' sStr2 = 'append' sStr1 += sS...2008-05-30 13:17:25 · 182 阅读 · 0 评论 -
python中的排序
[code="java"] 1. # sort.py 2. # 这个类用来演示如何对自定义对象进行排序 3. class Sortobj: 4. a = 0 5. b = '' 6. def __init__(self, a, b): 7. self.a = a 8...2008-05-30 14:01:07 · 91 阅读 · 0 评论 -
在线简明Python教程
http://linux.chinaitlab.com/Python/37192.html2008-05-28 23:02:55 · 356 阅读 · 0 评论