Methods
| append | Append a new item to the end of the array. |
| array | |
| buffer_info | Return a tuple (address, length) giving the current memory info. |
| byteswap | Swap the bytes of all items (endian conversion for multi-byte types). |
| clear | Remove all items from the array (empty it). |
| count | Return the number of occurrences of x. |
| extend | Append items from an iterable or another array. |
| frombyte | Append items from a bytes object, interpreted using the array's type. |
| fromfile | Read n items (as machine values) from a file object. |
| fromlist | Append items from a list after type checking. |
| index | Return the index of the first occurrence of x. |
| insert | Insert a new item x into the array at position i. |
| itemsize | Size in bytes of one array item. |
| pop | Remove and return the item at index i (last item by default). |
| remove | Remove the first occurrence of x. |
| reverse | Reverse the order of the items in place. |
| tobytes | Convert the array to a bytes object containing the raw machine values. |
| tofile | Write all items (as machine values) to a file object. |
| tolist | Convert the array to a list of Python values. |
| tounicode | Convert the array with type code 'u' to a unicode string. |
| typecode | |
| typecodes |
| append Append a new item to the end of the array. |
| array |
| buffer_info Return a tuple (address, length) giving the current memory info. |
| byteswap Swap the bytes of all items (endian conversion for multi-byte types). |
| clear Remove all items from the array (empty it). |
| count Return the number of occurrences of x. |
| extend Append items from an iterable or another array. |
| frombyte Append items from a bytes object, interpreted using the array's type. |
| fromfile Read n items (as machine values) from a file object. |
| fromlist Append items from a list after type checking. |
| index Return the index of the first occurrence of x. |
| insert Insert a new item x into the array at position i. |
| itemsize Size in bytes of one array item. |
| pop Remove and return the item at index i (last item by default). |
| remove Remove the first occurrence of x. |
| reverse Reverse the order of the items in place. |
| tobytes Convert the array to a bytes object containing the raw machine values. |
| tofile Write all items (as machine values) to a file object. |
| tolist Convert the array to a list of Python values. |
| tounicode Convert the array with type code 'u' to a unicode string. |
| typecode |
| typecodes |
© 2026 Better Solutions Limited. All Rights Reserved. © 2026 Better Solutions Limited TopPrev