IT 117: Intermediate Scripting
Class 25

Review


New Material

Readings

If you have the textbook read Chapter 13, GUI Programming.

Review

Recursive Functions

Writing Recursive Functions

Calculating the Factorial of a Number

Calculating Fibonacci Numbers

Another Example of Recursion

Replacing Recursion with a Loop

Calculating Factorials with a Loop

Calculating Fibonacci Numbers with a Loop

Direct versus Indirect Recursion

New Material

The First Computer Interfaces

The Command Line as an Interface

Birth of the Graphical User Interface

GUI Programs Are Event-Driven

Running Graphic Programs

The Tkinter Module

Using Tkinter

Changing the Empty Window

Running Graphical Python Programs

Widgets

Label Widgets

Changing the Fonts in a Label

Changing the Way I Import Tkinter

Changing Label Colors

Privacy

Attendance

Class Exercise

Class Quiz