# this was code I (voting)
with open ('/dev/usb/lp0', 'w') as lp:
print(' ', file=lp)
from random import choice
name = ['name1', 'name2', 'name3']
print('', file=lp)
print('the server is' + choice(name), file=lp)
print('...', file=lp)
# this was code II (asking the server for consent)
with open ('/dev/usb/lp0', 'w') as lp:
print(' ', file=lp)
from random import choice
name = ['yes', 'no']
print('', file=lp)
print('server, are you okay with being named soupboat? ' + choice(name), file=lp)
print('...', file=lp)