re.search - just skip it

2005-01-26 Thread rasdj
nes[i]): del lines[i] except IndexError: open("z.sql","w").writelines(lines) but output is: SET2_S_W CHAR(1) NOT NULL, SET4_S_W CHAR(1) NOT NULL, ; It should delete every, not every other! thx, RasDJ -- http://mail.python.org/mailman/listinfo/python-list

next line, new line

2005-01-30 Thread rasdj
row me a bone? Thank you, RasDJ -- http://mail.python.org/mailman/listinfo/python-list

Re: next line, new line

2005-01-30 Thread rasdj
write(str.join('', lines)) because there are lots of "comma newline" but the only ones I want are the ones that follow the semicolon. RasDJ -- http://mail.python.org/mailman/listinfo/python-list