Lines Matching refs:lines
188 lines = []
194 lines.append(fields + "\n")
200 (name, len(lines)))
201 lines.append("{0} \"{1}\"\n".format(*fields))
262 lines[line] = comment + lines[line]
288 f.writelines(lines)
429 lines = dcf.readlines()
435 for i, l in enumerate(lines):
440 del lines[i]
443 lines += ["{0}\t{1}\n".format(
448 dcf.writelines(lines)
473 lines = dlf.readlines()
488 lineno = lines.index(line.replace("\\t", "\t") + "\n")
492 del lines[lineno]
499 lines.extend((
502 if s.replace("\\t", "\t") + "\n" not in lines
509 dlt.writelines(lines)
941 lines = dlf.readlines()
956 lineno = lines.index(line.replace("\\t", "\t") + "\n")
960 del lines[lineno]
974 dlt.writelines(lines)