I\'m developing/testing a package in my local directory. I want to import it in the interpreter (v2.5), but sys.path does not include the current directory. Right now I type
Using sys.path should include current directory already.
sys.path
Try:
import .
or:
from . import sth
however it may be not a good practice, so why not just use:
import mypackage