Python 文件操作Error: binary mode doesn't take an encoding argument
摘要:Python 报错:ValueError: binary mode doesn't take an encoding argument 在运行文件操作相关功能时报错:ValueError: binary mode doesn't take an encoding argument 上代码: 原因分析
阅读全文
posted @
2019-03-02 09:56
大园长
阅读(5223)
推荐(0)
Pychram基本操作
摘要:1. 更改pychram页面为黑色背景主题。更改主题: File ->Settings -> Editor -> Color Scheme -> Scheme -> Monokai -> Duplicate -> 选择Monokai copy 修改字体: File ->Settings -> Edi
阅读全文
posted @
2019-01-25 22:53
大园长
阅读(170)
推荐(0)
Python周末21天笔记
摘要:模块一: 基础相互据类型之间的相互转换 1. 字符串str 与 列表 list 与字典 dict 以及 元祖tuple的转换 例一: 把字典的key和value的值取出来,按照顺序存入到list中 d={'name':'cheng','age':20,'sex':'female'} list1 =
阅读全文
posted @
2019-01-20 22:28
大园长
阅读(174)
推荐(0)