provide example python source code in documentation