Commit 295cb6e7 authored by Anton Pershin's avatar Anton Pershin

Добавил принтинг словарей в comaux

parent 6615e28c
......@@ -242,3 +242,7 @@ def load_function_from_module(full_function_name):
module_name, function_name = full_function_name.rsplit('.', 1)
module_ = importlib.import_module(module_name)
return getattr(module_, function_name)
def print_pretty_dict(d):
for k, v in d.items():
print('{}: {}'.format(k ,v))
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment