title: How to use Python to open a .sqlite with password
body: <p>I have a .sqlite file which is protected by a password. When I use viewer like SQLiteStudio to connect it, I need to manually input the password in UI.</p>
  
  <p>When I use c# to connect it, the codes as below work very well:</p>
  
  <pre><code>string db_file_path = "xxx.sqlite";
  string conn_conf = $"Data Source={db_file_path};Version=3;password={db_passwd}";
  SQLiteConnection conn = new SQLiteConnection(conn_conf);
  </code></pre>
  
  <p>But for python, the code is like this:</p>
  
  <pre><code>sqlite_file = '/xxx.db'
  conn = sqlite3.connect(sqlite_file)
  c = conn.cursor()
  </code></pre>
  
  <p>"OperationalError: unable to open database file" appear on the connect()</p>
  
  <p>So, how to use the password??? How to open it???</p>