Steve posted several python programs awhile back, which had some
standard convention for checking whether the program was being
run interactively or not, and if not, did a "def main" or somesuch
to turn on variable optimization. What were these magic few lines?
Oh dear, I just realized it may be a FAQ. I'll check.
JT