forked from goodboy/tractor
1
0
Fork 0
tractor/examples/ipython_shell.py

17 lines
219 B
Python

import trio
from tractor.trionics import ipython_embed
async def main():
doggy = 99
kitty = 'meow'
await ipython_embed()
assert doggy
assert kitty
if __name__ == '__main__':
trio.run(main)