摘要:
#include #include #include #include using namespace std; ; int main() { ifstream infile; infile.open("Level_offset.txt"); //将文件流对象与文件连接起来 assert(infil 阅读全文
posted @ 2021-06-24 09:33
江南王小帅
阅读(42)
评论(0)
推荐(0)
摘要:
#include #include #include #include <Windows.h> #include <stdio.h> #include <direct.h> #include <io.h> using namespace std; int main(){ std::string pr 阅读全文
posted @ 2021-06-24 09:31
江南王小帅
阅读(118)
评论(0)
推荐(0)
摘要:
#include<iostream>#include<fstream>#include<string>#include <Windows.h>#include <stdio.h>#include <stdlib.h>using namespace std; char file[256]; sprin 阅读全文
posted @ 2021-06-24 09:29
江南王小帅
阅读(153)
评论(0)
推荐(0)
摘要:
#include<iostream>#include<fstream>#include<string>#include <Windows.h>#include <stdio.h>#include <stdlib.h>using namespace std; char MAC[256] = "1234 阅读全文
posted @ 2021-06-24 09:27
江南王小帅
阅读(36)
评论(0)
推荐(0)
摘要:
#include <iostream>#include<ctime> using namespace std; int main(){ time_t tt = time(NULL); tm* t = localtime(&tt); printf("%d-%02d-%02d %02d:%02d:%02 阅读全文
posted @ 2021-06-24 09:12
江南王小帅
阅读(108)
评论(0)
推荐(0)
摘要:
with open("SFPrintLabel.txt", "w+") as myfile: myfile.write(file_line_last01) myfile.write(long_info) myfile.close() 阅读全文
posted @ 2021-06-24 09:09
江南王小帅
阅读(59)
评论(0)
推荐(0)
摘要:
#!/usr/bin/pythonimport csv NewSN = "" # find good SN 给出MAC,寻找对应的SNwith open("DIGI_MAC_28_5_2021_40units.csv", newline='') as csvfile: csv_reader = cs 阅读全文
posted @ 2021-06-24 09:06
江南王小帅
阅读(88)
评论(0)
推荐(0)
摘要:
#!/usr/bin/python import csvNewSN = ""#read last line head datawith open('SFPrintLabel.txt',"r") as file: file_content = file.readlines() #把全文档读取为一个表, 阅读全文
posted @ 2021-06-24 08:51
江南王小帅
阅读(107)
评论(0)
推荐(0)
摘要:
# coding:utf-8import codecsimport osimport os.path'''#重命名文件newlines = []fileOpen = codecs.open("SN_02.txt", "r", "UTF-8") # 打开以utf-8格式fileSave = codec 阅读全文
posted @ 2021-06-24 08:43
江南王小帅
阅读(135)
评论(0)
推荐(0)
摘要:
#pragma once#define _CRT_SECURE_NO_WARNINGS#include <iostream>#include <string>#include <Windows.h>#include <fstream>#include <sstream>#include <signa 阅读全文
posted @ 2021-06-24 08:33
江南王小帅
阅读(127)
评论(0)
推荐(0)

浙公网安备 33010602011771号