We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d0464c2 commit 0e087c4Copy full SHA for 0e087c4
search_of_empty_folders_in_all_disk__multithreading_multiprocessing/main.py
@@ -7,19 +7,16 @@
7
import time
8
import os
9
import shutil
10
-import sys
11
12
# If need use threads
13
from multiprocessing.dummy import Pool
14
# Or:
15
# from multiprocessing import Pool
16
17
-from pathlib import Path
18
-
19
import psutil
20
21
-sys.path.append(str(Path(__file__).resolve().parent.parent))
22
-from human_byte_size import sizeof_fmt
+# pip install humanize
+from humanize import naturalsize as sizeof_fmt
23
24
25
def search_empty_folders(disk):
0 commit comments