![]() |
Available news archives:
comp.lang.tcl
-
comp.lang.python
-
comp.security.firewalls
-
sci.crypt -
comp.lang.php -
comp.lang.javascript
|
|
comp.lang.python archiveRe: Replacing last comma in 'C1, C2, C3' with 'and' so that it reads'C1, C2 and C3'
From: Alan Green <alan.green@gmail.com>
Date: Tue Jul 12 2005 - 22:54:33 CEST
Ric Da Force wrote:
Just for divergence, you can also do this with regular expressions:
>>> import re
Alan.
|