Python Method To Run Curl Command