Re: Qestion

2015-08-23 Thread Cameron Simpson
On 23Aug2015 09:28, Laura Creighton wrote: In a message of Sat, 22 Aug 2015 06:53:21 -, ali ranjbar writes: I have python version 2.4.3 Which version of PIL is appropriate for me and how can I add it to my systems? If you really have python 2.4.3 then you badly need a newer Python. If h

Re: Qestion

2015-08-23 Thread Laura Creighton
In a message of Sat, 22 Aug 2015 06:53:21 -, ali ranjbar writes: >hi dear friend > >I have python version 2.4.3 > >Which version of PIL is appropriate for me and how can I add it to my systems? > >Regards > >-- >https://mail.python.org/mailman/listinfo/python-list If you really have python 2.

Qestion

2015-08-22 Thread ali ranjbar
hi dear friend I have python version 2.4.3 Which version of PIL is appropriate for me and how can I add it to my systems? Regards -- https://mail.python.org/mailman/listinfo/python-list

Re: a n00b regex qestion

2007-12-03 Thread Tim Chase
> I tried these this: > > string = string.replace('\s*Field One\s* > %FieldOneValue%\s*', '') > > > But this doesn't work. The doco for Python's regex suggests that \s > should match any whitespace including newlines which is what I > wanted, from http://docs.python.org/lib/module-re.html "

Re: a n00b regex qestion

2007-12-03 Thread Bruno Desthuilliers
[EMAIL PROTECTED] a écrit : > I am doing a string.replace in a simple table generation app I wrote, > and I can't figure out how to match whitespace with /s, Hahem... Where did you get the idea that str.replace would work with regexps ? """ replace(...) S.replace (old, new[, count]) -> st

a n00b regex qestion

2007-12-03 Thread nuffnough
I am doing a string.replace in a simple table generation app I wrote, and I can't figure out how to match whitespace with /s, so I thought I would see if osmeone where would be kind enough to tell me what I am getting wrong. This works: string = string.replace('\n Field One \n %Field