Python Import Question
I have a custom package and I am having impo开发者_如何转开发rt problems. The module structure is like this:
- BaseModule
- Exchange
- Communications
- DeviceComm
I am trying to import the Exchange
module into the DeviceComm
module. How do I do that?
Use Intra-package references:
from .. import Exchange
精彩评论