newbie - How do I import automatically?

bobueland at yahoo.com bobueland at yahoo.com
Wed Nov 16 14:05:30 EST 2005


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




More information about the Python-list mailing list