Hi team,
#askmeanything
Please let me know the python roadmap and yaml
Yaml is used for automation so it’s equivalent to python?
Hi team,
#askmeanything
Please let me know the python roadmap and yaml
Yaml is used for automation so it’s equivalent to python?
Here is the python roadmap
JSON, XML, TOML, YAML are just different file structures to store the configurations and data.
Same information can be written all these ways.
Check here for more info.
The same content can be written in any format.
Check the below sample for the structures.
XML -
<config>
<post title="Config files: ..."
date="2019-08-26"
draft="false">
<tags>
<t>tag1</t>
<t>tag2</t>
</tags>
</post>
...
</config>
JSON -
[
{ title: "Config files: ...",
date: "2019-08-26",
draft: false,
tags: [
"tag1",
"tag2"
]
},
...
]
YAML -
---
config:
post:
"-title": Config files: ...
"-date": 2019-08-26
"-draft": false
tags:
t:
- tag1
- tag2
config.ini or TOML
[post]
title = config files
date = 2019-08-26
draft = false
[tags]
t = tag1, tag2
To read, write,parse each structure, there are modules available in python and other languages.