03 2022 档案

摘要:闭包 = 函数 + 环境变量 def factory(): pos = 0 def go(step): nonlocal pos new_pos = pos + step pos = new_pos return pos return go tourist = factory() print(tou 阅读全文
posted @ 2022-03-24 11:19 安静ovo 阅读(33) 评论(0) 推荐(0)
摘要:一、升级apt-get: sudo apt-get update 二、安装: apt-get install mysql-serverapt-get install mysql-clientapt-get install libmysqlclient-dev 安装过程中遇到停止的地方直接打印y 三、 阅读全文
posted @ 2022-03-16 09:57 安静ovo 阅读(302) 评论(0) 推荐(0)