From 68545075fb215bce948ddc287b12ae431fd207d8 Mon Sep 17 00:00:00 2001 From: Alexander Trofimov Date: Tue, 29 Sep 2020 12:25:51 +0300 Subject: [PATCH] [build] Add Add print_list function --- scripts/base.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/base.py b/scripts/base.py index 48e9e09..a0957de 100644 --- a/scripts/base.py +++ b/scripts/base.py @@ -63,6 +63,10 @@ def print_info(info=""): print("------------------------------------------") return +def print_list(list): + print('[%s]' % ', '.join(map(str, list))) + return + # file system ------------------------------------------- def is_file(path): return os.path.isfile(get_path(path))