Introduction to two built in modules in Python

  • 2020-05-05 11:26:00
  • OfStack

Using Python after a period of time, can say is the basic unit of Python module, we usually use in the use of modules by import statement to import it, but we are not import any module, we can use some of these functions: int (), str (), len (), range (), and the use of try except statements to catch exceptions, so this is where you come from?

basic

Since Python automatically imports the built in modules of s 22en__ and s 23en at startup, enabling any program to use them, these should be the most important modules in the Python language.

extends

Some insight into the implementation of these two modules :
__builtin__
exceptions


Related articles: