摘要: 1、使用lambda函数 # 匿名函数, 返回值为函数 func = lambda: "foo" print(func) 2、使用内部函数(局部函数) # 类似装饰器写法 def decorator(func): def _(*args, **kwargs): return func(*args, 阅读全文
posted @ 2022-04-25 20:58 代码诠释的世界 阅读(1634) 评论(0) 推荐(0)
摘要: 1.、起因 想更新系统为win11 2、使用健康检查工具,检查,提示未开启TPM2.0 这是开启后 3、操作步骤 重启电脑,按住F2,或者不停的按F2, 进入BIOS 按F7,进入高级模式 按照图示找到如下配置 回车或者鼠标点击进入 按照图示选择,然后点击F10保存 4. 配置完之后,重启电脑,然后 阅读全文
posted @ 2022-04-25 16:53 代码诠释的世界 阅读(5919) 评论(0) 推荐(0)
摘要: 1. 官网下载链接 企业微信 https://work.weixin.qq.com/#indexDownload VSCode https://code.visualstudio.com/docs/?dv=osx iterm2 https://iterm2.com nodejs http://nod 阅读全文
posted @ 2022-04-25 16:30 代码诠释的世界 阅读(213) 评论(0) 推荐(0)
摘要: 1、 Mac开启共享桌面 https://support.apple.com/zh-cn/guide/mac-help/mh11848/mac 2、VNC工具下载 TightVNC https://www.tightvnc.com/ vnc viewer https://www.realvnc.co 阅读全文
posted @ 2022-04-25 14:37 代码诠释的世界 阅读(570) 评论(0) 推荐(0)