Shell Script To Run Sql Query In Python