Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View thoth-ky's full-sized avatar
👨‍💻
Code.Eat.Watch

Mutuku Kyalo thoth-ky

👨‍💻
Code.Eat.Watch
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())