Question
in python 2.7 I need to write a gui program that opens a image browser for my hard disk. the program needs to load a
in python 2.7 I need to write a gui program that opens a image browser for my hard disk. the program needs to load a scrolling list box with filenames of images in cwd, names of subdirectories in the cwd, and the string ".." denoting the parent directory.
the pathname of the cwd should also be displayed in an entry feild. when the user selects an item in the list boc and presses the go button if the item is an image filename the image should be 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 and refreshes the list box with its content.
Please do not respond with the attached coding as I do not understand it. I need the full code to enter into IDLE to get the program to run without issue. It should use Tkinter with list and scrolling boxes.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started