EnglishFrenchSpanish

Ad


OnWorks favicon

bpython-curses - Online in the Cloud

Run bpython-curses in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command bpython-curses that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


bpython - a fancy {curtsies, curses, urwid} interface to the Python interactive
interpreter

SYNOPSIS


bpython [options] [file [args]]

bpython-curses [options] [file [args]]

bpython-urwid [options] [file [args]]

DESCRIPTION


The idea is to provide the user with all the features in-line, much like modern IDEs, but
in a simple, lightweight package that can be run in a terminal window.

In-line syntax highlighting.
Hilights commands as you type!

Readline-like autocomplete with suggestions displayed as you type.
Press tab to complete expressions when there's only one suggestion.

Expected parameter list.
This displays a list of parameters for any function you call. It uses the inspect
module, then tries pydoc.

Rewind.
This is a bit misleading, but it code that has been entered is remembered, and when
you Rewind, it pops the last line and re-evaluates the entire code. This is
error-prone, and mostly useful for defining classes and functions.

Pastebin code/write to file.
This posts the current buffer to a pastebin (bpaste.net) or writes it to a file.

Flush curses screen to stdout.
Unlike other curses apps, bpython dumps the screen data to stdout when you quit, so
you see what you've done in the buffer of your terminal.

OPTIONS


The long and short forms of options, shown here as alternatives, are equivalent. If
bpython sees an argument it does not know, execution falls back to the regular Python
interpreter.

The following options are supported by all frontends:

--config=<config>
Use <config> instead of default config file.

-h, --help
Show the help message and exit.

-i, --interactive
Drop to bpython shell after running file instead of exiting. The PYTHONSTARTUP file
is not read.

-q, --quiet
Do not flush the output to stdout.

-V, --version
Print bpython's version and exit.

In addition to the above options, bpython also supports the following options:

-L, --log
Write debugging messages to the file bpython.log. Use -LL for more verbose logging.

-p file, --paste=file
Paste in the contents of a file at startup.

In addition to the common options, bpython-urwid also supports the following options if
Twisted is available:

-r <reactor>, --reactor=<reactor>
Use Twisted's <reactor> instead of urwid's event loop.

--help-reactors
Display a list of available Twisted reactors.

-p <plugin>, --plugin=<plugin>
Execute a twistd plugin. Use twistd to get a list of available plugins. Use -- to
pass options to the plugin.

-s <port>, --server=<port>
Run an eval server on port <port>. This option forces the use of a Twisted reactor.

KEYS


bpython's keys are fully configurable. See
http://docs.bpython-interpreter.org/configuration.html#keyboard

Use bpython-curses online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    AstrOrzPlayer
    AstrOrzPlayer
    AstrOrz Player is a free media player
    software, part based on WMP and VLC. The
    player is in a minimalist style, with
    more than ten theme colors, and can also
    b...
    Download AstrOrzPlayer
  • 2
    movistartv
    movistartv
    Kodi Movistar+ TV es un ADDON para XBMC/
    Kodi que permite disponer de un
    decodificador de los servicios IPTV de
    Movistar integrado en uno de los
    mediacenters ma...
    Download movistartv
  • 3
    Code::Blocks
    Code::Blocks
    Code::Blocks is a free, open-source,
    cross-platform C, C++ and Fortran IDE
    built to meet the most demanding needs
    of its users. It is designed to be very
    extens...
    Download Code::Blocks
  • 4
    Amidst
    Amidst
    Amidst or Advanced Minecraft Interface
    and Data/Structure Tracking is a tool to
    display an overview of a Minecraft
    world, without actually creating it. It
    can ...
    Download Amidst
  • 5
    MSYS2
    MSYS2
    MSYS2 is a collection of tools and
    libraries providing you with an
    easy-to-use environment for building,
    installing and running native Windows
    software. It con...
    Download MSYS2
  • 6
    libjpeg-turbo
    libjpeg-turbo
    libjpeg-turbo is a JPEG image codec
    that uses SIMD instructions (MMX, SSE2,
    NEON, AltiVec) to accelerate baseline
    JPEG compression and decompression on
    x86, x8...
    Download libjpeg-turbo
  • More »

Linux commands

  • 1
    abi-tracker
    abi-tracker
    abi-tracker - visualize ABI changes
    timeline of a C/C++ software library.
    DESCRIPTION: NAME: ABI Tracker
    (abi-tracker) Visualize ABI changes
    timeline of a C/C+...
    Run abi-tracker
  • 2
    abicheck
    abicheck
    abicheck - check application binaries
    for calls to private or evolving symbols
    in libraries and for static linking of
    some system libraries. ...
    Run abicheck
  • 3
    couriermlm
    couriermlm
    couriermlm - The Courier mailing list
    manager ...
    Run couriermlm
  • 4
    couriertcpd
    couriertcpd
    couriertcpd - the Courier mail server
    TCP server daemon ...
    Run couriertcpd
  • 5
    gbklatex
    gbklatex
    bg5latex - Use LaTeX directly on a Big5
    encodedtex file bg5pdflatex - Use
    pdfLaTeX directly on a Big5 encodedtex
    file bg5+latex - Use LaTeX directly on a
    Big5+...
    Run gbklatex
  • 6
    gbkpdflatex
    gbkpdflatex
    bg5latex - Use LaTeX directly on a Big5
    encodedtex file bg5pdflatex - Use
    pdfLaTeX directly on a Big5 encodedtex
    file bg5+latex - Use LaTeX directly on a
    Big5+...
    Run gbkpdflatex
  • More »

Ad