Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import random
- import time
- class Control():
- def __init__(self, status = "off", volume = 0, channel_list = ["AzTv"], channel = "AzTv"):
- self.status = status
- self.channel_list = channel_list
- self.channel = channel
- self.volume = 0
- def __del__(self):
- print("Deleting the system...")
- lg = Control("on",23,["AzTv","TRT","CBC","BBC","NatGeoWild"],"CBC")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement