#!/usr/bin/env python """ This script is intended to be run as an SSI exec. It will print out the last n entries in the specified notebook. Sample invocation: (Will print out the 30 most recent entries in mynotebook, or all the entries if there are less than 30.) """ import __builtin__ __builtin__.__dict__['_'] = lambda x: x from nb import CoreSSIs CoreSSIs.LastNEntriesSSI()