ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> python-list
python-list
Re: Dictionary viewer and editor
by Thomas Jollans other posts by this author
Aug 13 2007 2:13PM messages near this date
Dictionary viewer and editor | Re: Dictionary viewer and editor
On Monday 13 August 2007, Ariel Balter wrote:
>  http://mail.python.org/pipermail/python-list/2001-August/100288.html
> 
>  Did you ever finish writing this?


YAML (without flow style) could qualify as "tree format". example:

yaml.dump ( {"alpha": 1, "beta": 2, "otherstuff": {"bug": None, "cool": 
True, "foo": ["bar", 2e64, {13: 'many eyes', 14: 'make all', 15: 'bugs 
shallow'}]}}, default_flow_style=False )

... is ...

alpha: 1
beta: 2
otherstuff:
  bug: null
  cool: true
  foo:
  - bar
  - !!float '2e+64'
  - 13: many eyes
    14: make all
    15: bugs shallow

-- 
http://mail.python.org/mailman/listinfo/python-list
Thread:
Ariel Balter
Thomas Jollans
Paddy
Paddy

Privacy Policy | Email Opt-out | Feedback | Syndication
© 2004 ActiveState, a division of Sophos All rights reserved