Subash Chandran posted: "import os,sys,inspect currentdir = os.path.dirname(os.path.abspath(inspect.getfile(inspect.currentframe()))) parentdir = os.path.dirname(currentdir) sys.path.insert(0,parentdir) import mymodule OR import os, sys sys.path.insert(1, os.getcwd()) impo"
|

No comments:
Post a Comment
Note: Only a member of this blog may post a comment.