def main(): server = PubSubServer() cli1 = Client('Chris', server) cli1.subscribe('news') cli2 = Client('Tony', server) cli2.subscribe('news') cli3 = Client('Someone', server) print() cli3.publish('news', "It's a good day!")