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框的自动化文件上传方法 (此处用百度的上传图片搜索做演示) 使用第三方库pywinauto (适用于window端) 首先创建driver对象用于打开百度网址,然后定位并点击照相机图标 from selenium import webdriver #从selenium库中导入webd ...
分类:
Web程序 时间:
2021-05-24 09:29:25
阅读次数:
0
# -*- 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项目配备的是Mysql的数据库,平时使用的工具是VS Code,推荐安装Mysql插件,效果不错: 下面是在项目的setting.py中配置的Mysql连接数据: DATABASES = { 'default': { 'ENGINE' ...
分类:
数据库 时间:
2021-05-24 09:06:47
阅读次数:
0
参考地址: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
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
1.C标准的文件读写 可移植性强(跨平台) 1 FILE* pFile = nullptr; 2 const char* pcFilePath = ".//1.text"; 3 4 //文件写 5 errno_t err = fopen_s(&pFile, pcFilePath, "ab"); 6 ...
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
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配置文件的路径问题: 1.Class.getResource(String path) 与 Class.getClassLoader.getResource (String path) 区别: Class.getResource(String path) ☆ path不以'/'开头时,默认是 ...
分类:
编程语言 时间:
2021-05-24 07:29:23
阅读次数:
0