-
文件操作,读取文件,并同时写进另一个文件中去 。
文件操作,读取文件,并同时写进另一个文件中去 。-file manipulation, reading the paper and also included in another document.
- 2022-05-14 00:55:25下载
- 积分:1
-
一个记事本 有一切记事本有的功能 但比较粗糙大家改进一下吧...
一个记事本 有一切记事本有的功能 但比较粗糙大家改进一下吧-a notebook with all the functional notebook relatively rough but we improved so much today
- 2022-01-26 03:26:41下载
- 积分:1
-
a written document literacy com ini control, ATL can learn as a good example of...
一个别人写的ini文件读写com控件,可以作为学习ATL编程的好例子,也可以学习ini文件读写-a written document literacy com ini control, ATL can learn as a good example of programming, but also can learn to read and write documents ini
- 2023-01-07 01:55:04下载
- 积分:1
-
Remote file manager made with client server method
Remote file manager made with client server method
- 2023-03-21 20:55:03下载
- 积分:1
-
日志文件处理,根据应用程序的需要,及时处理成理想的日志文件,便于分析。...
日志文件处理,根据应用程序的需要,及时处理成理想的日志文件,便于分析。-Deal with log files, according to application needs, as an ideal and timely treatment of the log file for analysis.
- 2022-02-27 04:25:56下载
- 积分:1
-
编辑处理Unicode和多字节文本文件。
编辑处理Unicode和多字节文本文件。-Editing processing and multi-byte Unicode text file.
- 2022-05-28 20:37:17下载
- 积分:1
-
原始数据划分为train.dat和test.dat
应用背景开始是做movielense的数据,可以把原始数据任意划分为train.dat和test.dat,主要是为了做验证实验。非常简单明了,适合初学者看看,如果不喜欢,请轻喷。关键技术# -*- coding: cp936 -*-
from sklearn import cross_validation
c = []
filename = r"Raw.data" #原始数据
out_train = open(r"train.txt","w") #训练集
out_test = open(r"test.txt","w") #测试集
for line in open(filename):
items = line.strip().split(",")
c.append(items)
c_train,c_test = cross_validation.train_test_split(c,test_size=0.1)#size =你需要的比例
for i in c_train:
out_train.write(",".join(i)+"
")
for i in c_test:
out_test.write(",".join(i)+"
")
- 2022-01-25 21:21:56下载
- 积分:1
-
CFile.Open()的使用说明
CFile file;
CFileException fe;
//打开文件
if(!file.Open(lpszPathName,CFile::modeRead|CFile::shareDenyWrite,&fe))
{
ReportSaveLoadException(lpszPathName,&fe,FALSE,AFX_IDP_FAILED_TO_OPEN_DOC);
return FALSE;
}
CFIIE类是MFC的文件类的基类,它直接提供无缓冲的二进制 磁盘I/O设备,并且通过它的派生类可以提供对text文件和内存文件的存取。CFILE与CArchive类一起提供对MFC序列化的支持。
- 2022-08-18 11:25:14下载
- 积分:1
-
关于编程控制office系统的输出,提供随时打印功能
关于编程控制office系统的输出,提供随时打印功能-programming control office on the system"s output, ready for printing
- 2022-04-01 14:24:35下载
- 积分:1
-
通过调用文本,文件通过修改并输出希望对大家有用
通过调用文本,文件通过修改并输出希望对大家有用-By calling the text file and output by modifying the U.S. wishes to be useful
- 2022-06-13 01:20:50下载
- 积分:1