Tools
Tools copied to clipboard
'import struct' needed to prevent NameError at python3
Without this 'import struct' , Python interpreter throws an error of "NameError: name 'struct' is not defined". To solve this error, 'import struct' is needed.