A simple question string.replace
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.python archive

A simple question string.replace

From: Haibao Tang <tanghaibao@gmail.com>
Date: Tue Jan 31 2006 - 05:23:07 CET

I have a two-column data file like this
1.1 2.3
2.2 11.1
4.3 1.1
...
Is it possible to substitue all '1.1' to some value else without using
re.

Thanks.
Received on Tue Feb 7 20:18:51 2006