Re reformat pyak.py