We can check if a directory is empty or not in Python by using the exists() method of os.path module and listdir() method of os module.
確定! 回上一頁