Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #53122

about pyyaml questions!

Date 2013-08-28 18:28 +0800
Subject about pyyaml questions!
From Thanatos xiao <yanxiaopei199@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.299.1377685728.19984.python-list@python.org> (permalink)

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Hi Guys:
   Now I use pyyaml to load a yaml file, after I dump this load data,but I
found an questions,before I load the yaml file,the file looks like:

aaaa
-
   -b
   -c
-
   -e
   -x

after I dump this data and write file, the file looks like:
aaaa
-  -b
   -c
-  -e
   -x

although when dump file, I have set default_flow_style=False

Can the dumped file the same as original file....?

ths.....

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

about pyyaml questions! Thanatos xiao <yanxiaopei199@gmail.com> - 2013-08-28 18:28 +0800

csiph-web