Adding a pipenv dependencies file to the python client example (#250)

This commit is contained in:
Dave Hrycyszyn
2020-06-01 16:08:01 +01:00
committed by GitHub
parent 9d3500c0c5
commit beacd21b46
4 changed files with 84 additions and 1 deletions
@@ -6,6 +6,7 @@ self_address_request = json.dumps({
"type": "selfAddress"
})
async def send_text():
message = "Hello Nym!"
@@ -28,6 +29,6 @@ async def send_text():
print("waiting to receive a message from the mix network...")
received_message = await websocket.recv()
print("received {} from the mix network!".format(received_message))
print("received '{}' from the mix network".format(received_message))
asyncio.get_event_loop().run_until_complete(send_text())