![]() """Creates and inserts a button at the row and column,īutton = tkinter. columnconfigure( column, weight = 1)Ĭolumnspan = columnspan, rowspan = rowspan, """Creates and inserts a label at the row and column, The row and column inīackground = "white", foreground = "black"): """Resets the window's title to title.""" geometry( str( width) + "x" + str( height)) """Resets the window's width and height in pixels.""" """Resets the window's resizable property to True """Resets the window's background color to color.""" # Set the background color and resizability After doing that, please run your code again. and change the Graphics backend there to Tkinter. Tools > Preferences > IPython console > Graphics. Therefore, to make it work, please go to the menu. _init_( self, borderwidth = 4, relief = "sunken") ( Spyder maintainer here) According to its docs, breezypythongui is based on Tkinter. """Will shrink wrap the window around the widgets if width INSTALLATION: Put this file where Python can see it.ĭef _init_( self, title = "", width = None, height = None, ![]() Run on any platform where tkinter is available. PLATFORMS: The package is a wrapper around tkinter (Python 3.X) and should Written by Ken Lambert and Martin Osborne. Of BreezyGUI and BreezySwing, open-source frameworks for writing GUIs in Java, LICENSE: This is open-source software released under the terms of the messageBox( title = "Report", message = h, width = 70, height = 50) Print( f"Recommendations for ", message = s, width = 60, height = 10)Īll_names = bookrecs. Reader = input( "Enter a reader's name: ") append( final_recommendations + sorted_title) append( tuple( kit))įor u in range( 0, len( final_recommendations)): Sorted_author_book = sorted( author_name_title, key = itemgetter( 0, 1, 2))įinal_recommendations. append( tuple( name_book_tuple))įor q in range( 0, len( author_name_tuple)):Īuthor_name_title. get)īooks_not_read = #a list of the books the reader hasn't readĪ_dictionary = dict( zip( book_information, ratings_dictionary))ī_dictionary = dict( zip( book_information, ratings_dictionary]))Ĭ_dictionary = dict( zip( book_information, ratings_dictionary]))Īuthor_name_list. Maximum_two = max( score_dictionary, key = score_dictionary. Maximum_one = max( score_dictionary, key = score_dictionary. Score_dictionary = dict( zip( new_name_list, score_list)) Ratings_dictionary = dict( zip( names, num_list))Ĭompared_reader_ratings = ratings_dictionaryĪffinity_score = dot( reader_ratings, compared_reader_ratings) With open( "ratings.txt", "r") as ratings: With open( "booklist.txt", "r") as books:īook_information.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |