摘要: net包常接触的类为Addr, Conn, Listener net.{TCP, UDP, IP, Unix}Addr, net.IPNet net.{TCP, UDP, Unix}Conn, net.pipe, crypto/tls.Conn net.{TCP, Unix}Listener, cr 阅读全文
posted @ 2025-07-04 22:45 Nameless_gb 阅读(0) 评论(0) 推荐(0)
摘要: 策略模式 观察者模式 装饰器模式 简单工厂 抽象工厂 命令模式 适配器模式 迭代器模式 阅读全文
posted @ 2025-06-17 15:33 Nameless_gb 阅读(2) 评论(0) 推荐(0)
摘要: https://book.douban.com/subject/36500831/ a/b返回结果为float,float内部有方法为is_integer() timeit快速剖析程序功能python -m timeit -n 5 -r 1 -s "print('Hello world')" she 阅读全文
posted @ 2025-06-16 15:40 Nameless_gb 阅读(2) 评论(0) 推荐(0)
摘要: Pylint(www.pylint.org) zip,itertools.zip_longest 带星号unpacking,header, *rows = it python --strict defaultdict __missing__ 闭包 nonlocal 变量 when: Optional 阅读全文
posted @ 2025-06-10 18:58 Nameless_gb 阅读(2) 评论(0) 推荐(0)
摘要: 1. sestatus [none@localhost ~]$ sestatus SELinux status: enabled SELinuxfs mount: /sys/fs/selinux SELinux root directory: /etc/selinux Loaded policy n 阅读全文
posted @ 2025-06-08 10:34 Nameless_gb 阅读(2) 评论(0) 推荐(0)