from src.Server import Server from src.util.Logger import LogFormatter, logger if __name__ == "__main__": LogFormatter.debugMode(True) Server.run() logger.info("Server has been successfully stopped.")
import sys from src.Server import Server from src.Client import Client if len(sys.argv) > 1: client = Client(sys.argv[1], sys.argv[2]) client.run() else: server = Server() server.run()