regular expressions.
Atul.
atulskulkarni at gmail.com
Fri Aug 8 07:33:05 EDT 2008
On Aug 8, 4:22 pm, Peter Otten <__pete... at web.de> wrote:
> Atul. 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.
>
> What's the name of your script? What happens when you run it? Does it print
> a traceback? If so, what does it say? Please cut and paste, don't
> paraphrase.
>
> Peter
This is something get when I run it like below. it does not print any
output.
atul at atul-desktop:~/Work/work/programs$ python fourth.py
atul at atul-desktop:~/Work/work/programs$
More information about the Python-list
mailing list