2017年5月25日
摘要: Traceback (most recent call last): File "C:/3/csv测试.py", line 26, in <module> x = int(i)ValueError: invalid literal for int() with base 10: '18.4' 这里的 阅读全文
posted @ 2017-05-25 22:47 寒星12345678999 阅读(722) 评论(0) 推荐(0) 编辑
摘要: 正常的csv文件读取如下: 读取一个 ucs-2 le 格式(notepa++打开csv)的csv就会报错: Python CSV error: line contains NULL byte 参考了这个文章里面的内容 https://stackoverflow.com/questions/4166 阅读全文
posted @ 2017-05-25 22:24 寒星12345678999 阅读(2804) 评论(0) 推荐(0) 编辑
摘要: Python 读取csv的某行 Python 读取csv的某列 Python写了一个可以提取csv任一列的代码,欢迎使用。Github链接 阅读全文
posted @ 2017-05-25 17:37 寒星12345678999 阅读(253) 评论(0) 推荐(0) 编辑
摘要: 参考了一篇文章 然后做了如下修改 用python的win32com模块替换word中的文字搞定批量打印奖状 python 操作 office python操作word 阅读全文
posted @ 2017-05-25 16:04 寒星12345678999 阅读(670) 评论(0) 推荐(0) 编辑