2

Is there a way to do inline pydocs in iPython the same way it works in bpython.

bpython screenshots from their site: bpython xrange docs bpython os pydocs

MatthewMartin
  • 32,326
  • 33
  • 105
  • 164
prafulfillment
  • 911
  • 2
  • 11
  • 26
  • Just in case you missed it - it's not as good as bpython's interactive hints, but you can append '?' or '??' to any method call, press enter and get the docs and implementation. – Eduardo Ivanec Mar 01 '12 at 17:35
  • Hmm I saw that but is there no way to script the functionality? The strengths of both programs would be ideal to have in one program. – prafulfillment Mar 01 '12 at 19:37
  • 2
    There was another question about this recently: http://stackoverflow.com/questions/9444956/ipython-with-bpython-features . We would like someone to do a bpython-like frontend for IPython, perhaps using code from bpython. Ask on the mailing list for details if you're interested in having a go. – Thomas K Mar 01 '12 at 22:19
  • @ThomasK: Make what you said an answer. – Mechanical snail Apr 05 '12 at 06:06

2 Answers2

1

[Related] Another quite interesting python console: http://dreampie.sourceforge.net/

marbdq
  • 1,235
  • 8
  • 5
1

I would suggest bipython. It works like if Ipython have an implementation of bpython. You'll need to call bipython within the Ipython console.

I would suggest that you to ask any issue about bipython to their github.

Papouche Guinslyzinho
  • 5,277
  • 14
  • 58
  • 101
  • I'm actually changed my workflow to use IPython Notebooks which has all the features I want plus a really convenient way to share my work with friends. I no longer work in the shell directly, just a protected hosted IPython Notebook. Notebook has inline docs, color-coding, and the advantage of writing Markdown comments to explain the code. – prafulfillment Sep 14 '14 at 16:31
  • Usually I found that when someone asking for an implementation of bpython in Ipython they end up switching to Ipython Notebooks completly and tend to use bpython for the more so basic/quick stuff. Switching for Ipython proves your maturity in python. – Papouche Guinslyzinho Sep 15 '14 at 04:40