I have a python file that does something. It calls into methods from a .pyc file as follows.
someFile.py
# do something
from EvaluateT.read_input_data import *
print "imported"
# do something
inputData = ReadInputData(someInputFile)
print "read"
# do something
When I call the interpreter and type the following statements,
import read_input_data
help (read_input_data)
I see the following output:
CLASSES
ReadInputData
class ReadInputData
| Methods defined here:
|
| __init__(self, inputFile)
|
| read_input_data(self)
But, when I run someFile.py, the output prints 'imported' and ignores everything after the 'inputData = ReadInputData(someInputFile)' statement. Why is this statement failing? What am I doing wrong?