print out multiline output

This commit is contained in:
Andrei Nechaev
2019-07-12 17:00:56 -04:00
parent b88614e6e5
commit 98566ce171
3 changed files with 33 additions and 16 deletions
+5
View File
@@ -6,3 +6,8 @@ def get_argparser():
parser.add_argument("-t", "--timeit", action='store_true',
help='flag to return timeit result instead of stdout')
return parser
def print_out(out: str):
for l in out.split('\n'):
print(l)