摘要: 9. 循环 死循环 import time while 1 == 1: print('ok',time,time()) not死循环 import time count = 0 while count < 10: print(count) count == count + 1 print(123) 阅读全文
posted @ 2019-04-21 16:13 whw1314 阅读(10706) 评论(0) 推荐(0) 编辑
摘要: 1.文件后缀用.py 2.两种执行方式 python解释器 py文件路径 python 进入解释器: 实时输入并获取到执行结果 3.解释器路径 #!/usr/bin/env pyathon 4.编码 # -*- coding:utf8 -*- utf-8 能用多少表示就用多少表示 5.执行一个操作 阅读全文
posted @ 2019-04-21 13:54 whw1314 阅读(244) 评论(0) 推荐(0) 编辑