Fix Python examples

Examples were syntactically invalid, and reminiscent of Ruby or PHP behavior: in python the imported module is an object available in the local namespace, it's not included with its contents dumped in the namespace.