Python
Delete directory in Python
Check if directory exists and if yes, then delete it.
folderdirectorydeleteremove
Interactive recipe
You can use below interactive recipe to generate code. This recipe is available in MLJAR Studio.
Python code
# Python code will be here
Code explanation
- Check if directory exists in the file system.
- Delete directory if present.
Python cookbook
Code recipes from Python cookbook.
- Previous
- Copy file