add python example for python3