devctrl.utility.file_io#
Functions
return v as string, add leading zeros if len(str(v)) < digits |
|
Current date formated as YYYY-mm-dd |
|
Current date and time formated as YYYY-mm-dd_HH-MM |
|
If the filepath does not exist, returns the filepath. |
|
Get the next filename (without extenstion). |
|
Version of os.listdir that returns absolute paths and is sorted by name :param base_dir: :return: |
|
Return absolute paths of directories in base_dir that match the filter_regex |
|
Prepend the date in ISO format if |
|
Prepend the date and time in ISO format if |
|
Remove invalid characters from filename. |
|
Search for a file or directory called <name> in the current working directory and sys.path |