2018年4月24日

摘要: 1.type temp = "alex" t = type(temp) print(t) #str,ctrl+鼠标左键,找到str类,查看内部所有的方法 2.dir temp = "alex" b = dir(temp) 3.help,type help(type(temp)) 4.直接点击 tem 阅读全文

posted @ 2018-04-24 21:29 小马科技 阅读(150) 评论(0) 推荐(0)

摘要: #!/usr/bin/env python#-*- coding:utf-8 -*- import time start = 1 flag = True while flag: print (start) if start == 10:break start = start + 1 time.sle 阅读全文

posted @ 2018-04-24 09:10 小马科技 阅读(1259) 评论(0) 推荐(0)