Exemple #1
0
def lang_japanese():
    win12 = tkinter.Tk()
    win12.geometry("300x300")
    win12.title("Popular Japanese movies for you")
    jap_movies = langgenre.getLang('ja')
    for i in range(15):
        tkinter.Button(win12,
                       command=partial(langgenre.getInfo, jap_movies.iloc[i]),
                       text=jap_movies.iloc[i]['title'],
                       width=35,
                       height=1).grid(row=i, columnspan=2)
Exemple #2
0
def lang_latin():
    win13 = tkinter.Tk()
    win13.geometry("300x300")
    win13.title("Popular Latin movies for you")
    lat_movies = langgenre.getLang('la')
    for i in range(15):
        tkinter.Button(win13,
                       command=partial(langgenre.getInfo, lat_movies.iloc[i]),
                       text=lat_movies.iloc[i]['title'],
                       width=35,
                       height=1).grid(row=i, columnspan=2)
Exemple #3
0
def lang_italian():
    win11 = tkinter.Tk()
    win11.geometry("300x300")
    win11.title("Popular Italian movies for you")
    it_movies = langgenre.getLang('it')
    for i in range(15):
        tkinter.Button(win11,
                       command=partial(langgenre.getInfo, it_movies.iloc[i]),
                       text=it_movies.iloc[i]['title'],
                       width=35,
                       height=1).grid(row=i, columnspan=2)
Exemple #4
0
def lang_hindi():
    win14 = tkinter.Tk()
    win14.geometry("300x300")
    win14.title("Popular Hindi movies for you")
    hin_movies = langgenre.getLang('hi')

    for i in range(15):
        tkinter.Button(win14,
                       command=partial(langgenre.getInfo, hin_movies.iloc[i]),
                       text=hin_movies.iloc[i]['title'],
                       width=35,
                       height=1).grid(row=i, columnspan=2)
Exemple #5
0
def lang_spanish():
    win8 = tkinter.Toplevel()
    win8.geometry("300x400")
    win8.title("Popular Spanish movies for you")
    span_movies = langgenre.getLang('es')

    for i in range(15):
        tkinter.Button(win8,
                       command=partial(langgenre.getInfo, span_movies.iloc[i]),
                       text=span_movies.iloc[i]['title'],
                       width=35,
                       height=1).grid(row=i, columnspan=2)
Exemple #6
0
def lang_english():
    win7 = tkinter.Tk()
    win7.geometry("300x300")
    win7.title("Popular English movies for you")
    eng_movies = langgenre.getLang('en')

    for i in range(15):
        tkinter.Button(win7,
                       command=partial(langgenre.getInfo, eng_movies.iloc[i]),
                       text=eng_movies.iloc[i]['title'],
                       width=35,
                       height=1).grid(row=i, columnspan=2)
Exemple #7
0
def lang_russian():
    win10 = tkinter.Tk()
    win10.geometry("300x300")
    win10.title("Popular Russian movies for you")
    russian_movies = langgenre.getLang('ru')

    for i in range(15):
        tkinter.Button(win10,
                       command=partial(langgenre.getInfo,
                                       russian_movies.iloc[i]),
                       text=russian_movies.iloc[i]['title'],
                       width=35,
                       height=1).grid(row=i, columnspan=2)
Exemple #8
0
def lang_french():
    win9 = tkinter.Tk()
    win9.geometry("300x300")
    win9.title("Popular French movies for you")
    french_movies = langgenre.getLang('fr')

    for i in range(15):
        tkinter.Button(win9,
                       command=partial(langgenre.getInfo,
                                       french_movies.iloc[i]),
                       text=french_movies.iloc[i]['title'],
                       width=35,
                       height=1).grid(row=i, columnspan=2)