title: Bringing PyMySQL cursor to beginning
body: <p>I am using PyMySQL 0.7.9 with MySQL 5.1.73. I have to do two operations using the same PyMySQL cursor. After first operation is complete on the cursor, I need to bring the cursor back to the beginning.</p>
  
  <pre><code>import pymysql;
  
  cursor.execute("my query");
  # First operation
  for row in cursor :
    # run update query to update status flag for all rows fetched.
  
  # Second Operation
  for row in cursor : 
    # run some more commands for the rows.
  </code></pre>
  
  <p>I added <pre><code>cursor.rownumber = 0</code></pre> before the second operation. It worked. But is there any PyMySQL function by which I can achieve the same?
  Is there anything similar in PyMySQL to <a href="http://php.net/manual/en/mysqli-result.data-seek.php" rel="nofollow noreferrer">http://php.net/manual/en/mysqli-result.data-seek.php</a></p>