replace with python

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