readf read([size]read linef readline(read multiple linesf readlines([sizehint]writef write(strwrite multiple linesf writelines(sequenceclose filef close(file open test txt lines spam eggs ham file writelines lines file close (python automatically converts \ into the correct line endingmember of the helmholtz association slide