Functions | |
| def | mkdirp |
| def | rmf |
| def | rmrf |
| def | clean_dir |
Variables | |
| cp = shutil.copyfile | |
| def py::qo::sh::clean_dir | ( | args | ) |
| def py::qo::sh::mkdirp | ( | args | ) |
| def py::qo::sh::rmf | ( | args | ) |
rm -f *args ignore when file doesn't exist
00033 : 00034 """ 00035 rm -f *args 00036 ignore when file doesn't exist 00037 """ 00038 for path in args : 00039 if os.path.exists(path) : 00040 os.unlink(path) 00041 def rmrf( *args ) :
| def py::qo::sh::rmrf | ( | args | ) |
rm -rf *args
00042 : 00043 """ 00044 rm -rf *args 00045 """ 00046 for path in args : 00047 shutil.rmtree( path, True ) 00048 def clean_dir( *args ) :
py::qo::sh::cp = shutil.copyfile [static] |
1.5.3