50     inpfile = 
open(
"TileModule-GEO-00",
"rt")
 
   51     outfile = 
open(
"TileModule.sql",
"awt")
 
   52     line = modname = comment = volline = cindx = 
' ' 
   53     n1 = n2 = n3 = nmax = 0
 
   59         line = inpfile.readline()
 
   65         name = string.split(line)
 
   84             volline = 
str(indx)+
","+
str(n1)+
","+
str(n2)+
",'"+modname+
"',"+
str(n3)+
",'"+comment+
"'" 
   86             outfile.write(
"insert into TileModule_data (TileModule_data_id,PART,MODNUM,NAM,TYP,COMM) values (\n")
 
   87             outfile.write(volline)
 
   89             outfile.write(
"insert into TileModule_data2tag values ('TileModule-GEO-00', ")
 
   94             print ' IndexError : ',nmax,
' ',name