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


Groups > comp.lang.python > #53122

about pyyaml questions!

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <yanxiaopei199@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.056
X-Spam-Evidence '*H*': 0.89; '*S*': 0.00; 'dump': 0.16; 'subject:questions': 0.16; 'yaml': 0.16; 'file,': 0.19; 'load': 0.23; 'looks': 0.24; 'message-id:@mail.gmail.com': 0.30; 'file': 0.32; 'skip:d 20': 0.34; 'received:google.com': 0.35; '8bit%:4': 0.38; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=Wo0Y5LLUrZrF/gNVmXOE97aDhd2EijAaQ6WxRBO3/lo=; b=ShPnZgzL+UEpL7ki2sikc9hrrOg6RWfvHbv6iUqLH7+sko7R5EJ2VxvcODEPeFHokA 9p79pERqqIbfuZmuUVR7yyIZ6Sv+nAsgwffFyVxmsQj57SX7fOVwTLKAXYSYICUn4FMx 9lRAclQ5Qmwvu7RnFvvyFjA+rZ/OoBcrVs/H/zCrsnwVd7KToJocvRjF024abrwnZEA3 PPfrzuKXjKrSHXToRMO13RjlQqiGlPIbyHDCU1XYIaJXRacjzT3pnn6YAFKUqBF+AxWz OSOq/ZTQbwWIlYysvnSN4UQNWJLvFIo24I5caiy99PB4OU1luCUcTbp+QJVe0R6vq3C2 cZdA==
MIME-Version 1.0
X-Received by 10.194.170.227 with SMTP id ap3mr6355718wjc.40.1377685726259; Wed, 28 Aug 2013 03:28:46 -0700 (PDT)
Date Wed, 28 Aug 2013 18:28:46 +0800
Subject about pyyaml questions!
From Thanatos xiao <yanxiaopei199@gmail.com>
To python-list@python.org
Content-Type multipart/alternative; boundary=089e0122e92253711d04e4ff74fc
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.299.1377685728.19984.python-list@python.org> (permalink)
Lines 53
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1377685728 news.xs4all.nl 15913 [2001:888:2000:d::a6]:33441
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:53122

Show key headers only | 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