Midterms Reviewer

Cards (44)

  • Advanced Python - refers to the more complex and powerful features of Python Programming
  • AP Project Samples
    1. Chatbot Development
    2. Data Visualization
    3. Web Scraping
    4. Machine Learning
    5. Blockchain Development
  • Python Tkinter - is the fastest and simplest in-built Python module that is used to create GUI Applications
  • GUI Applications Python Libraries
    1. Kivy
    2. Python Qt
    3. Wx Python
  • Graphical User Interface - is a form of user interface that allows users to interact with computers through visual indicators
  • Four Essential Concepts related to Programming Tools
    1. Widgets
    2. Options
    3. Methods
    4. Event-driven or Visual Programming
  • Python Module - A GUI application that has buttons, windows, and a lot of other widgets that the user can use to interact with your application
  • Widgets - It is an element of GUI that displays or illustrates information or gives way for the user to interact with the OS
  • Label() - it is used to display text or image on the screen
  • Button() - it is used to add button to your application
  • Canvas() - it is used to draw pictures and other layouts like texts, graphics, etc.
  • ComboBox() - it contains a down arrow to select from list of available options
  • CheckButton() - it displays a number of options to the user as toggle buttons from which the user can select any number of options
  • RadioButton() - it is used to implement one-of-many selection as it allows only one option to be selected
  • Entry() - it is used to input single line text entry from user
  • Frame() - it is used as container to hold and organize the widgets
  • Message() - it works same as the label and refers to the multi-line and non-editable text
  • Scale() - it is used to provide a graphical slider that allows to select any value from that scale
  • Scrollbar() - it is used to scroll down the contents. It provides a slide controller
  • SpinBox() - it allows user to select from the given set of values
  • Text() - it allows user to edit multi-line and format the way it has to be displayed
  • Menu() - it is used to create all kind of menus used by the application
  • Geometry Management - it is used to manage the geometry of the window and other frames. It can use to handle the position and size of your application
  • Pack() - the ____ geometry manager packs widgets in rows and columns
  • Grid() - the ____ geometry puts the widgets in a 2-dimensional table
  • Place() - it allows the user to explicitly set the position and size of the window either in absolute terms or relative to another window
  • Kivy - is a free and open source Python framework for developing mobile apps and other multitouch application software with a natural user interface
  • Layout Management - is the process of arranging widgets on a Tkinter window in Python.
  • The Pack() method is used to arrange widgets in a horizontal or vertical stack
  • The Place() method allows you to specify the exact x and y coordinates for widget placement
  • The Grid() method arranges widgets in a grid, similar to rows and columns
  • label1 = Label(root, text="Hi!")
    label1.pack(side="top")
  • Information Message Box:
    tkinter.messagebox.showinfo(title=None, message=None)
  • Warning Message Box:
    tkinter.messagebox.showwarning(title=None, message=None)
    tkinter.messagebox.showerror(title=None, message=None)
  • Question Message Box:
    tkinter.messagebox.askquestion(title=None, message=None)
    tkinter.messagebox.askokcancel(title=None, message=None)
    tkinter.messagebox.askretrycancel(title=None, message=None)
    tkinter.messagebox.askyesno(title=None, message=None)
    tkinter.messagebox.askyesnocancel(title=None, message=None)
  • Information - ℹ️
  • Warning - ⚠️
  • Error - ❌
  • Question - ❔
  • window = Canvas(window, width=600, height=300)