摘要:
1.zip函数, 参数是2个或多个可迭代对象,返回的是zip对象,是迭代器,一般会list(zip())变成list,多余的去掉 例子:两个list,打包一个list(元组元素) https://blog.csdn.net/benpaodelulu_guajian/article/details/8 阅读全文
posted @ 2020-09-13 18:27
Gaoyongxian666
阅读(105)
评论(0)
推荐(0)
摘要:
1.sys模块 获取命令行参数sys.argv 阅读全文
posted @ 2020-09-13 17:53
Gaoyongxian666
阅读(111)
评论(0)
推荐(0)
摘要:
1.互相转化:dict(),可以将list()变dict https://blog.csdn.net/hu827250322/article/details/91623800 eval(标准形式字符串) https://www.cnblogs.com/wanglinjie/p/9221674.htm 阅读全文
posted @ 2020-09-13 16:55
Gaoyongxian666
阅读(178)
评论(0)
推荐(0)
摘要:
1.pip:安装包/安装本地包/换源/配置文件 https://www.cnblogs.com/springsnow/p/11883954.html 2.格式化输出 print:end不换行/sep间隔符 rjust,ljust,center:字符串格式化填充空格 zfill:填充0 format: 阅读全文
posted @ 2020-09-13 11:17
Gaoyongxian666
阅读(112)
评论(0)
推荐(0)

浙公网安备 33010602011771号