i renamed site.py to site_obj.py and my import and statement.
everything is working now. Thank you guys very very much.
shawn
On 10/26/06,
Danny Yoo <[EMAIL PROTECTED]> wrote:
Hi Shawn,
It looks like people have identified the problem, that your site.py module
isn't being found because it conflicts with something from Python's
Standard Library.
This isn't the first time this kind of problem has hit people. This
problem is well known and is the subject of a Python Enhancement Proposal
(PEP 328). If you're using Python 2.5, you can use a new feature called
'absolute_import' to avoid the import problem. See:
http://docs.python.org/whatsnew/pep-328.html
for more details.
In the meantime, if you can't depend on using Python 2.5 yet, just rename
your site.py module to something else to avoid the collision between
Python's own site.py module and your own.
_______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor