Tools (Python)
The Tools Cython class exposes the C++ tools utility functions.
Methods
Signature |
Description |
|---|---|
|
Create the directory tree at pth (equivalent to |
|
Recursively delete the directory at pth. |
|
Return |
|
Rename/move file src to dst. |
|
Return the absolute path of pth. |
|
List files in directory pth with extension ext. |
|
Replace all occurrences of rpl in val with rpwl. |
|
Return |
|
Return |
|
Return |
|
Split data on the delimiter(s) in trg. |
|
Compute a MD5-based hex hash of data. The result is always at
least lx characters long; if the natural hash is shorter, zeros
are appended. |
|
Base-64 encode data. |