Re: Slicing Issues

2006-05-21 Thread Paul McGuire
"Heiko Wundram" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Am Sonntag 21 Mai 2006 22:52 schrieb BJ Swope: > > district_combo=line[85:3] > > This returns the slice from character 85 to character 3 in the string, read > forwards. Basically, as Python slices are forgiving (becau

Re: Slicing Issues

2006-05-21 Thread BJ Swope
On 5/21/06, Heiko Wundram <[EMAIL PROTECTED]> wrote: Am Sonntag 21 Mai 2006 22:52 schrieb BJ Swope:> district_combo=line[85:3]This returns the slice from character 85 to character 3 in the string, readforwards. Basically, as Python slices are forgiving (because the borders are actually "illogic

Re: Slicing Issues

2006-05-21 Thread Heiko Wundram
Am Sonntag 21 Mai 2006 22:52 schrieb BJ Swope: > district_combo=line[85:3] This returns the slice from character 85 to character 3 in the string, read forwards. Basically, as Python slices are forgiving (because the borders are actually "illogical"), this amounts to nothing, but could also a

Slicing Issues

2006-05-21 Thread BJ Swope
Given this set of data (88 characters wide) in a file... 067AARON WAY   3004300252599A  098   067017  129 672 067ABBA CT 30518000882000902A  025  11   0670163227  365 670 067ABBEY HILL RD   3002400010299A  004