摘要: 1.进入mysql查看secure_file_prive的值 $mysql -u root -p mysql>SHOW VARIABLES LIKE "secure_file_priv"; secure_file_prive=null -- 限制mysqld 不允许导入导出 secure_file_ 阅读全文
posted @ 2019-08-06 16:16 大力力酱 阅读(5155) 评论(0) 推荐(0) 编辑
摘要: 在工具中运行时报错:ImportError: No module named jieba 但是在命令行下怎么试都没有问题,百度之后说是环境变量的问题 加上环境变量页没有解决 最终找到一个问题: 检查Pycharm的环境变量,File-Settings-Project-Project Interpre 阅读全文
posted @ 2019-03-06 16:11 大力力酱 阅读(1278) 评论(0) 推荐(0) 编辑
摘要: CSV csv文件格式是一种通用的电子表格和数据库导入导出格式 简介 Python csv模块封装了常用的功能,使用的简单例子如下: 写入 ? 1 2 3 4 5 6 7 8 9 10 11 12 13 14 # 写入csv文件 import csv csvfile = open('csv_test 阅读全文
posted @ 2019-03-04 14:35 大力力酱 阅读(179) 评论(0) 推荐(0) 编辑
摘要: jieba “结巴”中文分词:做最好的 Python 中文分词组件 "Jieba" (Chinese for "to stutter") Chinese text segmentation: built to be the best Python Chinese word segmentation 阅读全文
posted @ 2019-03-04 14:32 大力力酱 阅读(615) 评论(0) 推荐(0) 编辑