Fix Python usage examples to move them to v2 of the API

Refs #8138
Merge remote-tracking branch 'origin/bugfix/8138_fix_python_usage'