Added python code and php code