Python, Call a class function from another class
Can you anyone please help me (noob) call the broadcast function from class BroadcastServerFactory in class process , as per attached code I have tried so many methods of call a function from another class, but no solution import time, sys from apscheduler.scheduler import Scheduler import threading import socket from twisted.internet import reactor from twisted.python import log from twisted.web.server import Site from twisted.web.static import File from autobahn.websocket import WebSocketServerFactory, \ WebSocketServerProtocol, \ listenWS class process(threading.Thread): def __init__(self,