This is a question related to the Python SDK - http://dev.splunk.com/view/python-sdk/SP-CAAAEBB - which works with Python 2.6+.
Utils comes with the SDK - so there is no extra installation required. Have you done all of the setup required outlined on the link above?
We have a number of command line examples here as well to try: http://dev.splunk.com/view/SP-CAAAEFK#info
... View more