Create data from csv ==================== #. Import the sqlite and csv modules .. literalinclude:: create_data_from_csv.py :language: python :lines: 1-2 :lineno-start: 1 #. Point to the Library Database .. literalinclude:: create_data_from_csv.py :language: python :lines: 4-5 :lineno-start: 4 #. Read the csv file and insert the records into the database: .. literalinclude:: create_data_from_csv.py :language: python :lines: 8-9,11 :lineno-start: 8 #. Save data to database: .. literalinclude:: create_data_from_csv.py :language: python :lines: 14 :lineno-start: 14