Relative path and absolute path imported by python

Absolute path: Start writing from the outermost layer of the package until you find the corresponding content.
Relative path: Start with a dot. Note that modules imported using absolute paths cannot be used as startup modules. The import of startup modules should use relative paths.

Guess you like

Origin blog.csdn.net/weixin_43297727/article/details/115307443