Guess?!? wrote:
> Hello All,
>
> I want trying to write a program that searches all the files (
> recursively) under a given directory in the filesystem
> There are following requirments
> 1> Search for a pattern in all files in a directory
> 2> Outputing the result with a unique format ( (626)
earlylight publishing wrote:
> Hello all,
>
> I now have my bit of code in while loop form and it works! It's great
> but not exactly what I wanted to do. I've been googling my heart out
> and I find lots of info on while loops and lots of info on timers that
> will execute an action AFTER a
Hello All,
I want trying to write a program that searches all the files (recursively)
under a given directory in the filesystem for phone
numbers in the form of (626) 674-5901 and and then outputting all phone
numbers found in a unique format 626-674
(If several numbers have the same office co
bhaaluu wrote:
> On Dec 7, 2007 10:41 AM, bob gailer <[EMAIL PROTECTED]> wrote:
>
>> earlylight publishing wrote:
>>
>>> Hello all,
>>>
>>> I now have my bit of code in while loop form and it works! It's great
>>> but not exactly what I wanted to do. I've been googling my heart out
>>> an
earlylight publishing wrote:
> Hello all,
>
> I now have my bit of code in while loop form and it works! It's great
> but not exactly what I wanted to do. I've been googling my heart out
> and I find lots of info on while loops and lots of info on timers that
> will execute an action AFTER a gi
On Dec 7, 2007 2:36 PM, Scottie Hotchkiss <[EMAIL PROTECTED]> wrote:
> Disclaimer: I can't test this while I'm at work, but using
>
> "while 1:"
>
> instead of
>
> "while time.time() - start < 30.0"
>
> would be better.
>
> In the former case if you press enter after time has run out, it won't
> pr
Disclaimer: I can't test this while I'm at work, but using
"while 1:"
instead of
"while time.time() - start < 30.0"
would be better.
In the former case if you press enter after time has run out, it won't
print the time, in the latter you could potentially make a correct
answer after time has
On Dec 7, 2007 10:41 AM, bob gailer <[EMAIL PROTECTED]> wrote:
> earlylight publishing wrote:
> > Hello all,
> >
> > I now have my bit of code in while loop form and it works! It's great
> > but not exactly what I wanted to do. I've been googling my heart out
> > and I find lots of info on while
I can't recall what your initial project was. I think it was a text
adventure. I imagine that you have bigger ideas regarding timers then
your current code suggests. Maybe you should investigate a time aware
long-running process. Twisted Python is such a beast.
While I can't recommend it's use as