开发者

what does shutil (in Python) mean? [closed]

开发者 https://www.devze.com 2023-02-16 05:45 出处:网络
This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time,or an extraordinarily narrow situation that is not generally applic
This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center. 开发者_如何学Python Closed 11 years ago.

I knew what this module is for, I just don't know why they choose this name - shutil. It is hard to remember this kind of "random" name if I don't know where it come from. Please give me some hints, thanks.


It means "shell utilities", sh standing for shell, util standing for utilities.

If you think about what shutil does, that makes sense (manipulate the filesystem, make archives, etc.).

0

精彩评论

暂无评论...
验证码 换一张
取 消