Wednesday, 18 September 2013

How to properly write the import statement

How to properly write the import statement

How do I properly write something like this:
from ../lib.model import mymodel
Here is the tree:
lib----->model---->mynodel.py
|
|----->myscript--->myscript.py

No comments:

Post a Comment