Python-快速学习

1、推荐:Python 学习入门(0)—— 简明教程(有Django框架)

http://blog.csdn.net/ithomer/article/details/8907268


2、 python加注释中文,文件开头加  # coding=utf-8  (=两边不能空格)。


3、dir()用来查询一个类或者对象所有属性。>>>print dir(list)

   help()用来查询的说明文档。           >>>print help(list)

posted @ 2014-03-13 01:05  Kiveen  阅读(88)  评论(0编辑  收藏  举报