I have following files in same folder: config.py, init.py, asc.py and mainfile.py
contents of init.py file:
from mainfile import *
config and asc files are imported in mainfile.py.
I am creating html using pydoc as:
python -m pydoc -w mainfile.py
I am getting error as:
<type 'exceptions.ImportError'>: No module named config
If i will remove config, it works fine and html gets created but does not work with config file.
What is the problem?
config.pyvalid? Does it contain syntax errors or missing dependencies? Can you import it in an application or interactive session?