> Here are two lines from the CSV file: > ,,172.20.{0}.0/27,172.20.{0}.32/27,172.20.{0}.64/27,29,172.20.{0}.96/27,,,,172.21.{0}.0/27,172.21.{0}.32/27,172.21.{0}.64/27,29,172.21.{0}.96/27 > GW:,,172.20.{0}.1,172.20.{0}.33,172.20.{0}.65,,172.20.{0}.97,,GW:,,172.21.{0}.1,172.21.{0}.33,172.21.{0}.65,,172.21.{0}.97 > > This is the output: > ,,,,,,,,,,,,,, > > ,,,,,,,,,,,,,, > GW:,,172.20.126.129,172.20.126.161,172.20.126.193,,172.20.126.225,,GW:,,172.21.126.129,172.21.126.161,172.21.126.193,,172.21.126.225 > > ''''''''''''''''''
When you say "this is the output" do you mean that is what you are getting or that is what you want? If that is what you are getting please reply with what you want for output. -- http://mail.python.org/mailman/listinfo/python-list