摘要:
1、time() 功能:获取当前时间戳,即计算机内部时间值,浮点数 2、ctime() 功能:获取当前时间并以易读方式表示,返回字符串 3、gmtime() 功能:获取当前实践,表示为计算机可处理的时间格式 4、时间格式化:如t=time.gmtime() time.strftime("%Y-%m- 阅读全文
posted @ 2018-11-21 00:22
水落无痕
阅读(269)
评论(0)
推荐(0)
摘要:
关于库函数的导入方法:①import <> ②import <> as <> ③ from tutle import <> 1、turtle.setup(width,height,startx,starty) //起始点坐标:左上角相对于屏幕的坐标,默认在屏幕中央 2、turtle.goto(x,y 阅读全文
posted @ 2018-11-21 00:09
水落无痕
阅读(4115)
评论(0)
推荐(0)

浙公网安备 33010602011771号