
Python
文章平均质量分 74
ryanyan1
C++、数据结构和算法、QT、Python、OpenCV、精密运动控制、linux、LAMP
展开
-
Python字符串分割函数
def splice1(temp): while temp.find(' ')!=-1: temp1=temp[:temp.find(' ')].strip() print temp1.strip() temp=temp[temp.find(' ')+1:].strip() print temp[temp.find(' ')+1:]s2=raw_input('Plz input a string:原创 2014-06-25 21:44:13 · 3302 阅读 · 1 评论 -
Python学习之list操作,输出、删除等
List数据输出操作,用迭代器:原创 2014-06-27 18:20:19 · 1022 阅读 · 0 评论