diff --git a/database.py b/database.py index 5f9e7da..6ed3e92 100644 --- a/database.py +++ b/database.py @@ -1,4 +1,5 @@ import sqlite3 +from typing import ParamSpecArgs from user_input import * # establish a connection to a .db file and create a cursor object @@ -38,4 +39,20 @@ print(len(table_rows)) """ -parse_input() +# Functions to define: +# 1) Select all timestamps +# 2) Find a timestamp by date range +# 3) Calculate total hours for the week +# 4) Calculate complete sum of hours + +def get_all_stamps(): + pass + +def get_stamp_by_date(): + pass + +def get_weekly_hours(): + pass + +def get_all_hours(): + pass diff --git a/database.pyc b/database.pyc new file mode 100644 index 0000000..ac43c9c Binary files /dev/null and b/database.pyc differ diff --git a/main.py b/main.py new file mode 100644 index 0000000..589a506 --- /dev/null +++ b/main.py @@ -0,0 +1,4 @@ +from user_input import * +from database import * + +parse_input() \ No newline at end of file diff --git a/user_input.py b/user_input.py index bc0f263..b5e6ace 100644 --- a/user_input.py +++ b/user_input.py @@ -13,4 +13,4 @@ def parse_input(): print(user_prompt) response = input("Enter your selection: ") - print() \ No newline at end of file + print(f'You selected {response}. Working...') \ No newline at end of file