Using the relative import mechanism, how to import a module from a parent directory in Python 3?

前端 未结 0 499
闹比i
闹比i 2021-01-21 10:22

I have a file hierarchy of a python package, "try_from_import", like this:

.
├── __init__.py
├── fibo.py
└── test
    └── __init__.py

W

相关标签:
回答
  • 消灭零回复
提交回复
热议问题