Question: Programming Project #8 Introduction to Computing GUI-Based Image Browser - Project 9 of Chapter 9 on page 392 Write a GUI-based program that implements an

Programming Project #8 Introduction to Computing

GUI-Based Image Browser - Project 9 of Chapter 9 on page 392

"Write a GUI-based program that implements an image browser for your computer's hard disk. At start-up, the program should load a scrolling list box with three types of items:

The filenames of the images in the current working directory

The names of any subdirectories within the current working directory

The string ".." (denoting the parent directory)

The pathname of the current working directory is also displayed in an entry field. When the user selects an item in the list box and presses the Go button, one of three things can happen:

If the item is an image filename, the image is loaded and displayed.

If the item is a subdirectory, the program attaches to that directory and refreshes the list box contents.

If the item is the string "..", the program attaches to the parent directory if there is one and refreshes the

list

box with its contents.

In the last two cases, the contents of the entry field are also updated."

ADDITIONAL REQUIREMENTS:

When you write your program, be sure to use:

meaningful variable names with good style (i.e., useCamelCase or use_underscores)

docstring comments at the start of the program and after the "def"inition of each function which

describing what they do

a main function (see lab4 Part C) located at the top of program with a call to it at the bottom of the file

to start execution

global constants where appropriate with good style (ALL_CAPS_AND_UNDERSCORES).

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Mathematics Questions!