随笔分类 - python3学习笔记
摘要:json对象格式:{"key1": "value1", "key2": "value2"} json.dumps(): 对数据进行编码。json.loads(): 对数据进行解码。 Python JSON dict object list,tuple array str string int,float number True ...
阅读全文
摘要:1、读写txt 2、写excel 3、读excel
阅读全文
摘要:python3中没有urllib2 python3 与 python2 关于 urllib的区别用法如下 1、urlopen 2、urlretrieve 3、quote 4、urlencode
阅读全文
摘要:requests是python第三方库,基于urllib,比urllib更方便,但更耗时,不能多线程运行 1、get请求 2、post请求 1)普通post请求 2)post发送json 3)定制header
阅读全文

浙公网安备 33010602011771号