[EMAIL PROTECTED] wrote:
> I tried to put the line
> from btools import *
> in several places in PyShell.py
> but to now avail. It does not work, IDLE does not execute it???

IDLE definitely executes PyShell.py upon startup, since IDLE does not 
even appear on the screen if there is an error in that file. The 
following seems to work for me, in PyShell.py. After importing both sys 
and os,

sys.modules['__main__'].__dict__['os'] = os

Then, if I start IDLE, the module os is directly available.

HTH
/MiO
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to