AttributeError in re.findAll ?
Shagshag13
shagshag13 at yahoo.fr
Fri Jul 26 13:03:26 EDT 2002
"Fernando Perez" <fperez528 at yahoo.com> a écrit dans le message de news: ahru87$6e6$2 at peabody.colorado.edu...
> Shagshag13 wrote:
>
> >>>> p.findAll(t2)
> > Traceback (most recent call last):
> > File "<pyshell#28>", line 1, in ?
> > p.findAll(t2)
> > AttributeError: findAll
> >
>
> In [1]: p = re.compile("<[^>]*>")
>
> In [2]: p.f
> p.findall p.finditer
>
>
> spelling.
>
> f
<ashamed> sorry & thanks </ashamed>
s13.
More information about the Python-list
mailing list