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
row me a bone?
Thank you,
RasDJ
--
http://mail.python.org/mailman/listinfo/python-list
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