Python import and from import

Copyright statement: This article is an original article by the blogger and may not be reproduced without the blogger's permission. https://blog.csdn.net/AgoniAngel/article/details/76408446

import ... Import a module. For functions in modules, "module.function" is required for each call.

from ... import funtion_name Directly import a function in the module, directly funtion_name() is available.
from ... import * All functions in this module can be used directly.