Print to the Same Line in Python
TIL that Python has a sort of unexpected syntax for printing to the same line:
print('publish JSON to RabbitMQ exchange... '), publish_json() print('[DONE]')
>>> publish JSON to RabbitMQ exchange... [DONE]
Yes, that dangling comma.
More here.