python print namespace object