X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=m_lib%2Fpbar%2Ftest%2Find_test.py;h=585b7e1d355b2535ce95f4dbce657b13f1e0e1c5;hb=fb3af94919a9ee18ba1c35f927f19837f057fa1f;hp=727633fd91e5c2480d6de1359b387276ae4f0a54;hpb=9a523766e02fc3c5d1df4550385a604dca8e6e80;p=m_lib.git diff --git a/m_lib/pbar/test/ind_test.py b/m_lib/pbar/test/ind_test.py index 727633f..585b7e1 100755 --- a/m_lib/pbar/test/ind_test.py +++ b/m_lib/pbar/test/ind_test.py @@ -1,12 +1,13 @@ #! /usr/bin/env python +from __future__ import print_function import sys from time import sleep from m_lib.pbar.tty_pbar import ttyProgressBar def test(): - print "Test: ", + print("Test: ", end=' ') sys.stdout.flush() x1 = 217 @@ -18,7 +19,7 @@ def test(): sleep(0.05) pbar.erase() - print "Ok" + print("Ok") if __name__ == "__main__":