Reinventing the wheel? cgi +xhtml

maxm maxmcorp at worldonline.dk
Thu Oct 18 18:32:50 EDT 2001


"Jackson" <david.jay.jackson at wcox.com> wrote

> 2)Can I use it as module the why it's define?
> >>> import xhtml
> >>> header()
> >>> header
> Traceback (most recent call last):
>   File "<stdin>", line 1, in ?
> NameError: name 'header' is not defined

that would probably be:

import xhtml
xhtml.header()

or

from xhtml import header
header()

regards Max M





More information about the Python-list mailing list