M
mikefromvt
Hello.
I am very very unfamiliar with Python and need to update a Python
script. What I need to do is to replace three variables (already
defined in the script) within a string. The present script correctly
replaces two of the three variables. I am unable to add a third
variable. Specifically, I would like to add
"panoble",panoble
to the following code:
idxItemStr+=string.replace(string.replace
(idxItemTplStr,"stylenumber",stylenumber),"formalname",formalname)
and, specifically as regards
idxItemTplStr
Is this possible?
Thanks
Mike
I am very very unfamiliar with Python and need to update a Python
script. What I need to do is to replace three variables (already
defined in the script) within a string. The present script correctly
replaces two of the three variables. I am unable to add a third
variable. Specifically, I would like to add
"panoble",panoble
to the following code:
idxItemStr+=string.replace(string.replace
(idxItemTplStr,"stylenumber",stylenumber),"formalname",formalname)
and, specifically as regards
idxItemTplStr
Is this possible?
Thanks
Mike