On Wed, 2019-04-10 at 14:52 -0600, Jim Salmons wrote:
[...]
I _think_ what you are asking is, how so i interpolate values into a string in Python.
If that is correct, then the first Google result for interpolate values into a string in Python is https://www.programiz.com/python-programming/string-interpolation
The main thing to remember is that $ and { are special in XQuery, so it can be easier to use substitution with a regular expression than direct interpolation.
https://stackoverflow.com/questions/3877623/in-python-can-you-have-variables... may also help.
If this is meaningless technobabble or i have misunderstood, please feel free to ask again but more directly.
Liam