[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

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

[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

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 need to do some

[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)

Re: [Tutor] Text matching

2007-05-15 Thread Gardner, Dean
www.barco.com [EMAIL PROTECTED] -Original Message- From: Kent Johnson [mailto:[EMAIL PROTECTED] Sent: 04 May 2007 11:26 To: Gardner, Dean Cc: tutor@python.org Subject: Re: [Tutor] Text matching Gardner, Dean wrote: So here it isit might not be pretty (it seems a bit un-python like to me

Re: [Tutor] Text matching

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

[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 Tag -- M 000751 - Title what was amended Reviewed by: Someone --Some Module Tag -- A 000752 - Title what was amended Reviewed by:

Re: [Tutor] Text matching

2007-05-03 Thread Gardner, Dean
- 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 entries and display them to the user, for example: Changelog.txt

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 requested item

[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
- From: Bob Gailer [mailto:[EMAIL PROTECTED]] Sent: 18 July 2006 18:45 To: Gardner, Dean Cc: tutor@python.org Subject: Re: [Tutor] Win32Com.client help Gardner, Dean wrote: Hi I have been looking at simple examples of controlling applications like excel and word using python. All seems well

[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