mirror of
https://github.com/andreinechaev/nvcc4jupyter.git
synced 2026-06-14 03:00:47 +05:30
print out multiline output
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user