cursor.rowcount gives 'int' object is not callable error
<p>i selected values from sqlite3 database and print the count of cursor.then it gives an error " 'int' object is not callable"</p>

<pre><code>    strq="select * from tblsample1"
    self.con = sqlite3.connect('mydb.sqlite')
    self.cur = self.con.cursor()
    self.cur.execute(strq)              
    print(self.cur.rowcount())
</code></pre>

<p>gives an error</p>

<pre><code>TypeError: 'int' object is not callable
</code></pre>
