Update for python3 + ST3

* remove print (print => print() in python3, but we don't need this one)
* remove begin_edit/end_edit