• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How to parse CSV
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to parse CSV


  • Subject: Re: How to parse CSV
  • From: "Mark J. Reed" <email@hidden>
  • Date: Wed, 23 Jan 2008 06:57:16 -0500

On Jan 23, 2008 4:52 AM, Benedikt Quirmbach <email@hidden> wrote:
> The real csv files have up to 35000 lines and up to 10 items every line.
> Here the handler works endless. As Skeeve said (he testet with 10000
> lines) there is a stack overflow.

So why are you trying to slurp the whole 35,000-line file into memory
as one big list?  Can't you just process each line as you read it?

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

  • Follow-Ups:
    • Re: How to parse CSV
      • From: Benedikt Quirmbach <email@hidden>
References: 
 >Re: How to parse CSV (From: Benedikt Quirmbach <email@hidden>)

  • Prev by Date: Re: Problem Escaping osascript Command
  • Next by Date: Re: How to parse CSV
  • Previous by thread: Re: How to parse CSV
  • Next by thread: Re: How to parse CSV
  • Index(es):
    • Date
    • Thread