Remove coding from ptime.py