Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/inglesp/prescons
A "pseudo-interactive" python console for live coding in presentations
https://github.com/inglesp/prescons
Last synced: 15 days ago
JSON representation
A "pseudo-interactive" python console for live coding in presentations
- Host: GitHub
- URL: https://github.com/inglesp/prescons
- Owner: inglesp
- License: mit
- Created: 2012-03-19T22:49:01.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2013-08-24T12:29:44.000Z (about 11 years ago)
- Last Synced: 2024-10-12T07:26:11.108Z (about 1 month ago)
- Language: Python
- Homepage:
- Size: 83 KB
- Stars: 117
- Watchers: 7
- Forks: 7
- Open Issues: 1
-
Metadata Files:
- Readme: README
- License: LICENSE
Awesome Lists containing this project
README
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
Alternatively, install the library from PyPI (eg with $ pip install prescons)
and then run:$ python -m prescons
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.