摘要: Programming Python, 3rd Edition 翻译
One of the more common tasks in the shell utilities domain is applying an operation to a set of files in a directorya "folder" in Windows-speak. By running a script on a batch of files, we can automate (that is, script) tasks we might have to otherwise run repeatedly by hand.
在shell应用领域,更常见的任务是,操作目录中的一组文件,按Windows的说法是“文件夹”。通过对一批文件运行脚本,我们可以将任务自动化(即脚本化),否则我们就必须以手工方式重复运行脚本。
阅读全文