parse PTT by python 3.0