On Jun 27, 10:45 am, [EMAIL PROTECTED] wrote:
> On Jun 26, 5:12 pm, John Machin <[EMAIL PROTECTED]> wrote:
>
>
>
> > On Jun 27, 10:01 am, [EMAIL PROTECTED] wrote:
>
> > > >You may like to read this:http://www.amk.ca/python/howto/regex/
>
> > > This is a good resource. Thank you.
> > > Someone else
On Jun 26, 5:12 pm, John Machin <[EMAIL PROTECTED]> wrote:
> On Jun 27, 10:01 am, [EMAIL PROTECTED] wrote:
>
> > >You may like to read this:http://www.amk.ca/python/howto/regex/
>
> > This is a good resource. Thank you.
> > Someone else pointed out that I needed to change the
>
> > if reCheck == "
On Jun 27, 10:01 am, [EMAIL PROTECTED] wrote:
> >You may like to read this:http://www.amk.ca/python/howto/regex/
>
> This is a good resource. Thank you.
> Someone else pointed out that I needed to change the
>
> if reCheck == "None":
>
> to
>
> if reCheck == None: # removed the "s
"Somebody els
>You may like to read this: http://www.amk.ca/python/howto/regex/
This is a good resource. Thank you.
Someone else pointed out that I needed to change the
if reCheck == "None":
to
if reCheck == None: # removed the "s
This worked great! Thanks!
--JM
--
http://mail.python.org/mailman/listin
On Jun 27, 8:31 am, [EMAIL PROTECTED] wrote:
> Hi -
>
> I need help capturing the output of a RegEx search.
> I dont understand why this conditional fails.
>
> Here is the code:
>
> #= start snip
> ==
> #!/usr/local/bin/python
>
>
Hi -
I need help capturing the output of a RegEx search.
I dont understand why this conditional fails.
Here is the code:
#= start snip
==
#!/usr/local/bin/python
import os
import re
dirName = '/home/user/bin/logs'
os.chdir(dir