Differences between revisions 3 and 6 (spanning 3 versions)
Revision 3 as of 2010-10-30 11:42:48
Size: 1128
Editor: ZoomQuiet
Comment:
Revision 6 as of 2010-11-01 05:00:19
Size: 1694
Editor: ZoomQuiet
Comment: appended font
Deletions are marked like this. Additions are marked like this.
Line 9: Line 9:
= Py脚本一分钟理解 =
 * 来源: [[http://bit.ly/b1JO1S|"这个图太棒了,有编程基础的人一下子就了解 Python 的用法了。真正的 30 分钟上手。"]]^Buzz~^[http://www.google.com/profiles/lanphaday#buzz 赖勇浩. - Google 个人资料]
= Python脚本! =
 * 来源: [[http://bit.ly/b1JO1S|"这个图太棒了,有编程基础的人一下子就了解 Python 的用法了。真正的 30 分钟上手。"]]^Buzz by^[[http://www.google.com/profiles/lanphaday#buzz 赖勇浩]]
Line 16: Line 16:
=== 绘制 ===
Line 17: Line 19:
 * 脚本实际运行情景:   * 字体参考: [[http://www.2maomao.com/blog/best-programmer-fonts/|程序员最喜欢用的编程字体 ]]
   * [[http://floss.zoomquiet.org/data/20070513181059/index.html|常见黑体显示效果对比 - Nicky's blog]]
   * 所以,俺E文使用 `Monaco `
   * 中文使用: [[http://www.verycd.com/topics/38307/|《linux字体》(VeraSansYuanTi for Linux)_VeryCD电驴下载]]
    * [[http://floss.zoomquiet.org/data/20060726161233/index.html|如何使用圆体来美化,支持中文粗体和斜体? — Ubuntu中文]]
   
 * 脚本[[attachment:coffeeghost-q-in-py.py]]实际运行情景:

Python脚本直解!

草译

coffeeghost-q-in-py.png

coffeeghost-q-in-py_zh.png

绘制

$ python coffeeghost-q-in-py.py 

Hello World!
这是Alice'的问候.
这是Bob'的问候.
5 加 10 等于 15
这个
==========
这将直接执行/home/zoomq/workspace/zDesign/ZqStudio/101030-coffeehost-q-in-py
俺就爱整只:苹果
俺就爱整只:杏子
俺就爱整只:李子
俺就爱整只:梨
数到10
0
1
2
3
4
5
6
7
8
9


反馈

创建 by -- ZoomQuiet [2010-10-30 08:45:23]

ZqQuickIntoPy (last edited 2013-04-16 07:02:55 by ZoomQuiet)