04 2021 档案

摘要:首先安装mysql-connector模块: pip install mysql-connector 模块使用方式: # 引入模块 import mysql.connector; # 连接数据库 db = mysql.connector.connect( host = "localhost", us 阅读全文
posted @ 2021-04-24 17:45 何效名 阅读(81) 评论(0) 推荐(0) 编辑
摘要:from win32com.client import constants, gencache def word2Pdf(wordPath, pdfPath): word = gencache.EnsureDispatch('Word.Application'); # office # word = 阅读全文
posted @ 2021-04-24 10:31 何效名 阅读(459) 评论(0) 推荐(1) 编辑
摘要:今天执行一个数据处理任务时,觉得效率太差,于是对问题进行了排查,后来发现问题出自对大数组进行[in_array]判断上。 以下为原本的大体业务逻辑: $dataIds = array; $resultData = []; foreach($otherList as $item) { if(!in_a 阅读全文
posted @ 2021-04-16 14:32 何效名 阅读(373) 评论(0) 推荐(0) 编辑
摘要:demo源码下载:点击下载 HTML代码(index.html): 注:代码编撰区域使用开源项目 ACE (Ajax.org Cloud9 Editor) 实现 <!DOCTYPE html> <html lang="zh"> <head> <meta charset="UTF-8"> <meta 阅读全文
posted @ 2021-04-13 10:02 何效名 阅读(1709) 评论(0) 推荐(0) 编辑
摘要:1,首先安装JDK环境。 2,下载Neo4j:点击下载。本文以社区版3.5.27为例。 3,解压缩: tar -zxf neo4j-community-3.5.27-unix.tar.gz 4, 修改环境变量: vim /etc/profile 在配置文件最后加入: export NEO4J_HOM 阅读全文
posted @ 2021-04-08 14:15 何效名 阅读(147) 评论(0) 推荐(0) 编辑
摘要:1,首先下载JDK:点击下载,选择Linux系统的解压缩版本。本文以JDK11为例。 2,解压缩: tar -zxf jdk-11.0.10_linux-x64_bin.tar.gz 3, 修改环境变量: vim /etc/profile 在配置文件最后加入: export JAVA_HOME=/u 阅读全文
posted @ 2021-04-08 11:55 何效名 阅读(47) 评论(0) 推荐(0) 编辑
摘要:Cypher是Neo4J的声明式图形查询语言,允许用户不必编写图形结构的遍历代码,就可以对图形数据进行高效的查询。Cypher的设计目的类似SQL,适合于开发者以及在数据库上做点对点模式(ad-hoc)查询的专业操作人员。其具备的能力包括: - 创建、更新、删除节点和关系 - 通过模式匹配来查询和修 阅读全文
posted @ 2021-04-06 11:48 何效名 阅读(302) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示