2018年7月17日

摘要: 1、两种方式设定相同的随机数的值:np.random.seed()和np.random.RandomState() [[0.37454012 0.95071431 0.73199394 0.59865848 0.15601864 0.15599452 0.05808361 0.86617615 0. 阅读全文
posted @ 2018-07-17 14:58 justdit 阅读(308) 评论(0) 推荐(0)
 
摘要: 1.axis([xmin xmax ymin ymax]): [ ]中分别给出x轴和y轴的最大值、最小值。( sets scaling for the x- and y-axes on the current plot.) 2.​axis([xmin xmax ymin ymax zmin zmax 阅读全文
posted @ 2018-07-17 14:57 justdit 阅读(204) 评论(0) 推荐(0)

2018年5月1日

摘要: 1、获取python IDLE当前工作目录: 2、更改当前工作目录(目录前面需要加“r”,不然会报语法错误): 3、运行xxx.py内的某个函数: 4、空函数 5、数据类型检查可以使用函数isinstance(),对参数类型做检查,只允许整数和浮点数类型的参数 6、定义包含可变参数的函数: 7、关键 阅读全文
posted @ 2018-05-01 20:46 justdit 阅读(345) 评论(0) 推荐(0)

2018年3月17日

摘要: #新手上路,多多指教 三级菜单-课程表查询 阅读全文
posted @ 2018-03-17 15:00 justdit 阅读(709) 评论(0) 推荐(0)