Add a Python example script with logging and argparse

Signed-off-by: Nicolas Iooss <nicolas.iooss_git@polytechnique.org>