Fwd: Processing a large string

2011-08-28 Thread Yaşar Arabacı
-- Yönlendirilmiş ileti -- Kimden: Yaşar Arabacı Tarih: 28 Ağustos 2011 22:51 Konu: Re: Processing a large string Kime: Paul Rudin Are you getting Overflow error or memory error? If you don't know what those means: Overflow error occurs when your lists gets bigger

Re: Processing a large string

2011-08-28 Thread Paul Rudin
goldtech writes: > Hi, > > Say I have a very big string with a pattern like: > > akakksssk3dhdhdhdbddb3dkdkdkddk3dmdmdmd3dkdkdkdk3asnsn. > > I want to split the sting into separate parts on the "3" and process > each part separately. I might run into memory limitations if I use > "split" and

Re: Processing a large string

2011-08-12 Thread Dan Stromberg
This is the sort of thing I wrote bufsock for. Don't let the name fool you - although I originally wrote it for sockets, it's since been extended to work with files and file handles. http://stromberg.dnsalias.org/~dstromberg/bufsock.html It was recently modified to work on 2.x and 3.x. On Thu,

Re: Processing a large string

2011-08-12 Thread Peter Otten
Peter Otten wrote: > goldtech wrote: >> Say I have a very big string with a pattern like: >> >> akakksssk3dhdhdhdbddb3dkdkdkddk3dmdmdmd3dkdkdkdk3asnsn. >> >> I want to split the sting into separate parts on the "3" and process >> each part separately. I might run into memory limitations if

Re: Processing a large string

2011-08-12 Thread Peter Otten
goldtech wrote: > Hi, > > Say I have a very big string with a pattern like: > > akakksssk3dhdhdhdbddb3dkdkdkddk3dmdmdmd3dkdkdkdk3asnsn. > > I want to split the sting into separate parts on the "3" and process > each part separately. I might run into memory limitations if I use > "split" and

Re: Processing a large string

2011-08-11 Thread Nobody
On Thu, 11 Aug 2011 19:03:36 -0700, goldtech wrote: > Say I have a very big string with a pattern like: > > akakksssk3dhdhdhdbddb3dkdkdkddk3dmdmdmd3dkdkdkdk3asnsn. > > I want to split the sting into separate parts on the "3" and process > each part separately. I might run into memory limitat

Re: Processing a large string

2011-08-11 Thread Steven D'Aprano
goldtech wrote: > Hi, > > Say I have a very big string with a pattern like: > > akakksssk3dhdhdhdbddb3dkdkdkddk3dmdmdmd3dkdkdkdk3asnsn. Define "big". What seems big to you is probably not big to your computer. > I want to split the sting into separate parts on the "3" and process > each

Re: Processing a large string

2011-08-11 Thread MRAB
On 12/08/2011 03:03, goldtech wrote: Hi, Say I have a very big string with a pattern like: akakksssk3dhdhdhdbddb3dkdkdkddk3dmdmdmd3dkdkdkdk3asnsn. I want to split the sting into separate parts on the "3" and process each part separately. I might run into memory limitations if I use "split"

Processing a large string

2011-08-11 Thread goldtech
Hi, Say I have a very big string with a pattern like: akakksssk3dhdhdhdbddb3dkdkdkddk3dmdmdmd3dkdkdkdk3asnsn. I want to split the sting into separate parts on the "3" and process each part separately. I might run into memory limitations if I use "split" and get a big array(?) I wondered if