parsing text from "ethtool" command
Miki Tebeka
miki.tebeka at gmail.com
Tue Nov 1 19:19:25 EDT 2011
In my box, there are some spaces (tabs?) before "Speed". IMO re.search("Speed", line) will be a more robust.
More information about the Python-list
mailing list