Filtering files with python
===

I generated data from the netstat -a command in the terminal, now from there the result is all the incoming and outgoing ip addresses which i wrote to a file, how to I retrieve only the ip address via columns? Also, how do I retrieve data by column parameters for example starting at column 10 and ending at column 27?. I have tried the filter function but it didnt work. Thanks!