I have a config file that i would like to add a space (' ') to the end of every line in the file
File example:
#xxx configuration
IPaddr = 1.1.1.1<add a space here>
host = a.b.c.d<add a space here>
usrname = aaa<add a space here>
dbSID = xxx<add a space here>
i already have the number of lines in the file (using len) so i know how much time to repeat the loop of adding the space string. i also know how to open a file for reading and writing.
Thank you all.