1

I have the code:

var=red
CC1=root.findall('*/node[@color="keyword"]')

How can I use value of "var"(i.e exp) in 'keyword'? CC1 syntax was in ElementTree XML API

pinegulf
  • 1,334
  • 13
  • 32

0 Answers0