[root@s141 ~]# pythonPython 2.7.5 (default, Sep 15 2016, 22:37:39) [GCC 4.8.5 20150623 (Red Hat 4.8.5-4)] on linux2Type "help", "copyright", "credits" or "license" for more information.>>> import os          #加载模块>>> r=os.system>>> r("ls /root")      #执行命令anaconda-ks.cfg			  Musicceph-release-1-1.el7.noarch.rpm   PicturesDesktop				  PublicDocuments			  TemplatesDownloads			  Videosepel-release-latest-7.noarch.rpm  win_2008.qcow2initial-setup-ks.cfg		  zabbix-agent-3.0.5-1.el7.x86_64.rpm0