1. A subfolder called "AlarmSystem" that contains two files: AlarmSystem.py and __init__.py
2. A file called "setAlarm.py" in the directory above that has this line: import AlarmSystem
If I invoke python interactively from the top level directory and type:
- Code: Select all
import AlarmSystem
The module imports fine.
If I do this from indigo-host interactively, I get:
- Code: Select all
Traceback (most recent call last):
File "<console>", line 1, in <module>
ImportError: No module named AlarmSystem
Apparently something is different about how indigo-host sets up its environment that doesn't see the module in the current directory, but I'm at a loss to determine how to proceed. Any suggestions?