Skip to content

A python code for creating class called TV and a Test Driver Program named TestTV that will create two objects from Class TV and will produce outputs. See demo at:

Notifications You must be signed in to change notification settings

Irish-C/tv-class-and-test-driver-program

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TV Class and Test Driver Program

a Python Code for creating the Class named TV and a Test Driver program named TestTV that will create two objects from Class TV and will produce the following output:

expected

Installation

To run the program, you'll need to have Python 3 installed on your computer.

Note: This program might works only for windows os.


I used VS Code to create and run the program.

Dependencies

The script requires the following Python packages:

  • PySimpleGUI pip install PySimpleGUI

How the code works

  1. Clone the repository.
  2. Open a terminal and navigate to the directory containing the script: cd /path/to/directory
  3. Run the script using python: python TestTV.py
  4. The python file will read another python class file called TV.py.
  5. Finally, it will display the output.

output1

Found a bug?

contact me through facebook. Link is in my profile.

About

A python code for creating class called TV and a Test Driver Program named TestTV that will create two objects from Class TV and will produce outputs. See demo at:

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages