os.removedirs not working

Golawala, Moiz M (GE Infrastructure) Moiz.Golawala at ge.com
Thu Aug 12 11:11:30 EDT 2004


Hi All, 

I have a small program that where I am using os.removedirs('C:\\someDir') on windows. I get the error that the directory is not empty. Sure there are sub-directories under it and all file and directories are deletable(nothing is locked by the system) and there are no permission issues either. Can someone please tell me if I am using the os.removedirs() correctly? 

Moiz Golawala
GE Infrastructure, Security
Software Engineer
Enterprise Solutions

T 561 994 5972
F 561 994 6572
E moiz.golawala at ge.com 
www.gesecurity.com

791 Park of Commerce Blvd., Suite 100
Boca Raton, FL, 33487, U.S.A.
GE Security, Inc.




More information about the Python-list mailing list