Twisted Selector

Steve Holden sholden at holdenweb.com
Wed Feb 6 13:29:06 EST 2002


"Lee Harr" <missive at frontiernet.net> wrote ...
> 
> I am looking at this Twisted tutorial:
> http://twistedmatrix.com/page.epy/philosophy.html
> and having trouble with the very first code.
> 
> >>> from twisted import threadable
> ImportError: cannot import name threadable
> >>> from twisted.python import threadable
> >>>
> >>> from twisted import internet
> >>> selector = internet.Selector()
> AttributeError: 'twisted.internet' module has no attribute 'Selector'
> 
> Ok, I was able to get past the first problem. Looks like since
> Twisted-0.9.0 when the tutorial was written, they refactored
> threadable into a subdirectory, but I grepped the whole distribution
> and see nothing called Selector anywhere.
> 
> This is with Twisted-0.15.0, but I went back in time to 
> Twisted-0.12.3 and still nothing called Selector.
> 
> The ChangeLog does not mention Selector either.
> 
> Anyone have any ideas?
> 
Moshe? Glyph?

regards
 Steve
-- 
Consulting, training, speaking: http://www.holdenweb.com/
Author, Python Web Programming: http://pydish.holdenweb.com/pwp/

"This is Python.  We don't care much about theory, except where it
intersects with useful practice."  Aahz Maruch on c.l.py







More information about the Python-list mailing list