make the program could execute by python