Added some general python examples.

From compendium, mostly.