摘要: 【代码】 1 #coding:utf-8 2 my_name='liujianqi' 3 my_age=25 # not a lie 4 my_height=172 # cm 5 my_weight=100 #kg 6 my_eyes='black' 7 my_teeth='white' 8 my_ 阅读全文
posted @ 2016-03-09 14:26 未名湖畔畔畔畔 阅读(106) 评论(0) 推荐(0) 编辑
摘要: 【代码】 #coding:utf-8 # 车的总数 cars=100 #每个车可以载人的数量,别问我为什么是浮点数^_^ space_in_a_car=4.0 #司机总数 drivers=30 #乘客总数 passengers=90 #多出的车的数量 cars_not_driven=cars-dri 阅读全文
posted @ 2016-03-08 22:38 未名湖畔畔畔畔 阅读(122) 评论(0) 推荐(0) 编辑
摘要: 代码: 1 print "I will now count my chickens" 2 #计算母鸡和公鸡的数量 3 print "Hens",25+30/6 4 print "Roosters",100-25*3%4 5 6 print "Now I will count the eggs:" 7 阅读全文
posted @ 2016-03-07 22:41 未名湖畔畔畔畔 阅读(153) 评论(0) 推荐(0) 编辑
摘要: 代码练习 1 # A comment,this is so you can read your program later. 2 # Anything after the # is ignore by python 3 4 print "I could have code like this." # 阅读全文
posted @ 2016-03-05 10:16 未名湖畔畔畔畔 阅读(111) 评论(0) 推荐(0) 编辑
摘要: 代码练习 : print "Hello World!" print "Hello Again" print "I like typing this" print "This is fun" print "Yay ! Printing" print "I'd much rather you 'not' 阅读全文
posted @ 2016-03-05 10:12 未名湖畔畔畔畔 阅读(75) 评论(0) 推荐(0) 编辑
摘要: 【常用windows命令行命令】 1 pwd 打印工作目录 2 hostname 电脑在网络中的名称 3 mkdir 创建路径 4. cd 更改路径 5、 ls 列出路径下的内容 6. rmdir 删除路径 7. pushd 推送路径 8. popd 弹出路径 9. cp 复制文件或路径 10. r 阅读全文
posted @ 2016-03-05 10:09 未名湖畔畔畔畔 阅读(331) 评论(0) 推荐(0) 编辑
摘要: 1.notepad++ 2.下载安装python http://python/org/download a、python测试 b、ActiveState Python c、 [Environment]::SetEnvironmentVariable("Path","$env:Path;C:\Pyth 阅读全文
posted @ 2016-03-05 10:08 未名湖畔畔畔畔 阅读(113) 评论(0) 推荐(0) 编辑