Hi folks I need to know how to write the expression for string format?
mytext = "This is my text"
ret = "%s"%mytext
it works. But I need it within quote.
ret = "\"%s\"" %mytext
it works in expression as: "This is my text"
But in pyplug generated python script it creates double backslash and it doesn't load in Natron. If I delete extra backslashes it loads in Natron but the expression is not set anymore.
What to do? Please Help!