How to return a SQLPLUS variable in Python using cxOracle
===

I have following SQLPlus syntax. Now I need to run it in Python using cxOracle. How do I do that?

    variable my_cnt number;
    begin
       :my_cnt := 10;
        commit;
    end;
    .
    /
    select :my_cnt from dual;

