implement jsonp request for python
I am using a python rest api and want to fetch data from an api which gives me json response with a padding(jsonp request). I have seen few examples where javascript(jquery and angularjs) need to add a callback function for getting json. How to do the same with python?