Delete file and directory using python

OS.RMDIR delete the directory path but only works when the directory is empty. Where OS.REMOVE use to delete file from the current path. Find the example for delete file and directory using python.

https://www.geekboots.com/python/delete-file-directory

Comments