Using Cursor In Python Example