What alternatives to IRB are there?

前端 未结 9 1050
一生所求
一生所求 2021-01-31 03:17

In the python world, there are a number of alternative python interpreters that add cool additional features. One particularly useful example is bpython, which adds dynamic synt

9条回答
  •  太阳男子
    2021-01-31 03:49

    Use Pry: https://github.com/pry/pry

    Let's you:

    • start sessions at runtime
    • view method source code
    • view method documentation (not using RI so you dont have to pre-generate it)
    • pop in and out of different contexts
    • syntax highlighting
    • gist integration
    • view and replay history
    • open editors to edit method using edit-method obj.my_method syntax

    A tonne more great and original features

提交回复
热议问题