Hi, I am a newbie so not very confident in file handling. I want to write to a file atrributes in this fashion #NameOfComputer:MAC_Address:IP_Address
------computer_details.txt begins----------------------------------------- IG1:8f00142a123c:192.168.2.101 IG2:8f00142a124d:192.168.2.102 IG3:8f00142a124e:192.168.2.103 IG4:8f00142a124f:192.168.2.104 IG5:8f00142a124a:192.168.2.105 IG6:8f00142a124b:192.168.2.106 ------computer_details.txt ends------------------------------------------- While writing this file I insert "\n" after every line so that details of every new computer goes into next line for readibility. After I have to read this file. While reading this file "\n" remains which I dont want. Is there a neat way of writing to a file and not having "\n" ? Please help -- http://mail.python.org/mailman/listinfo/python-list