On Mon, Sep 20, 2010 at 11:31 AM, gervaz <ger...@gmail.com> wrote:
>    from tokenizer import HTMLTokenizer
> ImportError: No module named tokenizer

Doesn't it need to be a relative import? The syntax is a proceeding period:

from .tokenizer import HTMLTokenizer

-Aaron DeVore

-- 
You received this message because you are subscribed to the Google Groups 
"html5lib-discuss" group.
To post to this group, send an email to html5lib-disc...@googlegroups.com.
To unsubscribe from this group, send email to 
html5lib-discuss+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/html5lib-discuss?hl=en-GB.

Reply via email to