python
lwhcv
四川大学计算机学院硕士研究生研究方向计算机视觉感兴趣领域linux内核与驱动计算机视觉算法使用语言C/C
展开
-
Python3.3 print函数用法,print 格式化输出
转载:http://blog.sina.com.cn/s/blog_540775a30101bkek.html 1. 输出字符串 >>> strHello = 'Hello World'>>> print (strHello)Hello World 2. 格式化输出整数 支持参数格式化,与C语言的printf类似 >>> strHello = "the length of (转载 2013-06-19 19:39:59 · 1404 阅读 · 0 评论 -
python等笔记
所用python版本3.3 代码: poem = '''/ Programming is fun When the work is done if you wanna make your work also fun: use Python! ''' f = file('poem.txt', 'w')转载 2013-06-19 20:18:45 · 841 阅读 · 0 评论