跳转至

简介

本文主要用于介绍python所提供的os模块的相关功能。

API

  • 获取系统环境变量

返回的系统环境变量为mapping object.

print(os.environ)