parsing text

Janko Hauser jhauser at ifm.uni-kiel.de
Fri Feb 4 07:18:57 EST 2000


If the file only has these parameters you can import the file and ask
for the values directly. Rename it to file.py and import is.

Other approach is to use string.split(line,'=') if these parameters
are each in a line.

HTH
__Janko
 
-- 
  Institut fuer Meereskunde             phone: 49-431-597 3989
  Dept. Theoretical Oceanography        fax  : 49-431-565876
  Duesternbrooker Weg 20                email: jhauser at ifm.uni-kiel.de
  24105 Kiel, Germany



More information about the Python-list mailing list