String filePath = this.getClass().getResource("/").getPath(); filePath = filePath.replaceAll("\\/|"+Matcher.quoteReplacement("\\"),Matcher.quoteReplac ...
分类:
其他好文 时间:
2019-11-20 15:34:55
阅读次数:
61
/// <summary> /// 发送post请求 /// </summary> /// <param name="filePath">文件路径</param> /// <param name="pID">患者ID</param> /// <returns></returns> public st ...
分类:
Web程序 时间:
2019-11-15 15:50:11
阅读次数:
124
用的是jxlJar /** * 读取excel数据到数据库里 */ private void readExcelToDB() { new Thread(new Runnable() { @Override public void run() { try { String filePath = "/s ...
分类:
数据库 时间:
2019-11-09 17:57:55
阅读次数:
92
string fileext = CSA_BLL.Common.Utils.GetFileExt(filePath); HttpWebRequest request = (HttpWebRequest)WebRequest.Create(filePath); request.Method = "GE ...
分类:
其他好文 时间:
2019-11-06 13:13:11
阅读次数:
105
#导入需要使用到的数据模块 import pandas as pd import cx_Oracle #读入数据 filepath = 'E:\_DataSet\catering_sale.xls' data = pd.read_excel(filepath) #建立数据库连接 db =cx_Ora ...
分类:
数据库 时间:
2019-11-04 15:19:21
阅读次数:
111
@echo off(cd /d "%~dp0")&&(NET FILE||(powershell start-process -FilePath '%0' -verb runas)&&(exit /B)) >NUL 2>&1title Office 2019 Activator r/Piracyec ...
分类:
其他好文 时间:
2019-11-01 18:40:38
阅读次数:
271
用 Python 代码怎么实现的,代码不长,60 行就可以搞定。核心是利用三个个库:wxpy 库,用于获取好友头像然后下载Pillow 库,用于拼接头像Pyinstaller 库,用来打包 Python 程序成 exe 文件程序通过三个函数实现,第一个 creat_filepath 函数生成图片下载 ...
分类:
微信 时间:
2019-11-01 09:59:33
阅读次数:
128
模块cv2: https://www.cnblogs.com/shizhengwen/p/8719062.html opencv 的文档: https://docs.opencv.org/master/ 常用方法: 一、读入图像 使用函数cv2.imread(filepath,flags)读入一副图 ...
分类:
其他好文 时间:
2019-10-24 00:39:31
阅读次数:
83
static void GetAllFiles() { string path = "filepath"; var allFiles = Directory.GetFiles(path); string fileName = "file.txt"; using (FileStream fStream... ...
from copy import deepcopyfrom PIL import Imageimport numpy as npfrom collections import Counterimport hashlibdef fileMd5(filePath): with open(filePath ...
分类:
其他好文 时间:
2019-10-12 18:27:11
阅读次数:
120