Php And Python Integration Function In Python