I'm trying to call a class from another file in enthought canopy. I have tried the following:
import sys
import os
a = sys.path.append(os.path.abspath("C:\Users\cost9\OneDrive\Documents\PYTHON\1111\Get_goog_data.py"))
from a import *
ImportError: No module named a
I've also tried:
import os
a = os.system("pC:\Users\cost9\OneDrive\Documents\PYTHON\1111\Get_goog_data.py")
from a import *
Same error. Can anyone help here?