Python
醉婴
服务工程师
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Python - Hello World
写了一 个a.py,print "Hello World!" print "Hello Again" print "I like typing this." print "This is fun." print 'Yay! Printing.' print "I'd much rather you 'not'." print 'I "said" do not touch this.' 运行原创 2013-12-04 17:09:36 · 1015 阅读 · 2 评论 -
Python-多种分隔符解析字符串
def tsplit(string, delimiters): """Behaves str.split but supports multiple delimiters.""" delimiters = tuple(delimiters) stack = [string,] for delimiter in delimiters: for转载 2014-01-18 10:47:54 · 2611 阅读 · 0 评论
分享