lnlidawei

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

04 2023 档案

摘要:python3:函数装饰器 一、代码 1 wit@on:python3$ cat zhuangshiqi 2 #!/usr/bin/env python3 3 4 5 6 7 # import part 8 import os 9 import time 10 11 12 13 14 # print 阅读全文
posted @ 2023-04-27 00:37 lnlidawei 阅读(19) 评论(0) 推荐(0)

摘要:python:包和模块(python3) 一、包和模块的说明(python3) 1、包: 包,就是存放‘模块’的‘文件夹’;‘包的名字’,就是‘此文件夹的名字’。每个‘包’中都包含文件‘__init__.py’,文件‘__init__.py’表明‘这个文件夹’是‘python的包’。 2、模块: 模 阅读全文
posted @ 2023-04-24 01:51 lnlidawei 阅读(89) 评论(0) 推荐(0)

摘要:阅读方法: 如何克服默读 默读,当我们面对‘文字内容’时,喉咙完成了发音的全部动作、只是不发出声音而已。每个“文字”,对应着“特定的声音”。每个‘文字’,与‘特定的声音’关联。 面对‘文字内容’时,我们总尝试用‘发声’来阅读‘文字内容’。我们看着“文字内容”,为什么总是尝试着‘发音’呢?文字,是‘音 阅读全文
posted @ 2023-04-23 01:35 lnlidawei 阅读(438) 评论(0) 推荐(0)

摘要:Debian和Ubuntu系统更新和垃圾清理 一、 查看系统启动时间 1. systemd-analyze 二、 一键纯净更新和垃圾清理 1、 命令: sudo apt update -y && sudo apt full-upgrade -y && sudo apt autoremove -y & 阅读全文
posted @ 2023-04-21 23:47 lnlidawei 阅读(804) 评论(0) 推荐(0)

摘要:os: ubuntu22.04 - 关闭欢迎消息 一、关闭欢迎信息 1 wit@on:update-motd.d$ pwd 2 /etc/update-motd.d 3 wit@on:update-motd.d$ 4 wit@on:update-motd.d$ 5 wit@on:update-mot 阅读全文
posted @ 2023-04-04 00:51 lnlidawei 阅读(362) 评论(0) 推荐(0)