- 博客(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
原创 实验64444
Console.WriteLine("正三角形的面积: " + area1);Console.WriteLine("正方形的面积: " + area2);Console.WriteLine("圆的面积: " + area3);// 求各图形的面积。
2023-10-24 19:55:05
25
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人