Skip to main content

Presentation Console

Project description

Presentation Console: prescons.py

This is a “pseudo-interactive” python console for giving presentations that involve some live coding. It reads code from an input file and runs it line by line. You can move through the code by hitting the space bar.

You can also switch to (and from) a normal interactive console by pressing Ctrl-C. This allows you to inspect, and even make changes to, the console’s environment in the middle of a presentation.

There is a video of it in action, for my Europython talk on the descriptor protocol, at youtube.com/watch?v=D3-NZXHO5QI. The input file can be found at github.com/inglesp/Discovering-Descriptors/blob/master/descriptors.py.

Suggestions, bug reports, patches welcome at github.com/inglesp/prescons.

Usage:

$ python prescons.py <filename>

Alternatively, install the library from PyPI (eg with $ pip install prescons) and then run:

$ python -m prescons <filename>

Tested on Posix and Windows, and with pythons 2.7 and 3.2+

Thanks to Asim Ihsan (github.com/asimihsan) and Tom Close (github.com/TomClose) for testing and ideas.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

prescons-0.2.1.tar.gz (2.6 kB view details)

Uploaded Source

File details

Details for the file prescons-0.2.1.tar.gz.

File metadata

  • Download URL: prescons-0.2.1.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for prescons-0.2.1.tar.gz
Algorithm Hash digest
SHA256 a2aac5c7a04eb42fd7fd676682be9a319d1722c9f4a22862e6e2e2421ec532d6
MD5 4b048a2afeb34ba7d4e8b96d5966b3af
BLAKE2b-256 76b17bbb41a117377c0e1ba0fdebd9d0efde3873fc80bddc56eb77494069c863

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page