Remove all directories using wildcard
JSkinn3
skinner_1377 at hotmail.com
Fri Mar 18 12:41:07 EDT 2011
More information about the Python-list mailing list
Fri Mar 18 12:41:07 EDT 2011
- Previous message (by thread): Bounds checking
- Next message (by thread): Remove all directories using wildcard
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I'm new to python and I am trying to figure out how to remove all sub directories from a parent directory using a wildcard. For example, remove all sub directory folders that contain the word "PEMA" from the parent directory "C:\Data". I've trying to use os.walk with glob, but I'm not sure if this is the right path to take. Thanks for any suggestions!
- Previous message (by thread): Bounds checking
- Next message (by thread): Remove all directories using wildcard
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list