Re: Invalid thread state for this thread

2007-05-25 Thread Martin Evans
Just in case anyone else has seen this problem, after upgrading to 2.4.4 the problem appears to have resolved itself. I know this has been seen before but it is not making too much sense (after reading many posts). It all appears to work fine but then dies after about 40 invocations. My app

Invalid thread state for this thread

2007-05-24 Thread Martin Evans
I know this has been seen before but it is not making too much sense (after reading many posts). It all appears to work fine but then dies after about 40 invocations. My app has Python embedded, it is embedded as part of a dll which initializes python and finalizes on load and unload (see

py2exe, library.zip and python.exe

2007-02-28 Thread Martin Evans
I have converted a Python script using py2exe and have it set to not bundle or compress. The result is my exe and all the support files including library.zip (exactly as planned - nice job py2exe). Question: My py2exe application needs to be able to execute extra copies of python.exe. I have

Re: py2exe, library.zip and python.exe

2007-02-28 Thread Martin Evans
Thomas Heller [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Martin Evans schrieb: I have converted a Python script using py2exe and have it set to not bundle or compress. The result is my exe and all the support files including library.zip (exactly as planned - nice job py2exe

Re: RegEx conditional search and replace

2006-07-06 Thread Martin Evans
Juho Schultz [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Martin Evans wrote: Sorry, yet another REGEX question. I've been struggling with trying to get a regular expression to do the following example in Python: Search and replace all instances of sleeping with dead

Re: RegEx conditional search and replace

2006-07-06 Thread Martin Evans
mbstevens [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Thu, 06 Jul 2006 08:32:46 +0100, Martin Evans wrote: Juho Schultz [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Martin Evans wrote: Sorry, yet another REGEX question. I've been struggling with trying to get

RegEx conditional search and replace

2006-07-05 Thread Martin Evans
Sorry, yet another REGEX question. I've been struggling with trying to get a regular expression to do the following example in Python: Search and replace all instances of sleeping with dead. This parrot is sleeping. Really, it is sleeping. to This parrot is dead. Really, it is dead. But not

Linking to Python for Windows CE

2006-01-16 Thread Martin Evans
I've just been tasked with porting our desktop embedded Python support onto our existing CE offering. I've managed to compile the Python sources and have produced an armdbg420\python23.lib file. When I come to link to the Python library though from our one of our DLLs, I am getting the

Re: Linking to Python for Windows CE

2006-01-16 Thread Martin Evans
Sorry, false alarm. It turned out one of my own files was using fopen/fclose and this was upseting things. After removing those it linked fine. Martin Evans wrote: I've just been tasked with porting our desktop embedded Python support onto our existing CE offering. I've managed to compile