摘要: python用缩进(四个空格,不是teble)来区分代码块1.coding=utf-8 字符编码,支持汉字#!/usr/bin/env python# coding=utf-8print "hello world"print "你好 世界"2.字面常量:顾名思义,就是看到是什么就是什么变量命名:字母或者下划线或者数字组成,不过数字不能作为开头,关键字不能作为变量名(例如for,if等)3.数据类型... 阅读全文
posted @ 2014-04-06 22:08 星空刺 阅读(2081) 评论(0) 推荐(0) 编辑
摘要: 1.python控制软件pyenv依赖软件:git[root@localhost ~]#curl https://raw.github.com/yyuu/pyenv-installer/master/bin/pyenv-installer| bash...Seems you still have n... 阅读全文
posted @ 2014-04-06 22:07 星空刺 阅读(249) 评论(0) 推荐(0) 编辑