Where do I put def runsource(self, source): if(source == ''): source = 'from btools import *' "Extend base class method: Stuff the source in the line cache first" filename = self.stuffsource(source) Do I put it in Pyshell.py or somewhere else? Bob