[Tutor] Printing HTML files

2007-09-10 Thread Gardner, Dean
Hi I am currently trying to print out a html file that is essentially a summary table and I am running into problems. From the link below it seems that the method I am using to print the table doesn't handle column width and wrapping but confusingly we use a similar method elsewhere in the code a

Re: [Tutor] Text matching and replacing

2007-07-25 Thread Gardner, Dean
Cheers for the critique I'll take you points on board .especially this schoolboy error 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

[Tutor] Text matching and replacing

2007-07-24 Thread Gardner, Dean
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

Re: [Tutor] Regular Expression help

2007-06-29 Thread Gardner, Dean
] Sent: 27 June 2007 14:55 To: tutor@python.org; Gardner, Dean Subject: Re: [Tutor] Regular Expression help Gardner, Dean wrote: > Hi > > I have a text file that I would like to split up so that I can use it > in Excel to filter a certain field. However as it is a flat text file > I

[Tutor] Regular Expression help

2007-06-27 Thread Gardner, Dean
Hi I have a text file that I would like to split up so that I can use it in Excel to filter a certain field. However as it is a flat text file I need to do some processing on it so that Excel can correctly import it. File Example: tag descVR VM (0012,0042) Cl

Re: [Tutor] Text matching

2007-05-15 Thread Gardner, Dean
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

Re: [Tutor] Text matching

2007-05-04 Thread Gardner, Dean
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: [

Re: [Tutor] Text matching

2007-05-03 Thread Gardner, Dean
:[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

Re: [Tutor] Text matching

2007-05-03 Thread Gardner, Dean
.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

[Tutor] Text matching

2007-05-03 Thread Gardner, Dean
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 ---

[Tutor] (no subject)

2006-11-24 Thread Gardner, Dean
Hi I was wondering if anyone knew how to control the desktop resolution via python. I have investigated pygame which seems to allow you acces to video settings but it appears to only influence a window rather than the system (I may be totally wrong about this though) What I ideally need is a

Re: [Tutor] Win32Com.client help

2006-07-20 Thread Gardner, Dean
r and complete transmission of this information, nor does it accept liability for any delays. If you have received this message in error, please contact the sender and delete the message. Thank you. -Original Message- From: Bob Gailer [mailto:[EMAIL PROTECTED]] Sent: 18 July 2006 18:4

[Tutor] Win32Com.client help

2006-07-18 Thread Gardner, Dean
Title: Win32Com.client help Hi I have been looking at simple examples of controlling applications like excel and word using python. All seems well until I read in a word document with multiple lines. It then seems to pick out seemingly random sections of the document to display. This is