Modify ↓
Ticket #126 (new task)
how to do INI-file-like substitution in pyYAML
| Reported by: | jim.vickroy@… | Owned by: | xi |
|---|---|---|---|
| Priority: | normal | Component: | pyyaml |
| Severity: | normal | Keywords: | |
| Cc: |
Description
Here is a an INI file section using string substitution to define root folder and UNC path:
[DEFAULT] host : sec-swds-dw.swpc.noaa.gov satellite id : 13 root folder : GOES%(satellite id)sSXI UNC path : \\%(host)s\%(root folder)s
I have been experimenting with !!python/object/apply:builtin.eval to define root folder and UNC path, but so far, I have been unsuccessful.
How can this be done in pyYAML?
Thanks
Attachments
Note: See
TracTickets for help on using
tickets.
