Symbiotic Computing : expanding personal capabilities via computing
Sunday, June 30, 2013
Add modules by specific path - e.g. for testing
import sys
sys.path.append('..') # add path to module, in this case the parent directory
import some_module
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment