예제 #1
0
def prompt_search_movies():
    search_term = input("Enter the partial movie title: ")
    movies = database.search_movies(search_term)
    if movies:
        print_movie_list("Movies found", movies)
    else:
        print("Found no movies for that search term.")
예제 #2
0
def prompt_search_movies():
    search_term = input("Enter whole or partial movie title: ")
    movies = database.search_movies(search_term)
    if movies:
        print_movie_list("Movies that've been found:", movies)
    else:
        print("No movies were found for that searched term")
예제 #3
0
def prompt_search_movies():
    search_term = input("Enter partial movie title: ")
    movies = database.search_movies(search_term)
    if movies:
        print_movie_list('Found', movies)
    else:
        print('Found no movies fot that search term!')
예제 #4
0
def prompt_search_movies():
    search_term = input("Enter the movie title:")
    movies = database.search_movies(search_term)
    if movies:
        print_movie_list("Movies found", movies)
    else:
        print("No movies found.")
예제 #5
0
def prompt_search_movies():
    search_term = input("SEARCH: ")
    movies = database.search_movies(search_term)
    if movies:
        print_movie_list("Movies found", movies)
    else:
        print("Found no movies.")
예제 #6
0
def prompt_search_movie():
    search_term = input("Enter a part of movie name or movie name: ")
    movies = database.search_movies(search_term)
    if movies:
        print_movie_list("Movies Found!!", movies)
    else:
        print("Found no movies for this search term!!")
예제 #7
0
파일: app.py 프로젝트: tuncutku/Courses
def prompt_search_movies():
    searchTerm = input("Movie to be searched: ")
    movies = database.search_movies(searchTerm)
    if movies:
        print_movie_list("Movies found: ", movies)
    else:
        print("No movies found!")
예제 #8
0
def prompt_search_movies():
    search_term = input('Search term: ')
    movies = database.search_movies(search_term)
    if movies:
        print_movie_list('Movies found', movies)
    else:
        print("Found no movies for that search term!")
예제 #9
0
def prompt_search_movies():
    search_item = input("Enter the partial name of the movie:")
    movies = database.search_movies(search_item)
    if movies:
        print_movie_list("Movies Found", movies)
    else:
        print("No movies found for that term...")
예제 #10
0
파일: app.py 프로젝트: RossouwVenter/SQL
def prompt_search_movies():
    search_term = input('Enter the partial title of the movie: ')
    movies = database.search_movies(search_term)
    if movies:
        print_movie_list("movies found", movies)
    else:
        print("No movies found!")
예제 #11
0
def prompt_search_movies():
    search_term = input("What would you like to search for? ")
    movies = database.search_movies(search_term)
    if movies:
        print_movies('Search results:', movies)
    else:
        print('No matching search results.')
    print('\n')
예제 #12
0
def prompt_search_movies():
    term = input("Search movies database for: ")
    movies = database.search_movies(term)
    print(f"-- Movie search results --")
    if movies:
        print_movie_list(movies)
    else:
        print("No matches found")
예제 #13
0
def prompt_search_movies():
    """
    Search for movies by given string.
    :return:
    """
    search_pattern = input('Enter movie title: ')
    movies = database.search_movies(search_pattern)
    if movies:
        print_movie_list('Movies found: ', movies)
    else:
        print('Found no movies for search pattern {}.'.format(search_pattern))
예제 #14
0
def prompt_search_movies():

    title = input('Enter movie title: ')

    movies = database.search_movies(title)

    if movies:

        print_movie_list('Printing found movies', movies)

    else:

        print('No found movies.')
예제 #15
0
def prompt_search_movies():
    search_term = input("Enter partial movie title: ")
    return database.search_movies(search_term)
예제 #16
0
def prompt_search_movie():
    term = input("Enter the partial movie title: ")
    movies = database.search_movies(term)
    print_movies_list("Founded", movies)