你用什么YAML引擎? [英] What YAML engine do you use?

查看:56
本文介绍了你用什么YAML引擎?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,


我知道Python有不同的YAML引擎(Syck,

PyYaml,更多?)。


你使用哪一个,为什么?


对于那些不知道YAML是什么的人:访问http:// yaml。 org /!

你会惊讶,再也不会想到XML了。好吧,差不多。


Reinhold

Hello,

I know that there are different YAML engines for Python out there (Syck,
PyYaml, more?).

Which one do you use, and why?

For those of you who don''t know what YAML is: visit http://yaml.org/!
You will be amazed, and never think of XML again. Well, almost.

Reinhold

推荐答案

>我知道Python有不同的YAML引擎(Syck,
> I know that there are different YAML engines for Python out there (Syck,
PyYaml,更多?)。

你使用哪一个,为什么?


我第一次使用yaml,试图迁移到syck。我喜欢syck的是

它更快并且不会尝试创建对象但只有dicts - 但是如果yaml对象的数量变大,它就会崩溃
。所以我仍然使用yaml。

对于那些不知道YAML是什么的人:访问http://yaml.org/!
你会惊讶,从不思考再次使用XML。嗯,差不多。
PyYaml, more?).

Which one do you use, and why?
I first used yaml, tried to migrate to syck. What I like about syck is that
it is faster and doesn''t try to create objects but only dicts - but it
crashed if the number of yaml objects grew larger. So I still use yaml.

For those of you who don''t know what YAML is: visit http://yaml.org/!
You will be amazed, and never think of XML again. Well, almost.




这当然很好。


-

问候,


Diez B. Roggisch



It is certainly nice.

--
Regards,

Diez B. Roggisch


Diez B. Roggisch写道:
Diez B. Roggisch wrote:
我第一次使用yaml,试过迁移到syck。我喜欢的内容是,它更快,并且不会尝试创建对象,但仅仅是dicts - 但是如果yaml对象的数量增长,它就会崩溃。所以我仍然使用yaml。
I first used yaml, tried to migrate to syck. What I like about
syck is that it is faster and doesn''t try to create objects but
only dicts - but it crashed if the number of yaml objects grew
larger. So I still use yaml.




嗯......我从来没有遇到任何syck问题。事实上,我现在在

a小项目中使用它,我在yaml文件中存储了大量数据...


奇怪。



Hmm.. I''ve never had any problems with syck. In fact, I''m using it in
a small project now where I store a helluva of data in yaml files...

Strange.


Reinhold Birkenfeld写道:
Reinhold Birkenfeld wrote:
你会惊讶,再也不会想到XML了。
You will be amazed, and never think of XML again.




带有elementtree的XML让我再也没有想过XML了。


Istvan。



XML with elementtree is what makes me never have think about XML again.

Istvan.


这篇关于你用什么YAML引擎?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆