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