码迷,mamicode.com
首页 >  
搜索关键字:filepath    ( 875个结果
获取当前项目路径+转换路径符号
String filePath = this.getClass().getResource("/").getPath(); filePath = filePath.replaceAll("\\/|"+Matcher.quoteReplacement("\\"),Matcher.quoteReplac ...
分类:其他好文   时间:2019-11-20 15:34:55    阅读次数:61
HttpClient 上传文件
/// <summary> /// 发送post请求 /// </summary> /// <param name="filePath">文件路径</param> /// <param name="pID">患者ID</param> /// <returns></returns> public st ...
分类:Web程序   时间:2019-11-15 15:50:11    阅读次数:124
读取excel数据到数据库里
用的是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
将数据插入oracle
#导入需要使用到的数据模块 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
office 2019 professional plus激活脚本
@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 一键制作微信好友图片墙的方法
用 Python 代码怎么实现的,代码不长,60 行就可以搞定。核心是利用三个个库:wxpy 库,用于获取好友头像然后下载Pillow 库,用于拼接头像Pyinstaller 库,用来打包 Python 程序成 exe 文件程序通过三个函数实现,第一个 creat_filepath 函数生成图片下载 ...
分类:微信   时间:2019-11-01 09:59:33    阅读次数:128
OpenCV模块
模块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
C# get files and write the files full name in txt
static void GetAllFiles() { string path = "filepath"; var allFiles = Directory.GetFiles(path); string fileName = "file.txt"; using (FileStream fStream... ...
分类:Windows程序   时间:2019-10-18 16:14:21    阅读次数:114
图片验证码预处理
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
875条   上一页 1 ... 10 11 12 13 14 ... 88 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!