newbie - How do I import automatically?

bobueland at yahoo.com bobueland at yahoo.com
Tue Nov 15 16:55:27 EST 2005


I've tried as you said but it doesn't work. I'm working with Windows
XP. I right click at my computer go to Advanced, choose Environment
Variables and set PYTHONSTARTUP variable to C:\Python24\binit.py. It
looks like this

# binit.py
from btools import *

I've restarted the computer and started IDLE but I only get

IDLE 1.1.1
>>> dir()
['__builtins__', '__doc__', '__name__']
>>> 

What could be wrong?




More information about the Python-list mailing list