__main__ is taken by pyExcelerator
Status: Alpha
Brought to you by:
rvk
I've noticed that after:
from pyExcelerator import *
sys.modules['__main__'] will return some pyExcelarotr object.
I am not sure if this is a bug, my scripts relying on introspection getattr on sys.modules['__main__'] does not work due this anymore.
Try xlwt (fork of pyExcelerator with bug fixes and enhancements). It doesn't have the bug/feature that you mention. See www.python-excel.org for details.