自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(11)
  • 资源 (5)
  • 收藏
  • 关注

原创 【无标题】

import os class dir: origin_path=[] def __init__(self,file_dir): for root, dirs, files in os.walk(file_dir): # print(root) # 当前目录路径 # print(dirs) # 当前路径下所有子目录 # print(files) for name in f

2022-01-17 13:36:53 430

原创 2021-09-09

#coding=utf-8 import xlrd from openpyxl import load_workbook import xlutils.copy # sheet = workbook.active # sheet.insert_cols(idx=1,amount=1) def inserthead(filename="C:\\Users\\Administrator\\Desktop\\123.xlsx"): workbook = load_workbook(filename)

2021-09-09 23:24:41 170

原创 2021-08-27

2021-08-27 09:21:10 159 1

原创 2021-08-27

2021-08-27 09:19:51 119

原创 2021-08-10 查找 table 字样的函数是否有sql_without_rowid关键词

import os str="sql_without_rowid" filesyes = [] value = {} recordnumber=0 def list_all_files(rootdir="C:\\Users\\shitk\\Desktop\\nds"): _files = [] list = os.listdir(rootdir) for i in range(0,len(list)): path = os.path.join(r

2021-08-12 09:39:49 215

原创 pythonddddddd

import json sum=0 wordVV= ‘VV’ word=‘地区’ value = {} keys = {} disc= {} qian={} with open(“C:\Users\11031\Desktop\sample-data\chinese.token.txt”, “r”,encoding=‘utf8’) as f: # 打开文件 # conten = f.read() # if word in conten: # print(conten) # sum

2021-08-11 23:46:05 831

原创 2021-08-10.shp

创建存储文件头的头文件 header.h 头中定义header类 class Header { public: int FileCode; int Unused; int FileLength; int Version; int ShapeType; double Xmin; double Ymin; double Xmax; double Ymax; double Zmin; double Zmax; double Mmin; double Mmax; }; 创建存储格式的头文

2021-08-10 22:09:32 171

原创 xxxxxx

USE master; GO /建立空的MyPetShop数据库/ /请根据实际环境更改数据库文件和日志文件的存放路径/ CREATE DATABASE MyPetShop ON ( NAME = MyPetShop, FILENAME = ‘F:\Book\Chap\App_Data\MyPetShop.mdf’, SIZE = 5MB, MAXSIZE = 50MB, FILEGROWTH = 1MB ) LOG ON ( NAME = MyPetShop_log, FILENAME = ‘F:\Boo

2021-08-09 22:12:53 391

原创 2021-08-09

#include #include <mysql.h> #include using namespace std; MYSQL mysql; //进行连接 MYSQL_FIELD* fd;//字段列数组 char filed[32][32];//存字段名二维数组 MYSQL_RES* res;//这个结构代表返回行的一个查询结果集合 MYSQL_ROW column;//标识数据行的列 char sql[150];//sql语句 bool ConnectDatabase() { //初始化

2021-08-09 22:06:59 119

原创 单链表的逆序(详细)

单链表的逆序 创建结构体 struct lb{ int a; lb* next = NULL; }; struct lb* head, * p1, * p2,*h,*z; 创建链表函数 void creatlb(int n) { head = (struct lb*)malloc(sizeof(struct lb)); p2 = head; for (int i = 1; i <= n; i++) { p1 = (struct lb*)malloc(sizeo..

2020-09-29 17:36:37 4290

原创 归并排序

归并排序 递归的函数 void sort(int l, int r) { if(l<r) {int m=(l+r)/2; sort(l,m);//左面 sort(m+1,r);//右边 merge(l,m,r); }} 1、随机给数组一排数字 把它存进全局数组arr[]中。 2、里面有6个数,我们定义一个 int m作为中间数值为 m=(l+r)/2 ,也就是m=(0+6)/2...

2020-09-28 19:25:35 919 1

MySQL-Front.zip

MySQL-Front.zip

2021-08-09

result_2021.09.09_11-02-29.rar

result_2021.09.09_11-02-29.rar

2021-09-13

python2.7 excell环境

python2.7 excell环境

2021-09-09

script.rar 脚本excell

script.rar 脚本excell

2021-09-09

对队.shp文件的解析

对队.shp文件的解析

2021-08-10

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除