Skip to content

Instantly share code, notes, and snippets.

@alairock
Created March 9, 2018 00:08
Show Gist options
  • Save alairock/90e84b6e99dc8e497a448e072d5cf40b to your computer and use it in GitHub Desktop.
Save alairock/90e84b6e99dc8e497a448e072d5cf40b to your computer and use it in GitHub Desktop.
import asyncio
loop = asyncio.get_event_loop()
loop.run_until_complete(some_func())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment