Other Functions

absReturns the absolute value of a number as an integer (built-in).
aiterReturns an asynchronous iterator for an asynchronous iterable (built-in).
allReturns True if all elements of the iterable are true (built-in).
andand operator
anextReturns the next item from a given asynchronous iterator (built-in).
anyReturns True if any element of the iterable is true (built-in).
appendAppend a new item to the end of the array.
arrayCreate a new array. typecode is a single character (e.g. 'b', 'i', 'f') that decides the item type.
asciiReturns a string containing a printable representation of an object (built-in).
binReturns the number converted to a binary string (built-in).
boolReturns the boolean True or False value (built-in).
breakpointSuspends execution and switches to the debugger (built-in).
buffer_infoReturn a tuple (address, length) giving the current memory info.
bytearrayReturns a new array of bytes (built-in).
bytesReturns a new bytes object between 0 and 256 (built-in).
byteswapSwap the bytes of all items (endian conversion for multi-byte types).
calcsizeReturns test
callableReturns True or False depending if the object argument appears callable (built-in).
chrReturns the string representation for a Unicode character (built-in).
classmethodTransforms a method into a class method (built-in).
clearRemove all items from the array (empty it).
compileCompile the source into a code or AST object (built-in).
countReturn the number of occurrences of x.
delattrDeletes the named attribute (built-in).
dictCreate a new dictionary object (built-in).
dirReturns a list of names in the current local scope (built-in).
divmodReturns the remainder after division operator (built-in).
enumerateReturns an enumerate object (built-in).
evalExecutes code that is evaluated as an expression (built-in).
execExecutes dynamic execution of code (built-in).
extendAppend items from an iterable or another array.
filterConstructs an iterator (built-in).
formatConverts a value to specific format (built-in).
frombyteAppend items from a bytes object, interpreted using the array's type.
fromfileRead n items (as machine values) from a file object.
fromlistAppend items from a list after type checking.
frozensetReturns a frozenset object (built-in).
getattrReturns the named attribute (built-in).
globalsReturns the dictionary implementing the current module namespace (built-in).
hasattrReturns True or False depending if the object has this attribute (built-in).
hashReturns the hash value of an object (Integer) (built-in).
helpInvoke the help system (built-in).
hexReturns the number converted to a hexadecimal string (built-in).
idReturns the identity of an object (built-in).
indexReturn the index of the first occurrence of x.
inputReturns a line from standard input (built-in).
insertInsert a new item x into the array at position i.
isoperator
isinstanceReturns True if the object is an instance of the class (built-in).
issubclassReturns True if the object is a subclass of the class (built-in).
itemsizeSize in bytes of one array item.
iterReturns an iterator object (built-in).
kdeReturns the estimated probability density distribution of the data.
lenReturns the length of an object (built-in).
listReturns a list data type (built-in).
localsReturns a mapping object representing the local symbol table (built-in).
mapReturns an iterator that applies function to every iterable (built-in).
memoryviewReturns a memoryview object (built-in).
nextReturns the next item from an iterator (built-in).
notnot operator
objectReturns the base class for all classes (built-in).
octReturns the number converted to a octal string (built-in).
openOpens a file (built-in).
oror operator
ordReturns the ordinal value of a character (built-in).
packworking with bytes
popRemove and return the item at index i (last item by default).
printPrint objects to a text stream (built-in).
propertyReturns a property attribute (built-in).
rangeReturns a sequence type (built-in).
removeRemove the first occurrence of x.
reprReturns a string containing a printable representation of an object (built-in).
reverseReverse the order of the items in place.
reversedReturns a reverse iterator (built-in).
setReturns a new set object (built-in).
setattrDefines the attribute (built-in).
sliceReturns a slice object representing the set of indices (built-in).
sortedReturns a new sorted list (built-in).
staticmethodConvert a method into a static method (built-in).
strReturns the object converted to a string (built-in).
superReturns a proxy object that delegates method calls to a parent (built-in).
tobytesConvert the array to a bytes object containing the raw machine values.
tofileWrite all items (as machine values) to a file object.
tolistConvert the array to a list of Python values.
tounicodeConvert the array with type code 'u' to a unicode string.
tupleCreate a tuple (built-in).
typeReturns the type of an object (built-in).
typecodeThe type code character used by the array.
typecodesString of all available type code characters on this build.
unpackReturns test
varsReturns an attribute for a module class (built-in).
zipIterate over several iterables in parallel (built-in).
abs
Returns the absolute value of a number as an integer (built-in).
aiter
Returns an asynchronous iterator for an asynchronous iterable (built-in).
all
Returns True if all elements of the iterable are true (built-in).
and
and operator
anext
Returns the next item from a given asynchronous iterator (built-in).
any
Returns True if any element of the iterable is true (built-in).
append
Append a new item to the end of the array.
array
Create a new array. typecode is a single character (e.g. 'b', 'i', 'f') that decides the item type.
ascii
Returns a string containing a printable representation of an object (built-in).
bin
Returns the number converted to a binary string (built-in).
bool
Returns the boolean True or False value (built-in).
breakpoint
Suspends execution and switches to the debugger (built-in).
buffer_info
Return a tuple (address, length) giving the current memory info.
bytearray
Returns a new array of bytes (built-in).
bytes
Returns a new bytes object between 0 and 256 (built-in).
byteswap
Swap the bytes of all items (endian conversion for multi-byte types).
calcsize
Returns test
callable
Returns True or False depending if the object argument appears callable (built-in).
chr
Returns the string representation for a Unicode character (built-in).
classmethod
Transforms a method into a class method (built-in).
clear
Remove all items from the array (empty it).
compile
Compile the source into a code or AST object (built-in).
count
Return the number of occurrences of x.
delattr
Deletes the named attribute (built-in).
dict
Create a new dictionary object (built-in).
dir
Returns a list of names in the current local scope (built-in).
divmod
Returns the remainder after division operator (built-in).
enumerate
Returns an enumerate object (built-in).
eval
Executes code that is evaluated as an expression (built-in).
exec
Executes dynamic execution of code (built-in).
extend
Append items from an iterable or another array.
filter
Constructs an iterator (built-in).
format
Converts a value to specific format (built-in).
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.
frozenset
Returns a frozenset object (built-in).
getattr
Returns the named attribute (built-in).
globals
Returns the dictionary implementing the current module namespace (built-in).
hasattr
Returns True or False depending if the object has this attribute (built-in).
hash
Returns the hash value of an object (Integer) (built-in).
help
Invoke the help system (built-in).
hex
Returns the number converted to a hexadecimal string (built-in).
id
Returns the identity of an object (built-in).
index
Return the index of the first occurrence of x.
input
Returns a line from standard input (built-in).
insert
Insert a new item x into the array at position i.
is
operator
isinstance
Returns True if the object is an instance of the class (built-in).
issubclass
Returns True if the object is a subclass of the class (built-in).
itemsize
Size in bytes of one array item.
iter
Returns an iterator object (built-in).
kde
Returns the estimated probability density distribution of the data.
len
Returns the length of an object (built-in).
list
Returns a list data type (built-in).
locals
Returns a mapping object representing the local symbol table (built-in).
map
Returns an iterator that applies function to every iterable (built-in).
memoryview
Returns a memoryview object (built-in).
next
Returns the next item from an iterator (built-in).
not
not operator
object
Returns the base class for all classes (built-in).
oct
Returns the number converted to a octal string (built-in).
open
Opens a file (built-in).
or
or operator
ord
Returns the ordinal value of a character (built-in).
pack
working with bytes
pop
Remove and return the item at index i (last item by default).
print
Print objects to a text stream (built-in).
property
Returns a property attribute (built-in).
range
Returns a sequence type (built-in).
remove
Remove the first occurrence of x.
repr
Returns a string containing a printable representation of an object (built-in).
reverse
Reverse the order of the items in place.
reversed
Returns a reverse iterator (built-in).
set
Returns a new set object (built-in).
setattr
Defines the attribute (built-in).
slice
Returns a slice object representing the set of indices (built-in).
sorted
Returns a new sorted list (built-in).
staticmethod
Convert a method into a static method (built-in).
str
Returns the object converted to a string (built-in).
super
Returns a proxy object that delegates method calls to a parent (built-in).
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.
tuple
Create a tuple (built-in).
type
Returns the type of an object (built-in).
typecode
The type code character used by the array.
typecodes
String of all available type code characters on this build.
unpack
Returns test
vars
Returns an attribute for a module class (built-in).
zip
Iterate over several iterables in parallel (built-in).

© 2026 Better Solutions Limited. All Rights Reserved. © 2026 Better Solutions Limited Top