Re: python replace/sub/wildcard/regex issue

2010-01-19 Thread dippim
On Jan 18, 11:04 pm, tom wrote: > hi... > > trying to figure out how to solve what should be an easy python/regex/ > wildcard/replace issue. > > i've tried a number of different approaches.. so i must be missing > something... > > my initial sample text are: > > Soo ChoiLONGEDITBOX">Apryl Berney >

Re: implementing descriptors

2009-08-14 Thread dippim
On Aug 14, 10:48 am, Dave Angel wrote: > dippim wrote: > > On Aug 14, 2:34 am, Raymond Hettinger wrote: > > >> [David] > > >>> I am new to Python and I have a question about descriptors.  If I have > >>> a class as written below, is there a way

Re: implementing descriptors

2009-08-14 Thread dippim
On Aug 14, 10:48 am, Dave Angel wrote: > dippim wrote: > > On Aug 14, 2:34 am, Raymond Hettinger wrote: > > >> [David] > > >>> I am new to Python and I have a question about descriptors.  If I have > >>> a class as written below, is there a way

Re: implementing descriptors

2009-08-14 Thread dippim
On Aug 14, 2:34 am, Raymond Hettinger wrote: > [David] > > > > > I am new to Python and I have a question about descriptors.  If I have > > a class as written below, is there a way to use descriptors to be > > certain that the datetime in start is always before the one in end? > > > class foo(obje

Re: implementing descriptors

2009-08-14 Thread dippim
On Aug 14, 5:45 am, Jean-Michel Pichavant wrote: > Emile van Sebille wrote: > > On 8/13/2009 3:17 PM dippim said... > >> I am new to Python and I have a question about descriptors.  If I have > >> a class as written below, is there a way to use descriptors to be > &

implementing descriptors

2009-08-13 Thread dippim
I am new to Python and I have a question about descriptors. If I have a class as written below, is there a way to use descriptors to be certain that the datetime in start is always before the one in end? class foo(object): def __init__(self,a = None,b = None) self.start = a self.en