What is the difference between "L"
, "LLL"
? I think in L, result converted to long and the result is 5 and in LLL, result converted to long and the result is 555?
import struct data = 5
Result = struct.pack("L", data)
Result = struct.pack("LLL", data, data, data)
I tried to see my self what these outputs are like by following code, but it just results in unreadable random charactors
import struct
data = 5
Result1 = struct.pack("L", data)
Result2 = struct.pack("LLL", data, data, data)
print (Result1)
print (Result2)