1

I have a custom package and I am having import 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?

asked Aug 13, 2011 at 21:00

1 Answer 1

1

Use Intra-package references:

from .. import Exchange
answered Aug 13, 2011 at 21:03
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.