多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
A lot of people use Python as a replacement for shell scripts, using it to automate commonsystem tasks, such as manipulating files, configuring systems, and so forth. Themain goal of this chapter is to describe features related to common tasks encounteredwhen writing scripts. For example, parsing command-line options, manipulating fileson the filesystem, getting useful system configuration data, and so forth. Chapter 5 alsocontains general information related to files and directories.