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


Groups > comp.lang.python > #53122 > unrolled thread

about pyyaml questions!

Started byThanatos xiao <yanxiaopei199@gmail.com>
First post2013-08-28 18:28 +0800
Last post2013-08-28 18:28 +0800
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python


Contents

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

#53122 — about pyyaml questions!

FromThanatos xiao <yanxiaopei199@gmail.com>
Date2013-08-28 18:28 +0800
Subjectabout pyyaml questions!
Message-ID<mailman.299.1377685728.19984.python-list@python.org>

[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.....

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web