Skip to content

Latest commit

 

History

History
28 lines (23 loc) · 1.01 KB

File metadata and controls

28 lines (23 loc) · 1.01 KB

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.