Re: How to parse CSV
Re: How to parse CSV
- Subject: Re: How to parse CSV
- From: "Mark J. Reed" <email@hidden>
- Date: Wed, 23 Jan 2008 10:39:29 -0500
On Jan 23, 2008 8:56 AM, Mark J. Reed <email@hidden> wrote:
>I believe they also both come with the ability to
> output lists in Javascript syntax (technically YAML, but with the
> option to use the JSON-compatible subset of YAML).
Wrong on both counts, apparently. yaml.rb doesn't have an option to
force JSON mode, and Python doesn't come with YAML at all (?! I
thought YAML was invented for Python...)
Python or Ruby are still probably the easiest ways to get at CSV
parsing on a stock OS X install, but turning it into JS(ON) is up to
you.
--
Mark J. Reed <email@hidden>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden