Using Cursor In Python How Do You Convert