use python for test