0

t1 = Template('rnote over $actor #MintCream \n <$triangle{scale=5}> \n end note')

$triangle is treated as a variable but I want to use it as a symbol. how is it done?

SanV
  • 855
  • 8
  • 16

1 Answers1

0

if I understand you correctly, this should do the trick:

t1 = Template(r'note over $actor #MintCream \n <$triangle{scale=5}> \n end note')

For details on meaning of r', check this

SanV
  • 855
  • 8
  • 16