Python Built in Functions


Python has a set of built-in functions.

Function Description
Returns the absolute value of a number
Returns True if all items in an iterable object are true
Returns True if any item in an iterable object is true
Returns a readable version of an object. Replaces none-ascii characters with escape character
Returns the binary version of a number
Returns the boolean value of the specified object
Returns an array of bytes
Returns a bytes object
Returns True if the specified object is callable, otherwise False
Returns a character from the specified Unicode code.
classmethod() Converts a method into a class method
Returns the specified source as an object, ready to be executed
Returns a complex number
Deletes the specified attribute (property or method) from the specified object
Returns a dictionary (Array)
Returns a list of the specified object's properties and methods
Returns the quotient and the remainder when argument1 is divided by argument2
Takes a collection (e.g. a tuple) and returns it as an enumerate object
Evaluates and executes an expression
Executes the specified code (or object)
Use a filter function to exclude items in an iterable object
Returns a floating point number
Formats a specified value
Returns a frozenset object
Returns the value of the specified attribute (property or method)
Returns the current global symbol table as a dictionary
Returns True if the specified object has the specified attribute (property/method)
hash() Returns the hash value of a specified object
help() Executes the built-in help system
Converts a number into a hexadecimal value
Returns the id of an object
Allowing user input
Returns an integer number
Returns True if a specified object is an instance of a specified object
Returns True if a specified class is a subclass of a specified object
Returns an iterator object
Returns the length of an object
Returns a list
Returns an updated dictionary of the current local symbol table
Returns the specified iterator with the specified function applied to each item
Returns the largest item in an iterable
Returns a memory view object
Returns the smallest item in an iterable
Returns the next item in an iterable
Returns a new object
Converts a number into an octal
Opens a file and returns a file object
Convert an integer representing the Unicode of the specified character
Returns the value of x to the power of y
Prints to the standard output device
property() Gets, sets, deletes a property
Returns a sequence of numbers, starting from 0 and increments by 1 (by default)
repr() Returns a readable version of an object
Returns a reversed iterator
Rounds a numbers
Returns a new set object
Sets an attribute (property/method) of an object
Returns a slice object
Returns a sorted list
staticmethod() Converts a method into a static method
Returns a string object
Sums the items of an iterator
Returns an object that represents the parent class
Returns a tuple
Returns the type of an object
Returns the __dict__ property of an object
Returns an iterator, from two or more iterators



Login
ADS CODE