ruebenramirez / blog

My blog
http://blog.ruebenramirez.com/
7 stars 0 forks source link

formatting json strings with variables via python .format() #325

Open ruebenramirez opened 8 years ago

ruebenramirez commented 8 years ago

http://stackoverflow.com/a/2755273

escape { with {{ and } with }} so that .format() doesn't expect to place a named variable.