module filehelper.format_helper
¶
Short summary¶
module pyensae.filehelper.format_helper
Various functions to display information about files
Functions¶
function |
truncated documentation |
---|---|
Returns a :epkg:`datetime` for a file. |
|
Formats the file size as string. |
Documentation¶
Various functions to display information about files
- pyensae.filehelper.format_helper.format_file_mtime(timestamp)¶
Returns a :epkg:`datetime` for a file.
- Parameters:
timestamp – modified date for example
- Returns:
datetime
- pyensae.filehelper.format_helper.format_file_size(size)¶
Formats the file size as string.
- Parameters:
size – numeric value
- Returns:
string (something + unit)