Hi guys,
Thank you all for your input! It was good to see so much convergence in the
approach! Again, I think that it speaks loudly for the concise way of doing
thins in Python... Anyway, I have typed in all of the solutions and have
gained a great understanding of how to do this in future.
On Wed, 13 Jul 2005 03:47:07 +0800, Ric Da Force [EMAIL PROTECTED] wrote:
Hi guys,
Thank you all for your input! It was good to see so much convergence in the
approach! Again, I think that it speaks loudly for the concise way of doing
thins in Python... Anyway, I have typed in all of the
Ric Da Force wrote:
Hi guys,
Thank you all for your input! It was good to see so much convergence in the
approach!
Just for divergence, you can also do this with regular expressions:
import re
re.sub((.*),(.*), r\1 and\2, C1, C2, C3)
'C1, C2 and C3'
Alan.
--