Introduction
"Arrays" in Python are not the arrays in conventional programming languages like C and Java, but closer to lists. A list can be a collection of either homogeneous or heterogeneous elements, and may contain ints, strings or other lists.
Parameters
Parameter | Details |
---|
b | Represents signed integer of size 1 byte |
B | Represents unsigned integer of size 1 byte |
c | Represents character of size 1 byte |
u | Represents unicode character of size 2 bytes |
h | Represents signed integer of size 2 bytes |
H | Represents unsigned integer of size 2 bytes |
i | Represents signed integer of size 2 bytes |
I | Represents unsigned integer of size 2 bytes |
w | Represents unicode character of size 4 bytes |
l | Represents signed integer of size 4 bytes |
L | Represents unsigned integer of size 4 bytes |
f | Represents floating point of size 4 bytes |
d | Represents floating point of size 8 bytes |