• Stars
    star
    117
  • Rank 301,828 (Top 6 %)
  • Language
    Python
  • License
    MIT License
  • Created over 12 years ago
  • Updated about 11 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A "pseudo-interactive" python console for live coding in presentations
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.

More Repositories

1

python-data-structure-exercises

List and dictionary exercises
Python
38
star
2

async-requests

Python
20
star
3

Discovering-Descriptors

Code from my talk "Discovering Descriptors" at Europython 2012
Python
19
star
4

Metaclasses

Code for my Djangocon talk "Advanced Python through Django: Metaclasses"
Python
17
star
5

http-crawler

A library for crawling websites
Python
15
star
6

apogee

HTML
13
star
7

munger.py

Python
7
star
8

django-amber

Harness the power of Django to build your static sites!
Python
4
star
9

qt3

dojo quantum ti tac toe
Python
4
star
10

pyrela

Relational Algebra in Python
Python
4
star
11

django-katas

Some exercises to practice using the Django ORM
Python
4
star
12

django-debug-toolbar-template-flamegraph

Generate a Flame Graph in Django Debug Toolbar for the rendering of a template
Perl
4
star
13

django-template-breakpoint

A template tag for dropping into a debugger inside a Django template
Python
3
star
14

pyconpl-2014

Code samples for "Writing Maintainable Code" at PyCon PL 2014
Python
2
star
15

botany

PyCon UK 2018 bot tournament
Python
2
star
16

django-security-workshop

A simple forum application for my workshop at PyCon UK 2015
Python
2
star
17

hurtle

Chortle lets you write run-time loadable extensions for SQLite in Python
C
1
star
18

kith

kith is a little relational algebra engine
Python
1
star
19

quantumooxx

Quantum Noughts and Crosses
Python
1
star
20

fruit-salad-python

An exercise in communicating through code
Python
1
star
21

fruit-salad

A simple exercise in communicating through code
Ruby
1
star
22

Game-of-Life

From the London Python Dojo February 2012
Python
1
star