4.6.2

fix example.py for new api
encoding in first line