Skip to content

Instantly share code, notes, and snippets.

View mikehenrty's full-sized avatar

Michael Henretty mikehenrty

View GitHub Profile
import asyncio
loop = asyncio.get_event_loop()
async def hello():
await asyncio.sleep(3)
print('Hello!')
if __name__ == '__main__':
loop.run_until_complete(hello())