码迷,mamicode.com
首页 >  
搜索关键字:file path    ( 77533个结果
QT之XML的解析与生成
1、解析 QFile file(ui->comboBox->currentText()); //打开文件 bool isOK = file.open(QIODevice::ReadOnly | QIODevice::Text); if(isOK){ QXmlStreamReader reader(& ...
分类:其他好文   时间:2021-05-24 09:30:13    阅读次数:0
非input框的自动化文件上传方法
关于非input框的自动化文件上传方法 (此处用百度的上传图片搜索做演示) 使用第三方库pywinauto (适用于window端) 首先创建driver对象用于打开百度网址,然后定位并点击照相机图标 from selenium import webdriver #从selenium库中导入webd ...
分类:Web程序   时间:2021-05-24 09:29:25    阅读次数:0
Python os 批量修改文件名
# -*- coding: utf-8 -*-import os#设定文件路径path=r'D:\郭鹏历届真题解析2007-2020'i=1#对目录下的文件进行遍历for file in os.listdir(path):#判断是否是文件 file_name=os.path.join(path,fi ...
分类:编程语言   时间:2021-05-24 09:25:18    阅读次数:0
Django关于数据库的对接操作
对近期的数据库配置进行一个记录,方便我以后查阅。 我的Django项目配备的是Mysql的数据库,平时使用的工具是VS Code,推荐安装Mysql插件,效果不错: 下面是在项目的setting.py中配置的Mysql连接数据: DATABASES = { 'default': { 'ENGINE' ...
分类:数据库   时间:2021-05-24 09:06:47    阅读次数:0
安装tp6 并使用多应用模式
参考地址:https://blog.csdn.net/I_lost/article/details/105244803 基本要求:ThinkPHP6.0的环境要求:PHP >= 7.1.0 6.0版本开始,必须通过Composer方式安装和更新,所以你无法通过Git下载安装。 当前环境:WAMPco ...
分类:其他好文   时间:2021-05-24 09:02:55    阅读次数:0
MySQL 批量删除表
select concat('drop table ',table_name,';') from information_schema.tables where table_schema='employees' and table_name rlike '^d.*$' into outfile 'd ...
分类:数据库   时间:2021-05-24 08:59:21    阅读次数:0
windows 文件,文件夹操作
1.C标准的文件读写 可移植性强(跨平台) 1 FILE* pFile = nullptr; 2 const char* pcFilePath = ".//1.text"; 3 4 //文件写 5 errno_t err = fopen_s(&pFile, pcFilePath, "ab"); 6 ...
分类:Windows程序   时间:2021-05-24 08:18:38    阅读次数:0
centos7系统通过crontab定时向pg数据库执行命令
1.设置环境变量 # echo 'PATH=/opt/opsmgr/web/components/postgresql96linux64.1/bin/:$PATH' >> /etc/profile # echo 'export PGPASSWORD=ytcmUUNq' >> /etc/profile ...
分类:数据库   时间:2021-05-24 08:13:18    阅读次数:0
pentesterlab靶场练习 Code Execution 7
1.查看源码 from flask import Flask,redirect , render_template app = Flask( __name__) @app.route( '/ hello/<path:user> ' ) def hello_name(user) : message = ...
分类:其他好文   时间:2021-05-24 07:37:22    阅读次数:0
java配置文件的路径问题
java配置文件的路径问题: 1.Class.getResource(String path) 与 Class.getClassLoader.getResource (String path) 区别: Class.getResource(String path) ☆ path不以'/'开头时,默认是 ...
分类:编程语言   时间:2021-05-24 07:29:23    阅读次数:0
77533条   上一页 1 ... 36 37 38 39 40 ... 7754 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!