1. Ultimate Reference to Python Built-in Functions

The functional paradigm of Python programming makes functions of key importance, which assist the developers in performing several tasks conveniently. Numerous built-in Python functions come pre-loaded with the language resource. The table below contains all the built-in functions in Python language and serves as an ultimate and up-to-date guide or reference and categorizes these functions into various groups depending upon their functionality.

Tutorial Contents:

  1. Ultimate Reference to Built-in Python Functions
  2. All Built-in Functions
  3. Reference Links

2. Search Ultimate Reference For Python Built-in Functions

Search Python built-in functions from the below list, which is an ultimate and up-to-date guide or reference, for the developers. You can also use the buttons to filter the functions based on their display value.

2.1. Alphabetical Reference

Function Description
abs() It returns an absolute value of an integer.
all() Returns True if all items in an iterable object are true.
anext() The async variant of next() returns the next item.
any() Returns True if any item in an iterable object is true.
ascii() It returns a readable version of an object and replaces non-ASCII characters with escape characters.
bin() Converts an integer to a binary string prefixed with 0b.
bool() It returns the boolean value of the specified object.
breakpoint() It drops you into the debugger at the call site.
bytearray() Returns a new array of bytes.
bytes() Returns a bytes object which is an immutable sequence of integers.
callable() If the specified object is callable, this function returns True.
chr() The inverse of ord() function converts a Unicode code into its equivalent character.
classmethod() Converts a method into a class method.
compile() It returns the source into an executable object.
complex() Returns a complex number.
delattr() Deletes the specified attribute (property or method) from the specified object, provided the object allows it.
dict() It returns a dictionary (Array) of the iterable.
dir() Returns a list of the specified object's properties and methods in the current scope.
divmod() It takes two arguments and returns the quotient and the remainder when argument1 is divided by argument2.
enumerate() Takes a collection (e.g. a tuple) and returns it as an enumerate object.
eval() It evaluates and executes an expression.
exec() It provides dynamic execution of Python code.
filter() Use a filter function to exclude items in an iterable object.
float() It returns a floating point number.
format() Converts a value to a formatted representation.
frozenset() It returns a frozenset object, optionally with elements taken from iterable.
getattr() Returns the value of the named attribute (property or method) of an object.
globals() Returns the current global symbol table as a dictionary.
hasattr() If the specified object has the specified attribute (property/method), it returns True.
hash() It returns the hash value of a specified object.
help() This function executes the built-in help system of Python to find help about any module, function, class, method, keyword, or documentation topic.
hex() Converts a number into a lowercase hexadecimal string prefixed with 0x.
id() Returns the identity of an object.
input() To get input from the user, use this built-in Python function.
int() It returns an integer object constructed from a number or a string.
isinstance() Returns True if a specified object is an instance of a specified object.
issubclass() Returns True if a specified class is a subclass of a specified object.
iter() It returns an iterator object.
len() To get the length of an object, use this function.
list() It returns a list, which is a mutable sequence type.
locals() It returns an updated dictionary of the current local symbol table.
map() Returns the specified iterator with the specified function applied to each item of the iterable.
max() It returns the largest item in an iterable.
memoryview() Returns a memory view object created from the given argument.
min() To get the smallest item in an iterable, use this function.
next() Returns the next item in an iterable.
object() Creates a new featureless object.
oct() Converts an integer to an octal string prefixed with 0o.
open() It opens a file and returns a corresponding file object.
ord() Prints the Unicode equivalent of a character.
pow() It calculates the exponential power of a number.
print() Prints objects to the standard output stream file.
property() It can get, set, or delete a property.
range() It is an immutable sequence type that returns a sequence of numbers.
repr() It returns a printable alternate or version of an object.
reversed() Returns a reversed iterator, which supports sequence protocol.
round() Rounds a number to ndigits precision after the decimal.
set() Returns a new set object optionally with items taken from the iterable.
setattr() It is a counterpart of getattr() and sets an attribute (property/method) of an object.
slice() Returns a slice object representing the set of indices.
sorted() It returns a sorted list from the items in an iterable.
staticmethod() Converts a method into a static method.
str() It returns the string version of an object.
sum() Sums the items of an iterator.
super() It returns a proxy object that delegates method calls to the parent or sibling class of type.
tuple() Returns a tuple, an immutable sequence type.
type() Returns the type of an object.
vars() It returns the __dict__ property of a module, class, instance, or any other object.
zip() Iterates on several iterables producing tuples with an item from each one.
__import__() Invoked by the import statement and provides a way to dynamically import a module.

3. Reference Links

For this reference tutorial, we searched and filtered the resources below to write up the clear, up-to-date, and ultimate guide to Python built-in functions.

  • We utilized W3schools.com as a reference to build up this ultimate guide of all Python built-in functions.
  • Also, we consulted Python official reference to finalize our list of Built-in functions.
Give Us Your Feedback
If You Need Any Help!
Contact Us