<gh_stars>1-10
# Python Program To Remove A Group Of Directories In The Path

'''
Function Name    :  Remove A Group Of Directories In The Path
Function Date    :  26 Sep 2020
Function Author  :  <NAME>
'''

import os

os.removedirs('mysub/mysub2/mysub3') # Remove mysub3 , mysub2 And Then mysub

# Python Program To Remove A Group Of Directories In The Path

'''
Function Name    :  Remove A Group Of Directories In The Path
Function Date    :  26 Sep 2020
Function Author  :  <NAME>
'''

import os

os.removedirs('mysub/mysub2/mysub3') # Remove mysub3 , mysub2 And Then mysub
# Python Program To Remove A Group Of Directories In The Path Function Name    :  Remove A Group Of Directories In The Path
 Function Date    :  26 Sep 2020
 Function Author  :  <NAME> # Remove mysub3 , mysub2 And Then mysub