Пример #1
0
def option_5():
    requests_list = l.load_stuff("src/data/requests.csv")
    server = requests_list[0]
    t.print_requests(f"{server} has the aux cable", requests_list)
    wait()
Пример #2
0
            order2.create_a_request()
            exit_selection = str(
                input("\nWould you like to continue?\n[1] Yes\n[2] No\n"))
    else:
        print("That's not a valid option.")
        option_4()


def option_5():
    requests_list = l.load_stuff("src/data/requests.csv")
    server = requests_list[0]
    t.print_requests(f"{server} has the aux cable", requests_list)
    wait()


load_requests = l.load_stuff("src/data/requests.csv")
# requests_list = c.RequestMaker().request_list


def ultimate_menu():
    while True:
        selection_screen()
        user_selection = user_input()
        # Organises arguments based on user input
        if user_selection == GET_NAMES:
            option_1()
            ultimate_menu()

        elif user_selection == GET_SONGS:
            option_2()
            ultimate_menu()
Пример #3
0
 def load_order(self):
     x = l.load_stuff("drinksround.csv")
     return x + self.order_list
Пример #4
0
 def load_order(self):
     x = l.load_stuff("requests.csv")
     return x + self.request_list
Пример #5
0
            order2.create_a_request()
            exit_selection = str(
                input("\nWould you like to continue?\n[1] Yes\n[2] No\n"))
    else:
        print("That ain't a valid command buster.")
        option_7()


def option_8():
    round_list = l.load_stuff("src/data/requests.csv")
    server = requests_list[0]
    t.print_round(f"{server} has the aux cable", requests_list)
    wait()


name_list = l.load_stuff("src/data/metalheads.csv")
song_list = l.load_stuff("src/data/songlist.csv")
fav_songs_list = l.load_stuff("src/data/favsongs.csv")
load_requests = l.load_stuff("src/data/requests.csv")
requests_list = c.RequestMaker().request_list


def ultimate_menu():
    while True:
        selection_screen()
        user_selection = user_input()
        # Organises arguments based on user input
        if user_selection == GET_NAMES:
            option_1()
            ultimate_menu()