first script error:
Python 3.4.3 (v3.4.3:9b73f1c3e601, Feb 24 2015, 22:44:40) [MSC v.1600 64 bit (AMD64)] on win32
Type "copyright", "credits" or "license()" for more information.
>>> ================================ RESTART ================================
>>>
Traceback (most recent call last):
File "C:/Python34/analyz.py", line 7, in <module>
record_width = bytearray_to_int(bytearray(f.read(4)))
NameError: name 'bytearray_to_int' is not defined
>>>
I use elements from ru-client.