datarail / gr_metrics

15 stars 12 forks source link

python3 #32

Open elmbeech opened 7 years ago

elmbeech commented 7 years ago

hi Jeremy,

i was working on a python3 compatible gr50_tools implementation. but i am not able to turn your LineReader class into a proper python3 iterator class. i think this is mainly because i am not able to define - with out breaking the code - the def __next__() method, which is needed that python3 accept the class as iterator. the rest should work. could you please have a look? https://github.com/elmbeech/gr50_tools/blob/master/SRC/python3/gr50/linereader.py

i would be grateful. thank you, Elmar