bookrecs_gui.py - Name Gui for Book Recommendations Author...

This preview shows page 1 - 2 out of 2 pages.

''' Name: Gui for Book Recommendations Author: Ethan Balling Due Date: Course: CS1410-001 Details: The program creates a gui for bookrecs.py using the breezypythongui module. The gui will be an interactive window allowing the user to input specific readers to get their friends, or book recommendations. Or the user can request a report that displays all friends and book recommendations for each reader in alphabetical order. "I declare that the following source code was written solely by me. I understand that copying any source code, in whole or in part, constitutes cheating, and that I will receive a zero on this project if I am found in violation of this policy." ''' from breezypythongui import EasyFrame import bookrecs_project1 class Gui(EasyFrame): ''' Gui class initializes and manages the elements and actions of the user interface. ''' #Initialize EasyFrame and buttons def __init__(self): EasyFrame.__init__(self, title='Book Recommendations', width=280, height=60, background='powder blue') self.reader_name = '' self.friends = self.addButton(text='Friends', row=0, column=0,

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture