diff --git a/roscop/roscop.py b/roscop/roscop.py index 58ecff26be38a74f8fb5b27941cfaa11de0580ca..24d2975b341250c04a0ccd0b685a7221d0f5913b 100644 --- a/roscop/roscop.py +++ b/roscop/roscop.py @@ -23,6 +23,7 @@ class Roscop: return 'Class Roscop, file: %s, size = %d' % (self.file, len(self.hash)) def disp(self, theKey): + print("%s :" % theKey) print(self.hash[theKey]) # read code roscop file @@ -42,9 +43,9 @@ class Roscop: # for testing in standalone context # --------------------------------- if __name__ == "__main__": - #from roscop import Roscop + # from roscop import Roscop r = Roscop("code_roscop.csv") r.read() print(r) - r.disp('TEMP') - r.disp('PSAL') + # r.disp('TEMP') + r.disp('BATH')