06 2019 档案

Python读写txt文件时的编码问题
摘要:import chardet def get_encoding(filename): # 二进制方式读取,获取字节数据,检测编码类型 with open(filename, 'rb') as f: return chardet.detect(f.read())['encoding'] def fil 阅读全文

posted @ 2019-06-24 16:35 sdlyxyf 阅读(238) 评论(0) 推荐(0) 编辑

局域网内时间同步net time的使用
摘要:局域网内时间同步net time的使用:https://blog.51cto.com/fan040908/1085952 需要在两台计算机间同步时间,其实就是局域网同步时间,找到命令 net time \\192.168.0.1 /set /y 但是会出现“发生系统错误 5”。出现这样的错误是因为客 阅读全文

posted @ 2019-06-14 10:31 sdlyxyf 阅读(3286) 评论(0) 推荐(0) 编辑

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

统计

点击右上角即可分享
微信分享提示