Python中大多数系统级接口都集中在这两个模块中,sys和os。

还有一些其它的标准模块也属于这个领域,他们包括:

glob:用于文件名扩展.

socket:用于网络连接和进程间通信(IPC)

threading,_thread,queue:用于运行和同步化并发线程

time,timeit:用于获取系统时间相关细节

subprocess,multiprocessing:用于启动和控制并行进程

signal,select,shutil,tempfile:用于多种系统相关任务

获取模块文档

Python3_系统模块

 

 

相关文章:

  • 2022-03-06
  • 2021-06-19
  • 2022-12-23
  • 2022-01-16
  • 2021-12-09
猜你喜欢
  • 2022-01-11
  • 2021-08-11
  • 2022-01-07
  • 2021-11-13
  • 2021-06-18
  • 2021-10-01
  • 2022-02-25
相关资源
相似解决方案