码迷,mamicode.com
首页 >  
搜索关键字:copy file    ( 62933个结果
SheetJS读取日期为指定格式
看看我 //读取Excel数据 function getExcelData(file, callback) { var reader = new FileReader(); //文件加载完成后调用 reader.onload = function (e) { var data = e.target. ...
分类:Web程序   时间:2021-05-24 09:33:58    阅读次数:0
DOM用法
一、DOM 简介 DOM (Document Object Model)是指文档对象模型,通过它,可以访问HTML文档的所有元素。 DOM(Document Object Model)是一套对文档的内容进行抽象和概念化的方法。 当网页被加载时,浏览器会创建页面的文档对象模型(Document Obj ...
分类:其他好文   时间:2021-05-24 09:31:13    阅读次数:0
[Python]configparser模块读取配置文件
config.ini [phone] imei = 123456789 num = 0 / 14 build = 00WWYL test.py CUR_DIR = os.path.dirname(os.path.abspath(__file__)) configFilePath = os.path. ...
分类:编程语言   时间:2021-05-24 09:30:30    阅读次数:0
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
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
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
Java中的单例模式
单例模式 饿汉式 和 DCL懒汉式 饿汉式 package com.chao.single; //饿汉式单例 public class Hungry { //可能会浪费空间 private byte[] data1 = new byte[1024*1024]; private byte[] data ...
分类:编程语言   时间:2021-05-24 08:22:34    阅读次数: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
string
string的最基本操作就是创建字符串 void test(){ //创建一个空的string对象 string str; //拷贝一个和已经存在的对象内容一模一样的新的对象 string copy(str); //生成一个abc的字符串 string str2("abc"); //在str2中取下 ...
分类:其他好文   时间:2021-05-24 07:09:57    阅读次数:0
62933条   上一页 1 ... 27 28 29 30 31 ... 6294 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!