Below is the file 'test-snmpwalk.py' from this revision. You can also download the file.
#!/usr/bin/python from goatpy import snmpwrapper import sys host, community = sys.argv[1:] for i in snmpwrapper.snmpwalk(host, community, '2c', "system"): print i