PlayerPiano 0.1.2

Amazes your friends by running Python doctests in a fake interactive shell

  Add it to your Download Basket!

 Add it to your Watch List!

0/5

Rate it!
send us
an update
LICENSE TYPE:
BSD License 
USER RATING:
UNRATED
  0.0/5
DEVELOPED BY:
Peter Fein
HOMEPAGE:
code.google.com
CATEGORY:
ROOT \ System \ Shells
PlayerPiano amazes your friends by running Python doctests in a fake interactive shell.

PlayerPiano plays back a recorded shell session in a terminal.

recorderpiano can be used to record a shell session for later playback.

Usage


Run playerpiano < options > < FILE >, where FILE is a file containing doctests or the name of a module. Do not pass mymodule.py directly, it will confuse the doctest parser. Use mymodule instead.

Pressing any keys will type source lines, stop at the end of each source block.

Press enter to show the results block.

EOF (^D) will exit the program at the end.

Break (^C) will interrrupt the program immediately.
Options

The --color option will syntax-highlight source lines. It is currently hard-coded for a black background terminal.

The --no-terminal option will disable output on the main terminal. This is less than useful at present.

The --fifo option takes the name of a fifo to duplicate output to. After starting playerpiano with this option, you must run cat name_of_fifo in another terminal before any output will be displayed. This is useful when presenting using a projector. Start a second xterm & run cat, then put it on the overhead (with the main terminal on your laptop). This allows you to see what you're doing.

Last updated on November 17th, 2010

requirements limitations

#shell session #recorded session #interactive shell #recorded #shell #session #terminal

Add your review!

SUBMIT