07 2019 档案

摘要:Python 3.* 中文写入txt、json文件是无非就是open()文件时,需要添加utf-8,dump()时,需要添加ensure_ascii=False https://www.cnblogs.com/mingjiatang/p/9527345.html 阅读全文
posted @ 2019-07-27 17:39 SYC_792 阅读(377) 评论(0) 推荐(0)
摘要:外部链接: https://www.cnblogs.com/fanhk/p/8652798.html https://baijiahao.baidu.com/s?id=1617397248551208688&wfr=spider&for=pc 字符串转字典 字典转字符串 字符串转列表 列表转字符串 阅读全文
posted @ 2019-07-25 17:53 SYC_792 阅读(189) 评论(0) 推荐(0)
摘要:外部链接:https://blog.csdn.net/qq_36357820/article/details/89513839 https://www.cnblogs.com/pejsidney/p/9548354.html https://www.cnblogs.com/JentZhang/p/1 阅读全文
posted @ 2019-07-25 17:45 SYC_792 阅读(136) 评论(0) 推荐(0)
摘要:外部链接:https://www.cnblogs.com/zhang-jun-jie/p/9273721.html https://www.cnblogs.com/lhj588/archive/2012/01/06/2314181.html 1、打开文件夹 2、获取sheet 3、获取sheet的汇 阅读全文
posted @ 2019-07-25 17:34 SYC_792 阅读(927) 评论(0) 推荐(0)
摘要:·放一些网上的链接:https://baijiahao.baidu.com/s?id=1617397248551208688&wfr=spider&for=pc python,2列表组合成一个字典list_1 = [1,2,3,4,5,6] list_2 = ['a','b','c','d','e' 阅读全文
posted @ 2019-07-25 17:17 SYC_792 阅读(1530) 评论(0) 推荐(0)
摘要:需求如题所示,excel转json,加一个数据类型判断。(根据项目实际需求写的,不是很强大) 放几个网上例子的链接:https://blog.csdn.net/joey_2018_/article/details/80650915 https://www.cnblogs.com/zhenglisai 阅读全文
posted @ 2019-07-25 17:03 SYC_792 阅读(271) 评论(0) 推荐(0)
摘要:题目来源:https://github.com/Yixiaohan/show-me-the-code 任意一个英文的纯文本文件,统计其中的单词出现的个数。 ①拓展到中文文本、中英文夹杂文本 ②手动输入需要寻找的字段 阅读全文
posted @ 2019-07-23 14:51 SYC_792 阅读(2623) 评论(0) 推荐(0)
摘要:https://blog.csdn.net/github_36601823/article/details/77815013 阅读全文
posted @ 2019-07-17 18:36 SYC_792 阅读(354) 评论(0) 推荐(0)
摘要:题目来源:https://github.com/Yixiaohan/show-me-the-code 做为 Apple Store App 独立开发者,你要搞限时促销,为你的应用生成激活码(或者优惠券),使用 Python 如何生成 200 个激活码(或者优惠券)? ①激活码位数可控,一般是12或者 阅读全文
posted @ 2019-07-17 18:34 SYC_792 阅读(1147) 评论(0) 推荐(0)
摘要:ps:准备mac电脑、iPhone手机 1、去Mac上的App Store下载Apple Configurator 2; 2、启动Apple Configurator 2;①iPhone连接上Mac ②点击Apple Configurator 2 ③菜单中→账户→登录(用连接设备的Apple ID) 阅读全文
posted @ 2019-07-17 16:28 SYC_792 阅读(4326) 评论(0) 推荐(0)
摘要:1、去下载xlrd和xlwt的压缩文件:https://pypi.org/project/xlwt/#files https://pypi.org/project/xlrd/1.1.0/#files 2、解压改文件,然后放置在python的安装目录下面:C:\Users\14062\AppData\ 阅读全文
posted @ 2019-07-13 10:39 SYC_792 阅读(8783) 评论(0) 推荐(1)
摘要:1、plot是折线图 2、scatter是散点图 阅读全文
posted @ 2019-07-13 10:36 SYC_792 阅读(381) 评论(0) 推荐(0)