run_time_info_str
- mdtools.run_time_info.run_time_info_str(indent=0)[source]
Create a string containing some run time information.
The string can be printed directly to standard output using
print().The information contained in the string is:
The date and time the script (actually this function) was called.
The MDTools copyright notice.
The information generated by
mdtools.run_time_info.run_time_info().
- Parameters:
indent (
int, optional) – Number of spaces to indent the information string. Negative indentation is treated as zero indentation.- Returns:
rti (
str) – Human readable string containing the above listed content.
See also
mdtools.run_time_info.run_time_info()Generate some run time information
mdtools.file_handler.header_str()Create a string containing some run time information to be used as header for text files
mdtools.file_handler.indent()Indent a text