Using Cursor In Python What Is A Function