-
Python对文件IO操作
filePath="c:/test/tt.txt"
#从文件中读取信息
f=open(filePath, "r")#运用读的方式打开文件,
for line in f: #每次读取文件的一行内容
print(line)
f.close()
#向文件中写入信息
f=open(filePath, "a") #这里有两种方式:第一种是以w的形式,它写入时将会清空以前的数据然后再写入数据,第二种是以a的形式,它以追加的形式写入数据
f.write("我开始向文件中写入信息
")
f.writelines("我已经向文件写入了信息")
f.close()
- 2022-03-02 22:46:33下载
- 积分:1
-
温度测量系统源码
通过A/D0809数模转换
LED显示温度...
温度测量系统源码
通过A/D0809数模转换
LED显示温度
- 2022-04-12 01:47:34下载
- 积分:1
-
基于DSP2812的电机的控制程序源代码:包括永磁同步电机,感应电机,无刷电机,开关磁阻电机,还附带9组测试程序...
基于DSP2812的电机的控制程序源代码:包括永磁同步电机,感应电机,无刷电机,开关磁阻电机,还附带9组测试程序-electromotor control dased on DSP2812
- 2022-01-24 16:46:16下载
- 积分:1
-
利用汇编语言实现一个可以在显示器上显示时、分、秒的电子时钟,并能提供整点报时功能。设计一个基本的具有显示时、分、秒的电子时钟。
到整点或预定的报警时间,能够...
利用汇编语言实现一个可以在显示器上显示时、分、秒的电子时钟,并能提供整点报时功能。设计一个基本的具有显示时、分、秒的电子时钟。
到整点或预定的报警时间,能够以不同的音乐进行报时,可以自行设置闹钟报警时间;
实物演示时要求讲出程序原理和设计思想;
程序运行良好、界面清晰。
-The use of assembly language implementation on a show in the display hours, minutes and seconds of electronic clock, and can provide the whole point timekeeping function. Designed with a basic display hour, minute, second electronic clock. The whole point of the book or the alarm time, be able to carry out a different time in music, you can set their own alarm clock time kind demonstration program called the principle of speaking the idea and design program is running good, clear interface.
- 2022-05-07 23:11:00下载
- 积分:1
-
贪心算法实现活动安排问题
贪心算法实现活动安排问题-greedy algorithm activities arrangements
- 2022-01-21 18:04:58下载
- 积分:1
-
CNN实现图像分类与识别
说明: 利用深度学习模型CNN对图像进行分类与识别,例如人脸识别,手写字符识别等。(Deep learning model CNN is used to classify and recognize images, such as face recognition, handwritten character recognition and so on.)
- 2020-07-05 14:12:57下载
- 积分:1
-
系转载,液晶控制器T6963的C语言驱动程序,T6963应用广泛,特别是240×128的液晶基本上都是用这个芯片...
系转载,液晶控制器T6963的C语言驱动程序,T6963应用广泛,特别是240×128的液晶基本上都是用这个芯片
- 2022-06-19 18:54:00下载
- 积分:1
-
此代码是利用汇编语言实现的霓虹灯变化,实现都种图案的变化。是很好的汇编语言学习实例。...
此代码是利用汇编语言实现的霓虹灯变化,实现都种图案的变化。是很好的汇编语言学习实例。-This code is to use assembly language to achieve the neon lights change to achieve all kinds of design changes. Is a good example of assembly language to learn.
- 2022-07-11 18:57:21下载
- 积分:1
-
(TASM)汇编语言,显示 0 到 9,显示 0 到 99
0 到 9 和 0 到 99 的组装时,将显示此源代码。 再组装起来,使用 TASM,。 涡轮增压器装配。 做为 UMS 微处理器课程8086 微处理器的汇编语言源代码
- 2022-08-10 02:43:51下载
- 积分:1
-
本例在设计时采用了ADO.net访问数据库的技术,前台用VB.net2008作为开发工具,后台数据库采用了SQL server2005,然后通过前台对各项数据进...
本例在设计时采用了ADO.net访问数据库的技术,前台用VB.net2008作为开发工具,后台数据库采用了SQL server2005,然后通过前台对各项数据进行日常操作-In this case were used in the design of ADO.net database access technology, the future use VB.net2008 as development tools, back-end database using SQL server2005, and then through the front of the data on day-to-day operation
- 2022-03-11 16:59:04下载
- 积分:1