Qestion

2015-08-23 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: Qestion

2015-08-23 Thread Cameron Simpson
On 23Aug2015 09:28, Laura Creighton l...@openend.se 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

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.4.3 then

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('tr\n th class=tableField

Re: a n00b regex qestion

2007-12-03 Thread Tim Chase
I tried these this: string = string.replace('tr\s*th class=tableField One/th\s*td %FieldOneValue%/td\s*/tr', '') 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

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]) - string