This is probably a very simple question for some, but it has me stumped. Can you use variables within python\'s triple-quotes?
In the following example, how do use
Yes. I believe this will work.
do_stuff = "Tuesday"
mystring = """I like to do stuff on %(tue)s""" % {'tue': do_stuff}
EDIT: forgot an 's' in the format specifier.