> Cheers for the critique I'll take you points on board .especially
> this schoolboy error
It's not an error, really. It will work. Just... not intuitive
Errors are things that do not work.
> One thing to note about the re expression is that the products are not
> these were just substitutes
ssage: 3
Date: Tue, 24 Jul 2007 14:18:46 -0500
From: "Tiger12506" <[EMAIL PROTECTED]>
Subject: Re: [Tutor] Text matching and replacing
To:
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; format=flowed; charset="iso-8859-1";
reply-type=original
def findTestDirectories(path):
os.chdir(path)
directory_listing = os.listdir(os.getcwd())
--
Change this to
directory_listing = os.listdir(path)
Why look up the current directory when you have *just* set what it is?
test_record_directories = []
fo
Hi
I have implemented some functionality that now forces test records to be
stored against the product they were run against. This is fine however
it was apparent that we needed to bring the legacy records in line with
new format. So I wrote a script that went through each test record and
append
heh... forwarding to the list, too.
-- Forwarded message --
From: Jason Massey <[EMAIL PROTECTED]>
Date: May 15, 2007 6:51 AM
Subject: Re: [Tutor] Text matching
To: "Gardner, Dean" <[EMAIL PROTECTED]>
Look at it a different way. If the one thing that is s
+ logTextFile
> os.system(commandline)
>
> Dean Gardner
> Test Engineer
> Barco
> Bonnington Bond, 2 Anderson Place, Edinburgh EH6 5NP, UK
> Tel + 44 (0) 131 472 5731 Fax + 44 (0) 131 472 4799
> www.barco.com
> [EMAIL PROTECTED]
>
>
> -Original
os.system(commandline)
Dean Gardner
Test Engineer
Barco
Bonnington Bond, 2 Anderson Place, Edinburgh EH6 5NP, UK
Tel + 44 (0) 131 472 5731 Fax + 44 (0) 131 472 4799
www.barco.com
[EMAIL PROTECTED]
-----Original Message-
From: Kent Johnson [mailto:[EMAIL PROTECTED]
Sent: 04 May 20
Gardner, Dean wrote:
>
> So here it isit might not be pretty (it seems a bit un-python like
> to me) but it works exactly as required. If anyone can give any tips for
> possible optimisation or refactor I would be delighted to hear from
> them.
>
> Thanks
>
> uid = self.item.Uid()
er
Barco
Bonnington Bond, 2 Anderson Place, Edinburgh EH6 5NP, UK
Tel + 44 (0) 131 472 5731 Fax + 44 (0) 131 472 4799
www.barco.com
[EMAIL PROTECTED]
-Original Message-
From: Kent Johnson [mailto:[EMAIL PROTECTED]
Sent: 03 May 2007 14:39
To: Gardner, Dean
Cc: tutor@python.org
Subject: Re: [
:[EMAIL PROTECTED]
Sent: 03 May 2007 14:39
To: Gardner, Dean
Cc: tutor@python.org
Subject: Re: [Tutor] Text matching
Gardner, Dean wrote:
> Here is a test sample of what I have: This currently correctly
> identifies the start and the end of the changelog entries and I can
> identify the
Gardner, Dean wrote:
> Here is a test sample of what I have: This currently correctly
> identifies the start and the end of the changelog entries and I can
> identify the requested item records. What I am struggling with at
> present is to how to create records of the full changelog entries for
> e
.com
[EMAIL PROTECTED]
-Original Message-
From: Kent Johnson [mailto:[EMAIL PROTECTED]
Sent: 03 May 2007 13:46
To: Gardner, Dean
Cc: tutor@python.org
Subject: Re: [Tutor] Text matching
Gardner, Dean wrote:
> Hi Folks
>
> I wish to isolate certain changelog ent
Gardner, Dean wrote:
> Hi Folks
>
> I wish to isolate certain changelog entries and display them to the
> user, for example:
>
> Changelog.txt
>
> --Some Module --
> M 000751 - Title
>> what was amended
> Reviewed by: Someone
>
> For this text file I wish to find all entries
Hi Folks
I wish to isolate certain changelog entries and display them to the
user, for example:
Changelog.txt
--Some Module --
M 000751 - Title
> what was amended
Reviewed by: Someone
--Some Module --
A 000752 - Title
> what was amended
Reviewed by: Someone
---
14 matches
Mail list logo