title: How can I create a SQLite3 database file using a SQL command file?
body: <p>I have a file which contains some SQL commands, something that looks like this:</p>
  
  <pre><code>CREATE DATABASE IF NOT EXISTS `db_name`;
  USE `db_name`;
  
  CREATE TABLE IF NOT EXISTS `customers` (
    `id` int(10) unsigned NOT NULL,
    `f_name` varchar(50) DEFAULT NULL,
    `l_name` varchar(50) DEFAULT NULL,
    `company_name` varchar(200) DEFAULT NULL,
    `email` varchar(50) DEFAULT NULL,
    `phone` varchar(25) DEFAULT NULL
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  
  INSERT INTO `customers` (`id`, `f_name`, `l_name`, `company_name`, `email`, `phone`) VALUES
      ...
      ...
      ...
  </code></pre>
  
  <p>I'd like to use these commands to create an SQLite3 database file in order to use it easily with Python.</p>
  
  <p>How do I do that on Ubuntu?</p>