How to write a Python script to grab banners for network geeks