会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
迈克游民的菜园子
博客园
首页
新随笔
联系
订阅
管理
2022年9月2日
获取网页小说程序
该文被密码保护。
阅读全文
posted @ 2022-09-02 21:37 yxmichael
阅读(0)
评论(0)
推荐(0)
2022年4月9日
简易版计算器
摘要: # 简易版计算器 import tkinter as tk from tkinter import messagebox root = tk.Tk() root.title('计算器') root.geometry('315x310+100+100') root.attributes('-alpha
阅读全文
posted @ 2022-04-09 18:24 yxmichael
阅读(110)
评论(0)
推荐(0)
2022年4月3日
从固定格式的excel表中,提取数据汇总到一张表上(第五版)
该文被密码保护。
阅读全文
posted @ 2022-04-03 17:35 yxmichael
阅读(0)
评论(0)
推荐(0)
2022年3月25日
pyinstaller打包后程序体积太大,如何解决?
摘要: 上周写了个小工具,打包成exe。因为除了写Python的,绝大多数人电脑里都没有Python编译器,所以打包成exe,让用户(windows)双击就可以打开,也算是必备技能了。 直接用Pyinstaller,打开cmd: pyinstaller -F E:\pycharm\huizong\huizo
阅读全文
posted @ 2022-03-25 21:13 yxmichael
阅读(1568)
评论(0)
推荐(0)
2022年3月23日
从固定格式的excel表中,提取数据汇总到一张表上(第三版)
该文被密码保护。
阅读全文
posted @ 2022-03-23 11:27 yxmichael
阅读(1)
评论(0)
推荐(0)
2022年3月22日
从固定格式的excel表中,提取数据汇总到一张表上
该文被密码保护。
阅读全文
posted @ 2022-03-22 22:21 yxmichael
阅读(0)
评论(0)
推荐(0)
2021年12月18日
查找文本文档中的关键字所在的句子,替换为空白
摘要: import re filename = "1.txt" filename_new = '3.txt' with open(filename,"r",encoding='utf-8') as f: data = f.read() data_re = re.sub('(威信|微鑫)','微信',dat
阅读全文
posted @ 2021-12-18 20:48 yxmichael
阅读(408)
评论(0)
推荐(0)
2021年11月19日
初学类_(1)
摘要: # 类的创建、类的继承 # ************************ 定义类 **************************** # 创建一个类People class People: # 包含属性name、city def __init__(self, name, city): se
阅读全文
posted @ 2021-11-19 12:19 yxmichael
阅读(40)
评论(0)
推荐(0)
类的继承
摘要: # 类的继承 class Car: def __init__(self,name): self.name = name self.remain_miles = 0 def fill_fule(self,miles): #填充燃料 self.remain_miles = miles def run(s
阅读全文
posted @ 2021-11-19 10:25 yxmichael
阅读(19)
评论(0)
推荐(0)
2021年11月18日
爬取笔趣阁完本书目信息并导出到excel(第二版)
该文被密码保护。
阅读全文
posted @ 2021-11-18 16:49 yxmichael
阅读(1)
评论(0)
推荐(0)
下一页
公告