title: operational error: database is locked
body: <p>So I know this problem is not new in flask, and people have already asked it before. However I am still facing a problem while executing my database commands in bash as I am new to python.
  This is what i did</p>
  
  <pre><code>import sqlite3
  conn = sqlite.connect('/home/pjbardolia/mysite/tweet_count.db')
  c = conn.cursor()
  
  c.execute("create table count_twitter (count_id integer primary key autoincrement ,count_present integer not null,last_tweet not null)")
  
  c.execute(insert into count_twitter values('',10,10))
  </code></pre>
  
  <p>however after executing insert statement I am getting operational error: database is locked.
  Can someone tellme in simple terms what does this error means? and how to solve it.
  Thanks in advance</p>