File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed
python-sqlite-sqlalchemy/project Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -69,11 +69,17 @@ def main():
6969 print ("starting" )
7070
7171 # get the author/book/publisher data into a dictionary structure
72- csv_filepath = resource_filename ("project.data" , "author_book_publisher.csv" )
72+ csv_filepath = resource_filename (
73+ "project.data" ,
74+ "author_book_publisher.csv"
75+ )
7376 author_book_publisher_data = get_author_book_publisher_data (csv_filepath )
7477
7578 # get the filepath to the database file
76- sqlite_filepath = resource_filename ("project.data" , "author_book_publisher.db" )
79+ sqlite_filepath = resource_filename (
80+ "project.data" ,
81+ "author_book_publisher.db"
82+ )
7783
7884 # does the database exist?
7985 if os .path .exists (sqlite_filepath ):
Original file line number Diff line number Diff line change 22This program gathers information from the database file about temperature
33"""
44
5- import os
65from pkg_resources import resource_filename
76from datetime import datetime
87from datetime import timedelta
You can’t perform that action at this time.
0 commit comments