Skip to content

Instantly share code, notes, and snippets.

@kived
kived / TPython.md
Last active July 3, 2018 10:42
TPython: IPython with a Twisted reactor

Run a Twisted reactor inside IPython.

  1. Copy twist.py to ~/.ipython/twist.py
  2. Copy tpython to ~/bin/tpython
  3. Make tpython executable: chmod +x ~/bin/tpython

You may need to add $HOME/bin to your path.