A
aiwarrior
If file.WriteLines( seq ) accepts a list and it says it writes lines,
why does it write the whole list in a single line. Be cause of that
the reverse of file.writelines(seq) is not file.readlines().
Are the assumptions i made correct? If yes why is this so?
I find a function called writelines not actualy writing the list in
lines wierd.
In this case the list something_else will be diffrent from something
why does it write the whole list in a single line. Be cause of that
the reverse of file.writelines(seq) is not file.readlines().
Are the assumptions i made correct? If yes why is this so?
I find a function called writelines not actualy writing the list in
lines wierd.
Code:
something = ['re','ri','ro']
f.writelines( something )
something_else = f.readlines()