I managed to get a version of the datetime module in Python and used in my
package. It works fine.
Thanks
Johan
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Hansen, Mike
Sent: Tuesday, 9 September 2008 7:14 AM
To: tutor@python.org
Subject: Re: [Tutor]
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Kent Johnson
> Sent: Saturday, September 06, 2008 7:08 AM
> To: [EMAIL PROTECTED]
> Cc: tutor@python.org
> Subject: Re: [Tutor] Support for datetime module
>
> On Sat, Sep 6, 2008 at 2:42 AM, Joh
Rick Rune wrote:
I'm looking to create a Python timed infinite loop (run foo, wait 1min,
run foo) that will monitor if a particular program is running under
Win32, and if it is not running to execute it. Can someone point me in
the right direction to look?
WMI. Example of sort here:
http://
I'm looking to create a Python timed infinite loop (run foo, wait 1min, run
foo) that will monitor if a particular program is running under Win32, and
if it is not running to execute it. Can someone point me in the right
direction to look?
Thanks,
-Rick
___
Thanks Paul, this looks like just what I need to reformat PRECESS's
output into what I need.
Thanks,
Jerry
Paul McGuire wrote:
Instead of trying to match on the weird characters, in order to remove them,
here is a pyparsing program that ignores those header lines and just
extracts the interest
Instead of trying to match on the weird characters, in order to remove them,
here is a pyparsing program that ignores those header lines and just
extracts the interesting data for each section.
In a pyparsing program, you start by defining what patterns you want to look
for. This is similar to th
Kent Johnson wrote:
On Mon, Sep 8, 2008 at 2:46 AM, J. Van Brimmer <[EMAIL PROTECTED]> wrote:
I have a legacy program at work that outputs a text file with this header:
ÉÍÍ»
º Radio Source Precession Program º
º by J
On Mon, Sep 8, 2008 at 9:21 AM, Roy Khristopher Bayot
<[EMAIL PROTECTED]> wrote:
> Hi. It worked.
:-)
class LightsHandle(Parallel):
> ... def __init__(self):
> ... Parallel.__init__(self)
> ... def __del__(self):
> ... Parallel.__del__(self)
These two methods
This sure was tricky business, but it's working. Thanks to all who
participated.
Now if I can my "tutor" posting problem squared away!
Kent Johnson wrote:
On Sun, Sep 7, 2008 at 11:27 PM, Wayne Watson
<[EMAIL PROTECTED]> wrote:
Well, maybe. Here's the file the change and result
Hi. It worked.
>>> class LightsHandle(Parallel):
... def __init__(self):
... Parallel.__init__(self)
... def __del__(self):
... Parallel.__del__(self)
... def setLatch(self, x, y, z):
... self.setDataStrobe(x)
... print 'Data Strobe set.
On Mon, Sep 8, 2008 at 2:46 AM, J. Van Brimmer <[EMAIL PROTECTED]> wrote:
> I have a legacy program at work that outputs a text file with this header:
>
> ÉÍÍ»
> º Radio Source Precession Program º
> º by John B. Doe º
> º
On Sun, Sep 7, 2008 at 11:27 PM, Wayne Watson
<[EMAIL PROTECTED]> wrote:
> Well, maybe. Here's the file the change and results:
>
> # Using datetime to do date-time math on a file date-time stamp and
> # the creating the new stamp
> from datetime import datetime, timedelta
>
> Traceback (most recen
Hello,
I'm looking for someone to help on a short contract to build a
centralised blogging system. I want a planet-style aggregation of
blogs, but with the ability to see and make comments on each
individual blog, from the central planet page.
Ideally, it would also have a little 'icon' mug-shot
13 matches
Mail list logo