No. But that is what I thought too. I named my file something like twisted_indie.py to make sure there is no conflict with names.

On Mon, Apr 21, 2008 at 2:34 PM, Christopher Armstrong <radix@twistedmatrix.com> wrote:
On Mon, Apr 21, 2008 at 11:07 AM, Ben <nebpro@gmail.com> wrote:
> Hi,
>
> I am having problem compiling twisted sample codes. It gives me "Import
> Error" errors (i.e. ImportError: No module named web.client). I really
> appreciate any suggestions. Thank you.

If it's "No module named web.client", it sounds a lot like you named a
file "twisted.py". That's a bad idea; it will conflict with the
toplevel "twisted" package. Is this what you did? If you did, make
sure you delete twisted.py and twisted.pyc.

--
Christopher Armstrong
International Man of Twistery
http://radix.twistedmatrix.com/
http://twistedmatrix.com/
http://canonical.com/

_______________________________________________
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python