def main(): """To run this example: 1) start mongod on the localhost, running on port 27017 2) Add a database to mongo named "test" 3) Run: "./python mongo.py" """ # Kind of cheating here by just setting the arguments you should be passing in client = Client(["-c", "examples/mongo_example_hammer.cfg"]) client.start()