I have a python code like this:
with open('myFile') as f:
next(f) # skip first line
for line in f:
items = line.split(';')
if len(items) < 2:
# now I want to replace the line with s.th. that i write
how to replace the line with s.th. that I want to write?