Newbie: Working with large database -- help!

Jochen Küpper jochen at jochen-kuepper.de
Wed May 1 02:12:04 EDT 2002


On Tue, 30 Apr 2002 21:37:18 -0400 Owen Marshall wrote:

Owen> data|data|data|data

Owen> and so on as needed. My question: how do I extract each part of
Owen> data from between the " | " (none of the data has fixed
Owen> lengths), and put it in a list where I can do some work with it?

list = file.read().split('|')

Greetings,
Jochen

-- 
Einigkeit und Recht und Freiheit                http://www.Jochen-Kuepper.de
    Liberté, Égalité, Fraternité                GnuPG key: 44BCCD8E
        Sex, drugs and rock-n-roll



More information about the Python-list mailing list