Use the print statement: import re vowel = r'[aeiou]' print re.findall(vowel, r"vowel")
Alexey On Fri, Aug 8, 2008 at 2:17 PM, Atul. <[EMAIL PROTECTED]> wrote: > > > Yes. You didn't paste the traceback into your message. > > > > >>> import re > > >>> vowel = r'[aeiou]' > > >>> re.findall(vowel, r"vowel") > > > > ['o', 'e'] > > > > It works as expected here. > > > > Peter > > When I key this input in IDLE it works but when I try to run the > module it wont work. > -- > http://mail.python.org/mailman/listinfo/python-list >
-- http://mail.python.org/mailman/listinfo/python-list