-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.py
66 lines (53 loc) · 2.05 KB
/
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# Dawson Richey
# This will serve as the main app file for the project
import os
from datetime import datetime, date
import os
import scraper
now = datetime.now()
today = date.today()
current_time = now.strftime("%H:%M:%S")
# Month abbreviation, day and year
current_date = today.strftime("%b-%d-%Y")
full_datetime = print("Datetime =", current_time, current_date)
# FUNCTIONS
def welcome_message():
# Clears the terminal screen, and displays a title bar.
os.system('clear')
print("********************************************************")
print("*** WELCOME ***")
print("*** before you can get started ***")
print("*** you need to have account ***")
print("********************************************************")
print("*** please enter the number that best applies ***")
print("********************************************************")
print("*** 1. Sign In ***")
print("*** 2. New User Registration ***")
print("*** 3. Forgot Your Username ***")
print("*** 4. Forgot Your Password ***")
print("********************************************************\n")
def menu_options():
# this is the menu of options to keep the app running
os.system('clear')
print("\nPlease select a number from the following: ")
print("0 = Sign-up")
print("1 = Sign-in")
print("2 = Log-out")
print("(enter 'q'' at any time'to quit)")
def asking_questions():
answer1 = input(welcome_message())
print(answer1)
answer2 = input(menu_options())
print(answer2)
# welcome_message()
# login_option = int(input())
# # print('Something has gone wrong please try again')
# if 1 <= login_option >= 8:
# print('Something has gone wrong please try again')
# welcome_message()
# else:
# menu_options()
# login_option = input('Please enter your number now:')
#
# print(login_option)
asking_questions()