Basic Examples (3)
Basic Examples
(3)
Start a Python session:
In[32]:=
session=StartExternalSession["Python"];
Export an association as a YAML file:
In[33]:=
Print the resulting file for visual inspection:
In[17]:=
FilePrint["C:\\Users\\arnoudb.WRI\\out.yaml"]
alias: 5
mapping:
- 1: one
- 2: two
- 3: three
scalar: 5
sequence:
- 1
- 2
- 3
mapping:
- 1: one
- 2: two
- 3: three
scalar: 5
sequence:
- 1
- 2
- 3