> 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