Re: dynamic values in yaml

2014-08-19 Thread raphinou
On Tuesday, August 19, 2014 7:15:54 PM UTC+2, Rustom Mody wrote: > On Tuesday, August 19, 2014 10:31:03 PM UTC+5:30, Laurent Pointal wrote: > > > raphinou wrote: > > > > > > Hi, > > > > I'm using pyyaml, and need some values in a yaml fi

dynamic values in yaml

2014-08-19 Thread raphinou
Hi, I'm using pyyaml, and need some values in a yaml files to be dynamic, for example somethin like: filename: /tmp/backup_{% time.strftime('%Y-%m-%d') }.tgz Is there a simple way to achieve this? (Eg with a templating system that would first handle the template parts from the yaml file) Th