文章浏览阅读205次。1. 操作系统接口>>> import os>>> os.getcwd() # Return the current working directory'C:\\Python38'>>> os.chdir('/server/accesslogs') # Change current working directory>>> os.system('mkdir today') # Run the command _python基......