I am trying to do an import in python from one directory level up.
import sys sys.path.append(\'..\') from cn_modules import exception
I g
i did nothing but to add header in the beginning
#!/usr/bin/env python
that fixed my problem... maybe it will help somebody who is new just like me