下面来看一下python里面是如何删除一个文件及文件夹的~~
1 2 3 4 5 6 7 8 |
|
递归删除目录和文件(类似DOS命令DeleteTree):
方法1:
1 2 3 4 5 6 7 8 9 10 |
|
方法2:利用python的成熟的模块
1 2 3 |
|
小编为大家整理了一些关于Python的学习资料,和学习路线欢迎大家来骚扰哦
下面来看一下python里面是如何删除一个文件及文件夹的~~
1 2 3 4 5 6 7 8 |
|
1 2 3 4 5 6 7 8 9 10 |
|
1 2 3 |
|
小编为大家整理了一些关于Python的学习资料,和学习路线欢迎大家来骚扰哦