supplierdeeply

How to remove a directory?

  • 1 Replies
  • 456 Views
How to remove a directory?
« on: 06 / August / 2015, 08:26:14 »
Advertisements
I tried os.remove(). But it didn't work. What's the command for removing a directory?

Thanks

*

Offline reyalp

  • ******
  • 10944
Re: How to remove a directory?
« Reply #1 on: 06 / August / 2015, 15:36:52 »
You need to empty the directory before you remove it.
Don't forget what the H stands for.

 

Related Topics