![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
pyhton
花青色
这个作者很懒,什么都没留下…
展开
-
安装Neo4j,配置环境变量,python测试
一、下载安装Neo4j下载地址,https://neo4j.com/download/,点击箭头指向的红框,下载社区版。解压在指定目录二、配置环境变量编辑环境变量新建系统变量,命名 NEO4J_HOME,E:\neo4j-community-3.5.14编辑系统变量Path,新建%NEO4J_HOME%\bin测试安装是否成功,以管理员身份运行cmd...原创 2020-01-06 15:46:23 · 2223 阅读 · 0 评论 -
Anaconda 3.7 SSL报错,pip is configured with locations that require TLS/SSL
pip is configured with locations that require TLS/SSL, however the ssl module in Python is not avail解决办法:下载SSL并安装,一路next即可下载地址:https://slproweb.com/download/Win64OpenSSL-1_1_1c.exe亲测可用...原创 2019-08-08 10:52:16 · 792 阅读 · 0 评论 -
使用python的gensim训练词向量word2Vec
一、环境windows7 64位python3.5二、安装jieba和gensim打开windows的powershell,定位到anaconda的scripts文件夹,输入pip install jiebapip install gensim三、数据文件格式原始数据格式使用jieba分词将文本内容分词和去除停用词# 分词函数 def seg_se...原创 2018-10-22 17:13:00 · 7044 阅读 · 0 评论 -
python dataframe注意事项
1、矩阵和列表例如数据格式如下选择最后一列,不同的选定方式,得到的形式不一样原创 2018-06-25 00:14:43 · 312 阅读 · 0 评论 -
批量获取指定文件夹下,多个同结构excel表固定位置的内容,并保存
python3.5import osimport pandas as pdimport xlrdimport shutil def file_name(file_dir): for root, dirs, files in os.walk(file_dir): return files #当前路径下所有非目录子文件 #例如D:/jupyter/test/d...原创 2018-06-08 14:08:48 · 12542 阅读 · 8 评论 -
python——pyinstaller导出exe闪退原因之一
运行环境:python 3.6windows 10 64位失败情况:闪退,运行停止,不能打开(程序无错误)解决措施:pip uninstall enum34成功参考:https://stackoverflow.com/questions/47538110/cant-make-executable-file-with-pyinstaller-3-3-and-python-3-6...转载 2018-03-20 00:06:10 · 12988 阅读 · 0 评论 -
python——将一个文件夹下各个子文件夹下的图片复制到一个新的文件夹中
例如有如下文件夹,包含3个文件夹和6个文件,图片格式分为JPG、jpg和png。编写python程序使该文件下的所有文件保存到E:\myprojectnew\jupyter\整理文件夹\结果 import os import shutil print('输入格式:E:\myprojectnew\jupyter\整理文件夹\示例')path = input('请键入需...原创 2018-03-20 00:00:21 · 15365 阅读 · 14 评论