Util Module¶
This module provides utility functions.
ConfigureLogger(default_level=logging.INFO, format='[%(asctime)s] %(levelname)s in %(filename)s:%(lineno)d - %(message)s', levels=None)
¶
just syntactic sugar
StringBuilder()
¶
A StringBuilder is used to build a string by multiple append calls.
append(s)
¶
append a string to the end of the string builder
Parameters:
Name | Type | Description | Default |
---|---|---|---|
s
|
str
|
the string |
required |
Returns:
Name | Type | Description |
---|---|---|
StringBuilder |
StringBuilder
|
self |
clear()
¶
clear the content