摘要: https://blog.csdn.net/qq_35290785/article/details/94780620 .strip().split('t')line =' nihao, zhenhao,dajiahao 'print(line).strip().split('t') .strip() 阅读全文
posted @ 2020-02-07 14:44 月夜_1 阅读(1088) 评论(0) 推荐(0) 编辑
摘要: Standardization(标准化)和Normalization(归一化)的区别 https://blog.csdn.net/Dhuang159/article/details/83627146 阅读全文
posted @ 2020-02-07 14:32 月夜_1 阅读(344) 评论(0) 推荐(0) 编辑
摘要: 在python中: open('file.txt', 'w').close() 或者,如果你已经打开了一个文件: f = open('file.txt', 'r+') f.truncate(0) # need '0' when using r+ 阅读全文
posted @ 2020-02-07 13:46 月夜_1 阅读(12470) 评论(0) 推荐(0) 编辑
摘要: 1.变量赋值与语句 #python 不需要手动指定变量类型。不需要分号 #To assign the value 365 to the variable days,we enter the variable name, add an equals sign(=) days=365 2.输出 prin 阅读全文
posted @ 2020-02-07 11:24 月夜_1 阅读(379) 评论(0) 推荐(0) 编辑