Wirawan Purwanto
02a0222f34
* wpylib.file.file_utils: added is_readable/is_writable test functions.
11 years ago
Wirawan Purwanto
fd47842b73
* Documentation update.
11 years ago
Wirawan Purwanto
1e56bb95eb
* wpylib.file.file_utils: added path_prep and mkdir_p.
11 years ago
Wirawan Purwanto
839948a8da
* Moved the following functions from wpylib.shell_tools to
...
wpylib.file.file_utils since they are not directly related to shell:
- file_exists_nonempty
- is_executable_file
- dirname2
- relpath
- path_split_all
- list_dir_entries
These are new API functions, so hopefully their changes would not
affect many existing scripts.
* Added support for xz-compressed tar in untar() routine. Untested.
* Documentation updates.
11 years ago
Wirawan Purwanto
0c352b44f7
* Added function scan_directories() -- initial version for scanning
...
recursively all through directories (no symlink following), to collect
all subdirectories that satisfy the test criteria defined in the
testdir() function argument.
11 years ago
Wirawan Purwanto
d93fb5b7c2
* Added support for .xz file extension.
...
* Using backported lzma module (on python <= 3.2) to eliminate subprocess,
if possible.
11 years ago
Wirawan Purwanto
fb6631f756
* Use is_iterable to detect iterable specs argument.
11 years ago
Wirawan Purwanto
2daca4af6e
* tee_output: Allow None to be given in the `files' argument, which stands
...
for a null file.
12 years ago
Wirawan Purwanto
17d242213d
* Added some useful functions from my pw2g_bench_MnO.py scriptlet collection:
...
- wpylib.math.roundup()
- wpylib.shell_tools.dirname2()
* file_exists_nonempty() is moved to wpylib.shell_tools.
13 years ago
Wirawan Purwanto
96cec22fca
* wpylib.file.file_utils: added file_exists_nonempty() function.
13 years ago
Wirawan Purwanto
5c72506135
* New module: wpylib.file.tee
...
* Added class tee_output for splitting text output to multiple destinations.
13 years ago
Wirawan Purwanto
606214eb66
* Changing all `isinstance(STUFF, str)' to `isinstance(STUFF, basestring)'
...
for future-proofing this code.
13 years ago
wirawan
4c9b5ce9f7
* Update documentations.
14 years ago
wirawan
090d9f7b00
* Moving pyqmc.utils.file_utils to wpylib project.
14 years ago