Net Scanner in Python