bpython - fancy Python shell

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Bob Farrell

    bpython - fancy Python shell


    I released this a while ago but did some work recently to fix some bugs
    so I thought I may as well post it here. To quickly summarise:
    In-line syntax highlighting
    Auto complete with suggestions as you type
    Pastebin stuff, save to file
    "Rewind" feature to jump back a line if you mess up (don't ask how it
    works, please ;)

    You can get it here:


    There's info about git repos and what have you there, and apparently
    it's also in some real distro repos, but I don't know the details.

    Oh, and you'll need pygments and pyparsing, and it doesn't work on
    Windows (heard good reports about it working fine on a Mac though).
    --
    Bob Farrell
  • Andrii V. Mishkovskyi

    #2
    Re: bpython - fancy Python shell

    2008/6/15, Bob Farrell <robertanthonyf arrell@googlema il.com>:
    >
    I released this a while ago but did some work recently to fix some bugs
    so I thought I may as well post it here. To quickly summarise:
    In-line syntax highlighting
    Auto complete with suggestions as you type
    Pastebin stuff, save to file
    "Rewind" feature to jump back a line if you mess up (don't ask how it
    works, please ;)
    >
    You can get it here:

    >
    There's info about git repos and what have you there, and apparently
    it's also in some real distro repos, but I don't know the details.
    >
    Oh, and you'll need pygments and pyparsing, and it doesn't work on
    Windows (heard good reports about it working fine on a Mac though).
    Great work, bobf. :)
    I've been using bpython from time to time for a month now, so I can
    only appreciate the fact that bpython is developing. I think that with
    that speed of development bpython will substitute ipython as my
    everyday python console in the near future (3-4 months).

    P.S. I think you should of cc'd this announcement to python-announce-list. ;)

    --
    Wbr, Andrii Mishkovskyi.

    He's got a heart of a little child, and he keeps it in a jar on his desk.

    Comment

    • Wolfgang Grafen

      #3
      Re: bpython - fancy Python shell

      I couldn't get it work on Solaris (modified some lines for Python2.3).
      One reason was that I had to download pyreadline separately
      - I did than but now pyreadline requires either ironpython or
      a windows installation. Something is going wrong...

      Best regards

      Wolfgang

      Bob Farrell schrieb:
      I released this a while ago but did some work recently to fix some bugs
      so I thought I may as well post it here. To quickly summarise:
      In-line syntax highlighting
      Auto complete with suggestions as you type
      Pastebin stuff, save to file
      "Rewind" feature to jump back a line if you mess up (don't ask how it
      works, please ;)
      >
      You can get it here:

      >
      There's info about git repos and what have you there, and apparently
      it's also in some real distro repos, but I don't know the details.
      >
      Oh, and you'll need pygments and pyparsing, and it doesn't work on
      Windows (heard good reports about it working fine on a Mac though).

      Comment

      • Sebastian \lunar\ Wiesner

        #4
        Re: bpython - fancy Python shell

        Wolfgang Grafen <wolfgang.grafe n@ericsson.com> :
        I couldn't get it work on Solaris (modified some lines for Python2.3).
        If solaris doesn't have a readline library, you might try to compile gnu
        readline, and recompile python (also a chance to get the current version
        2.5)
        One reason was that I had to download pyreadline separately
        - I did than but now pyreadline requires either ironpython or
        a windows installation.
        pyreadline is a windows-only thing. Since readline is a standard module on
        most unix systems and linux, there was no need to implement pyreadline for
        these systems. It would have been difficult anyway, since the windows
        console is completely different to unix consoles (which are fairly
        compatible to each other, a outcome of POSIX efforts).

        --
        Freedom is always the freedom of dissenters.
        (Rosa Luxemburg)

        Comment

        Working...