06 2022 档案
摘要:1. 文本操作 2. 系统信息监控~psutil 模块 psutil 模块官方文档:https://psutil.readthedocs.io/en/latest/# psutil(python 系统和进程实用程序)是一个跨平台库,用于 在Python中检索有关正在运行的进程和系统利用率(CPU、内
阅读全文
摘要:1. 查看系统模块及第三方模块 1. 查看系统模块 >>> import sys >>> sys.modules.keys() dict_keys(['sys', 'builtins', '_frozen_importlib', '_imp', '_thread', '_warnings', '_w
阅读全文
摘要:1. Docker导入镜像报错磁盘空间不足的解决方法 问题 docker load -i nginx.tar #报错 no space left device 报错是因为该目录没有磁盘空间 解决方法 先看看哪块有空间 df -Th 可以看出根目录下是有空间的。 第一种,docker没有任何服务存在
阅读全文
摘要:1.pip 版本过低 C:\Users\liu\PycharmProjects\da>pip install process ERROR: Could not find a version that satisfies the requirement process (from versions:
阅读全文
摘要:1. API的一些基础知识 1.1. 什么是API API 不同接口,都有不同的作用。应结合实际需求掌握该接口的功能。 API(Application Programming Interface,应用程序接口),是软件开发者将某个做好功能开放给外部人员使用的一个窗口。外部人员无需访问源码或理解内部代
阅读全文