create/delete folder

hello. How I can delete or create folder using blender python?

All those commands are in the standard python os module.
Just make sur to import that module in your blender script :

import bpy, os

Thanks for help!