are there any python users out there? i have the following task that would
be so doable in perl unfortunately i have to do it in python.

var_a = "http://127.0.0.1/email/logout"
var_b = "http://www.lazygirl.com"
var_a = re.sub("http://127.0.0.1", var_b, var_a)

python will not let me us a var_b as a substitution string even if i do
var_a = re.sub("http://127.0.0.1", "%s", var_a) % var_b

does anyone know how to get around this?

-tricia

#-----------
Tricia Bowen
Applications Engineer
Starmedia Network
v: 212.520.6469
m: 917.578.3425






************
[EMAIL PROTECTED]   http://www.linuxchix.org

Reply via email to