def main():
    name_data = babynames.read_files(FILENAMES)
    print(name_data)
    top = tkinter.Tk()
    top.wm_title('Baby Names')
    canvas = gui.make_gui(top, CANVAS_WIDTH, CANVAS_HEIGHT, name_data, draw_names, babynames.search_names)
    draw_fixed_lines(canvas)
    top.mainloop()
def main():
    name_data = babynames.read_files(FILENAMES)
    print(name_data)
    top = tkinter.Tk()
    top.wm_title('Baby Names')
    canvas = gui.make_gui(top, CANVAS_WIDTH, CANVAS_HEIGHT, name_data, draw_names, babynames.search_names)
    draw_fixed_lines(canvas)
    top.mainloop()