import subprocess

process = []

while True:
    action = input('Choose: q - quit \n'
                   's - server run \n'
                   'c - console run \n'
                   'x - terminate processes\n'
                   'Your choise: ')
    if action == 'q':
        break
    elif action == 's':
        process.append(subprocess.Popen('python server.py', creationflags=subprocess.CREATE_NEW_CONSOLE))
    elif action == 'c':
        clients_count = int(input('Console number to launch: '))
        for i in range(clients_count):
            process.append(subprocess.Popen(f'python client.py -n Anonymous{i + 1}', creationflags=subprocess.CREATE_NEW_CONSOLE))
    elif action == 'x':
        while process:
            process.pop().kill()
545a8c089a4e7281af490c59fa6eaf69abe90c19
<mask token>

<mask token>
while True:
    action = input(
        """Choose: q - quit 
s - server run 
c - console run 
x - terminate processes
Your choise: """
        )
    if action == 'q':
        break
    elif action == 's':
        process.append(subprocess.Popen('python server.py', creationflags=
            subprocess.CREATE_NEW_CONSOLE))
    elif action == 'c':
        clients_count = int(input('Console number to launch: '))
        for i in range(clients_count):
            process.append(subprocess.Popen(
                f'python client.py -n Anonymous{i + 1}', creationflags=
                subprocess.CREATE_NEW_CONSOLE))
    elif action == 'x':
        while process:
            process.pop().kill()

<mask token>
process = []
while True:
    action = input(
        """Choose: q - quit 
s - server run 
c - console run 
x - terminate processes
Your choise: """
        )
    if action == 'q':
        break
    elif action == 's':
        process.append(subprocess.Popen('python server.py', creationflags=
            subprocess.CREATE_NEW_CONSOLE))
    elif action == 'c':
        clients_count = int(input('Console number to launch: '))
        for i in range(clients_count):
            process.append(subprocess.Popen(
                f'python client.py -n Anonymous{i + 1}', creationflags=
                subprocess.CREATE_NEW_CONSOLE))
    elif action == 'x':
        while process:
            process.pop().kill()

import subprocess
process = []
while True:
    action = input(
        """Choose: q - quit 
s - server run 
c - console run 
x - terminate processes
Your choise: """
        )
    if action == 'q':
        break
    elif action == 's':
        process.append(subprocess.Popen('python server.py', creationflags=
            subprocess.CREATE_NEW_CONSOLE))
    elif action == 'c':
        clients_count = int(input('Console number to launch: '))
        for i in range(clients_count):
            process.append(subprocess.Popen(
                f'python client.py -n Anonymous{i + 1}', creationflags=
                subprocess.CREATE_NEW_CONSOLE))
    elif action == 'x':
        while process:
            process.pop().kill()

import subprocess

process = []

while True:
    action = input('Choose: q - quit \n'
                   's - server run \n'
                   'c - console run \n'
                   'x - terminate processes\n'
                   'Your choise: ')
    if action == 'q':
        break
    elif action == 's':
        process.append(subprocess.Popen('python server.py', creationflags=subprocess.CREATE_NEW_CONSOLE))
    elif action == 'c':
        clients_count = int(input('Console number to launch: '))
        for i in range(clients_count):
            process.append(subprocess.Popen(f'python client.py -n Anonymous{i + 1}', creationflags=subprocess.CREATE_NEW_CONSOLE))
    elif action == 'x':
        while process:
            process.pop().kill()