- Python Built-in Functions
- Python All Built-in Functions
- Python print() Function
- Python input() Function
- Python int() Function
- Python float() Function
- Python len() Function
- Python range() Function
- Python str() Function
- Python ord() Function
- Python chr() Function
- Python ascii() Function
- Python pow() Function
- Python type() Function
- Python List Functions
- Python list() Function
- Python insert() Function
- Python append() Function
- Python extend() Function
- Python pop() Function
- Python remove() Function
- Python reverse() Function
- Python sort() Function
- Python sorted() Function
- Python Dictionary Functions
- Python dict() Function
- Python update() Function
- Python get() Function
- Python keys() Function
- Python setdefault() Function
- Python fromkeys() Function
- Python items() Function
- Python popitem() Function
- Python Tuple Function
- Python tuple() Function
- Python Set Functions
- Python set() Function
- Python frozenset() Function
- Python String Functions
- Python split() Function
- Python join() Function
- Python format() Function
- Python replace() Function
- Python Iterator Functions
- Python iter() Function
- Python min() Function
- Python max() Function
- Python sum() Function
- Python count() Function
- Python index() Function
- Python copy() Function
- Python clear() Function
- Python next() Function
- Python filter() Function
- Python enumerate() Function
- Python zip() Function
- Python reversed() Function
- Python Number Functions
- Python abs() Function
- Python bin() Function
- Python oct() Function
- Python hex() Function
- Python round() Function
- Python divmod() Function
- Python complex() Function
- Python File Handling Functions
- Python open() Function
- Python read() Function
- Python readable() Function
- Python readline() Function
- Python readlines() Function
- Python write() Function
- Python writable() Function
- Python writelines() Function
- Python close() Function
- Python seek() Function
- Python tell() Function
- Python flush() Function
- Python fileno() Function
- Python truncate() Function
- Python Class Functions
- Python object() Function
- Python property() Function
- Python getattr() Function
- Python setattr() Function
- Python hasattr() Function
- Python delattr() Function
- Python classmethod() Function
- Python staticmethod() Function
- Python issubclass() Function
- Python super() Function
- Python Misc Functions
- Python all() Function
- Python any() Function
- Python isatty() Function
- Python bool() Function
- Python callable() Function
- Python globals() Function
- Python locals() Function
- Python dir() Function
- Python id() Function
- Python isinstance() Function
- Python map() Function
- Python repr() Function
- Python slice() Function
- Python vars() Function
- Python Advance Functions
- Python help() Function
- Python hash() Function
- Python breakpoint() Function
- Python bytes() Function
- Python bytearray() Function
- Python memoryview() Function
- Python compile() Function
- Python eval() Function
- Python exec() Function
- Python Tutorial
- Python Tutorial
- Python Examples
- Python Examples
Python Built-in Functions
Since Python is a "time-effective" or "time-efficient" language. That is why, Python provides a lot of built-in functions that are pre-defined and can be used in the program to save a lot of time in doing the task.
Note: Each and every built-in functions defined here, includes at least one example program. Programs provided as example, are well-tested and executed.
List of All Built-in Functions in Python
Here are the list of built-in functions available in Python. If you want to learn any particular built-in function, then click on that function, otherwise continue following the Next Function button given below, for each built-in function article, to learn all built-in functions, one by one.
- abs()
- all()
- any()
- append()
- ascii()
- bin()
- bool()
- breakpoint()
- bytearray()
- bytes()
- callable()
- chr()
- classmethod()
- clear()
- close()
- compile()
- complex()
- copy()
- count()
- delattr()
- dict()
- dir()
- divmod()
- enumerate()
- eval()
- exec()
- extend()
- fileno()
- filter()
- float()
- flush()
- format()
- fromkeys()
- frozenset()
- getattr()
- get()
- globals()
- hasattr()
- hash()
- help()
- hex()
- id()
- index()
- input()
- insert()
- int()
- isatty()
- isinstance()
- issubclass()
- items()
- iter()
- join()
- keys()
- len()
- list()
- locals()
- map()
- max()
- memoryview()
- min()
- next()
- object()
- oct()
- open()
- ord()
- pop()
- popitem()
- pow()
- print()
- property()
- range()
- readable()
- read()
- readline()
- readlines()
- remove()
- replace()
- repr()
- reversed()
- reverse()
- round()
- seek()
- setattr()
- setdefault()
- set()
- slice()
- sorted()
- sort()
- split()
- staticmethod()
- str()
- sum()
- super()
- tell()
- truncate()
- tuple()
- type()
- update()
- vars()
- writeable()
- write()
- writelines()
- zip()
How Python built-in Functions Saves Time ?
For example, let's suppose we need a code in Python, to convert decimal to binary. Therefore, to save our time in writing unwanted number of statements, just use bin() function to do the job, as shown in the example given below:
x = 2454 b = bin(x) print(b)
The output is:
0b100110010110
As you can see, the decimal number stored in x, is directly converted into its equivalent binary value using, of course, the function bin(). Imagine how much of your time is saved to write self-defined code to do the same task.
One of my friend uses built-in functions, most of the time because of his slow typing speed. I mean seriously 😀
One More Thing - Some built-in functions is necessary to learn such as print(), input(), read(), close() etc. to achieve its respective functions (works). Because, we can not create self-defined code for the task, these functions used for.
« Python Tutorial Next Function »