![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Python
文章平均质量分 54
Teisei
It takes a crane to build a crane.It takes a machine to build a machine.
展开
-
Python string
import string mystring= 'its master will touch its tail.' myindex = 0 print mystring[3:7]+';' print len(mystring) print mystring.lower() print mystring.upper() print mystring.swapcase() print mys原创 2014-03-19 21:43:42 · 783 阅读 · 0 评论 -
Python start
Reserved Words: and exec not assert finally or break for pass class from print continue global raise def if return原创 2014-03-19 22:00:03 · 705 阅读 · 0 评论 -
Sublime plugins useful for pythonor
CodeIntel AndyPython BracketHighlighter Convert2UTF8原创 2014-04-04 16:31:01 · 601 阅读 · 0 评论 -
用 ElementTree 在 Python 中解析 XML
原文: http://eli.thegreenplace.net/2012/03/15/processing-xml-in-python-with-elementtree/ 译者: TheLover_Z 当你需要解析和处理 XML 的时候,Python 表现出了它 “batteries included” 的一面。 标准库 中大量可用的模块和工具足以应对 Python 或者是 XML转载 2014-03-25 19:33:04 · 641 阅读 · 0 评论 -
python-sort
>>> students = [('john', 'A', 15), ('jane', 'B', 12), ('dave', 'B', 10),]原创 2014-04-24 09:46:15 · 559 阅读 · 0 评论