Change to Python from PHP.

Signed-off-by: August Yip <augustyip@gmail.com>