This repository was archived by the owner on Jun 1, 2024. It is now read-only.
  
  
  
  
  
Description
Thanks for this nice software!
I have trouble understanding the classes & methods in you program:
PrintTextBlock in base_packets.py  returns data. But how can I access that data in my main program?
I added this to PrintTextBlock:
  def consume_fixed(self, data, length):
        global g_beleg
      
        print('--------PrintTextBlock-------------------')
        beleg = ''
        for n in range(12, len(data)-3):
            beleg= beleg+( chr(data[n]))
        print(beleg)
        g_beleg = beleg
        print('--------PrintTextBlock-----EOF-----------')
        return dataand it prints what I want but I'd prefer to do int in my main program similar to  printer(lines_of_text)
which works for lines but not for blocks.