Python regex question

2008-06-11 Thread Tim van der Leeuw
Hi, I'm trying to create a regular expression for matching some particular XML strings. I want to extract the contents of a particular XML tag, only if it follows one tag, but not follows another tag. Complicating this, is that there can be any number of other tags in between. So basically, my re

Re: xml escapedness

2008-02-23 Thread Tim van der Leeuw
On Fri, Feb 22, 2008 at 6:41 PM, Robin Becker <[EMAIL PROTECTED]> wrote: > Tim van der Leeuw wrote: > > On Fri, Feb 22, 2008 at 5:17 PM, Robin Becker <[EMAIL PROTECTED]> > wrote: > > > [...] > > > > Well -- you escape them in the save() method on

Re: xml escapedness

2008-02-22 Thread Tim van der Leeuw
On Fri, Feb 22, 2008 at 5:17 PM, Robin Becker <[EMAIL PROTECTED]> wrote: > A colleague has decided to keep his django database string values (which > are xml > fragments) in an xml escaped form to avoid having the problem of escaping > them > when they are used in templates etc etc. > > Unfortunat

Sending key-presses to other programs on Windows, and settings of controls?

2008-02-21 Thread Tim van der Leeuw
sure. Can this be done? Using the Win32-all extensions perhaps? Or perhaps with the CTypes module? Any pointers are appreciated! Kind regards, --Tim van der Leeuw -- http://mail.python.org/mailman/listinfo/python-list