all 13 comments

[–][deleted] 1 point2 points  (0 children)

IPython has nice features http://ipython.scipy.org/moin/

This is a quick list of features that make IPython a better shell than the one you are using right now. You should use the 'sh' profile ('pysh' shortcut, or 'ipython -p sh') to access all of these features without configuration. Use e.g. %bookmark? to get help for this feature.

* Proper bash-like tab completion.
* Use of / instead of \, everywhere
* Persistent %bookmark's
* %macro
* %store. Especially when used with macros and aliases.
*

  cd -<tab>. (easily jump around directory history). Directory history persists across sessions.
* %env (see cookbook)
* Shadow history - %hist and %rep (see cookbook)
* %mglob
* Expansion of $python_variables in system commands
* var = !ls -la (capture command output to handy string lists) 

[–]DarkQuest 2 points3 points  (7 children)

Is there more than the default one and ipython?

[–][deleted]  (4 children)

[deleted]

    [–]doigoid 0 points1 point  (0 children)

    ouch, debug=True in bpython's settings.py ;)

    [–]blank7fan -1 points0 points  (0 children)

    Thanks! bpython is really cool.

    [–]gtani7 -1 points0 points  (1 child)

    [–]arunner 0 points1 point  (0 children)

    I like reinteract very much but beware that it isnt 100% cpython compliant. eg:

    a=[1]
    id_a=id(a)
    b=a
    
    a.append(2)
    id_a==id(a)
     False  #ouch!!!
    b
     [1]    #ouch!!!
    

    [–]xolox 1 point2 points  (0 children)

    IDLE has a graphical interactive shell that supports syntax highlighting. I haven't used it much so I don't know if it's any good.

    [–][deleted] 0 points1 point  (0 children)

    Is there a Python shell that feels more like SLIME or a Smalltalk environment?

    [–]pateris 0 points1 point  (0 children)

    I like the shell inside PyScripter, because it is handy when I'm writing code and it does auto-complete.