10 2020 档案

摘要:command简单事件绑定;bind属性widget.bind(' 阅读全文
posted @ 2020-10-30 18:13 yescarf 阅读(543) 评论(0) 推荐(0) 编辑
摘要:event绑定 阅读全文
posted @ 2020-10-30 14:18 yescarf 阅读(956) 评论(0) 推荐(0) 编辑
摘要:Radiobutton(单选按钮)与checkbutton(复选按钮) 阅读全文
posted @ 2020-10-29 18:03 yescarf 阅读(1218) 评论(0) 推荐(0) 编辑
摘要:Text属性与方法 阅读全文
posted @ 2020-10-29 17:10 yescarf 阅读(2086) 评论(0) 推荐(0) 编辑
摘要:frame 说明:屏幕上创建一块矩形区域,多作为容器来布局窗体 frame(根对象,[属性列表]) class Frame_tk(Tk): def __init__(self): self.windows=Tk() self.windows.geometry('300x200') self.show 阅读全文
posted @ 2020-10-28 18:42 yescarf 阅读(865) 评论(0) 推荐(0) 编辑
摘要:requests中的编码解码 阅读全文
posted @ 2020-10-28 18:20 yescarf 阅读(564) 评论(0) 推荐(0) 编辑
摘要:xpath基本用法 阅读全文
posted @ 2020-10-28 14:41 yescarf 阅读(2307) 评论(0) 推荐(0) 编辑
摘要:mysql 阅读全文
posted @ 2020-10-28 09:37 yescarf 阅读(159) 评论(0) 推荐(0) 编辑
摘要:Entry控件 Python Tkinter 文本框用来让用户输入一行文本字符串。 你如果需要输入多行文本,可以使用 Text 组件。 你如果需要显示一行或多行文本且不允许用户修改,你可以使用 Label 组件。 语法 语法格式如下: w = Entry( master, option, ... ) 阅读全文
posted @ 2020-10-22 16:51 yescarf 阅读(1334) 评论(0) 推荐(0) 编辑
摘要:tkinter三种布局管理器:pack、grid、palce 阅读全文
posted @ 2020-10-20 14:15 yescarf 阅读(1820) 评论(0) 推荐(0) 编辑
摘要:#列表推导式的高明之处 lis=[(i**2)/2 for i in range(1,11)] for i in lis: print(i) #找出桌面以xlsx结尾的文件 import os ls=[file for file in os.listdir(r'C:\Users\Desktop') 阅读全文
posted @ 2020-10-19 16:34 yescarf 阅读(135) 评论(0) 推荐(0) 编辑
摘要:字符串拼接 转至:https://blog.csdn.net/yangschfly/article/details/86522953?utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-1. 阅读全文
posted @ 2020-10-19 15:23 yescarf 阅读(99) 评论(0) 推荐(0) 编辑
摘要:Label、Button 阅读全文
posted @ 2020-10-18 16:52 yescarf 阅读(1092) 评论(0) 推荐(0) 编辑
摘要:正则表达式(RE)的语法 正则表达式语法由字符和操作符构成 正则表达式的常用操作符: (*|+|?{})? 用于上面出现的任何‘非贪婪’。版本重复匹配次数符号 .*?[a-z] \s 匹配任何空白符和[\n\t\r\v\f]相同 of\sthe print("--正则表达式常用操作符--") mat 阅读全文
posted @ 2020-10-15 16:51 yescarf 阅读(242) 评论(0) 推荐(0) 编辑
摘要:request库+bs4解析 阅读全文
posted @ 2020-10-13 14:07 yescarf 阅读(266) 评论(0) 推荐(0) 编辑
摘要:bs4库使用 阅读全文
posted @ 2020-10-10 15:30 yescarf 阅读(288) 评论(0) 推荐(0) 编辑
摘要:open函数理解 open(file, mode='r', buffering=-1, encoding=None, errors=None, newline=None, closefd=True, opener=None) mode模式 合法mode:r、rb、r+、rb+、w、wb、w+、wb+ 阅读全文
posted @ 2020-10-10 11:34 yescarf 阅读(1105) 评论(0) 推荐(0) 编辑
摘要:问题: 读写二进制文件,比如图片、文件、视频等 函数: open(file, mode='r', buffering=-1, encoding=None, errors=None, newline=None, closefd=True, opener=None) 读取写入模式: 使用模式为 rb 或 阅读全文
posted @ 2020-10-09 18:27 yescarf 阅读(183) 评论(0) 推荐(0) 编辑
摘要:http://blog.csdn.net/pipisorry/article/details/62889137 数组模块array简介 在Python中,列表是一个动态的指针数组,而array模块所提供的array对象则是保存相同类型的数值的动态数组。list的内存分析参考[python数据类型的内 阅读全文
posted @ 2020-10-09 17:54 yescarf 阅读(673) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示