I've developed a web application using Python on my development machine at home (running Mac OS X Tiger, Python 2.4.3). The time has come to "go live" and I have copied the app's folders to my host's servers (running GNU/Linux unknown Python version).
I am using Comstar's excellent HTML tool, and the error occurs when trying to import it:
Expand|Select|Wrap|Line Numbers
- from HyperText.HTML import DIV
The Python script I'm calling it from is in a folder that contains the "HyperText" folder, and within the "HyperText" folder is the "HTML.py" script I need to import. In other words the directory structure looks like this:
server/myscript.py
server/HyperText/HTML.py
I am guessing this is something to do with mod_python (as that's what my host is running). Or is it a configuration setting my host needs to change? (I don't have Python command line access on the host's server).
Can this be resolved?
Cheers,
Brendon