自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(7)
  • 收藏
  • 关注

原创 使用方法创建oledbdatareder

reader = cmd.ExecuteReader() '实例OleDbDataReader对象,注意不能用New。Dim reader As OleDbDataReader '声明OleDbDataReader对象。reader.Close() '关闭OleDbDataReader对象。While reader.Read() '读取数据。

2023-11-24 10:55:12 46 1

原创 实验10第四题

refresh_button = tk.Button(window, text="刷新", command=refresh_code)verify_button = tk.Button(window, text="验证", command=verify_code)image = Image.open('code.jpg') # 替换为你自己的验证码图片路径。image = Image.open('code.jpg') # 替换为你自己的验证码图片路径。label.config(text="验证码正确")

2023-11-20 14:54:36 39 1

原创 实验10第六题

rectangle2_button = tk.Button(window, text="长方形", command=draw_rectangle2)rectangle_button = tk.Button(window, text="矩形", command=draw_rectangle)line_button = tk.Button(window, text="直线", command=draw_line)window.title("画图程序")

2023-11-20 14:54:06 33 1

原创 XML中的CSS浮动、定位和常用属性

属性值:none(不加划线),underline(加上划线),line-through(加删除线),blink(字闪烁)属性值:left(为左端对齐),right(为右端对齐),center(居中),justify(两端对齐)属性值:uppercase(全部大写),lowercase(全部小写),capitalize(首字母大写)属性值block(块级元素)、inline(内联元素)和inline-block(内联块级元素)。属性值:normal(正常) ,italic(斜体)oblique(倾斜)。

2023-11-02 21:52:28 76

原创 已知一个文件请查询该文件是否存在,如存在,查询文件创建时间、最后修改时间和最后访问时间

print("最后修改时间:", time.ctime(modify_time))print("最后访问时间:", time.ctime(access_time))print("创建时间:", time.ctime(create_time))print("文件不存在")print("文件存在")# 查询文件的最后修改时间。# 查询文件的最后访问时间。# 查询文件的创建时间。# 查询文件是否存在。

2023-10-30 17:00:59 51 1

原创 把九九乘法表写入文件

从文件中读取并逐行输出。# 写入九九乘法表到文件。

2023-10-30 14:39:42 333

原创 实验64444

Console.WriteLine("正三角形的面积: " + area1);Console.WriteLine("正方形的面积: " + area2);Console.WriteLine("圆的面积: " + area3);// 求各图形的面积。

2023-10-24 19:55:05 25

空空如也

空空如也

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

TA关注的人

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