01 2016 档案

摘要:字典 dic = { "省":{ "市": ['县'] } } dic.keys() dic["省"].keys() dic["省"]["市"] 返回的都是列表 列组 索引 index 切片 [:] 追加 append 删除 del remove pop 长度 len 循环 for while br 阅读全文
posted @ 2016-01-27 14:59 QiRaining 阅读(139) 评论(0) 推荐(0)
摘要:Python语言介绍安装Python大体有两个版本,分别是Python2.x版本和Python3.x,而Python3.x版本是不向下兼容,但是由于项目需求,我们有时候要Python2.x和Python3.x共存。我们只需要更改一些环境变量就行。(主要是Windows下面的环境)。你会看到我这里有两... 阅读全文
posted @ 2016-01-20 15:04 QiRaining 阅读(152) 评论(0) 推荐(0)