Re: splitting a long string into a list

2006-11-29 Thread Frederic Rentsch
ronrsr wrote: > still having a heckuva time with this. > > here's where it stand - the split function doesn't seem to work the way > i expect it to. > > > longkw1,type(longkw): Agricultural subsidies; Foreign > aid;Agriculture; Sustainable Agriculture - Support; Organic > Agriculture; Pesticides,

Re: splitting a long string into a list

2006-11-27 Thread Cameron Walsh
ronrsr wrote: > still having a heckuva time with this. > > here's where it stand - the split function doesn't seem to work the way > i expect it to. > > > longkw1,type(longkw): Agricultural subsidies; Foreign > aid;Agriculture; Sustainable Agriculture - Support; Organic > Agriculture; Pesticid

Re: splitting a long string into a list

2006-11-27 Thread Peter Otten
ronrsr wrote: > still having a heckuva time with this. You don't seem to get it. > here's where it stand - the split function doesn't seem to work the way > i expect it to. > > > longkw1,type(longkw): Agricultural subsidies; Foreign > aid;Agriculture; Sustainable Agriculture - Support; Organ

Re: splitting a long string into a list

2006-11-27 Thread John Machin
ronrsr wrote: > I have a single long string - I'd like to split it into a list of > unique keywords. Sadly, the database wasn't designed to do this, so I > must do this in Python - I'm having some trouble using the .split() > function, it doesn't seem to do what I want it to - any ideas? > > thank

Re: splitting a long string into a list

2006-11-27 Thread Tim Roberts
"ronrsr" <[EMAIL PROTECTED]> wrote: >I have a single long string - I'd like to split it into a list of >unique keywords. Sadly, the database wasn't designed to do this, so I >must do this in Python - I'm having some trouble using the .split() >function, it doesn't seem to do what I want it to - an

Re: splitting a long string into a list

2006-11-27 Thread ronrsr
still having a heckuva time with this. here's where it stand - the split function doesn't seem to work the way i expect it to. longkw1,type(longkw): Agricultural subsidies; Foreign aid;Agriculture; Sustainable Agriculture - Support; Organic Agriculture; Pesticides, US, Childhood Development, B

Re: splitting a long string into a list

2006-11-27 Thread Raphael
What exactly seems to be the problem? "ronrsr" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] >I have a single long string - I'd like to split it into a list of > unique keywords. Sadly, the database wasn't designed to do this, so I > must do this in Python - I'm having some trouble

Re: splitting a long string into a list

2006-11-27 Thread Robert Kern
ronrsr wrote: > I have a single long string - I'd like to split it into a list of > unique keywords. Sadly, the database wasn't designed to do this, so I > must do this in Python - I'm having some trouble using the .split() > function, it doesn't seem to do what I want it to - any ideas? Did you f

Re: splitting a long string into a list

2006-11-27 Thread Cameron Walsh
ronrsr wrote: > I have a single long string - I'd like to split it into a list of > unique keywords. Sadly, the database wasn't designed to do this, so I > must do this in Python - I'm having some trouble using the .split() > function, it doesn't seem to do what I want it to - any ideas? > > thank

splitting a long string into a list

2006-11-27 Thread ronrsr
I have a single long string - I'd like to split it into a list of unique keywords. Sadly, the database wasn't designed to do this, so I must do this in Python - I'm having some trouble using the .split() function, it doesn't seem to do what I want it to - any ideas? thanks very much for your help.

splitting a long string into a list

2006-11-27 Thread ronrsr
I have a single long string - I'd like to split it into a list of unique keywords. Sadly, the database wasn't designed to do this, so I must do this in Python - I'm having some trouble using the .split() function, it doesn't seem to do what I want it to - any ideas? thanks very much for your help.