On Apr 5, 12:38 pm, "Andre P.S Duarte" <[EMAIL PROTECTED]> wrote: > How do I define a function, then import it, without having to save it > in lib; like "C:\python25\lib". ?
...or permanently set your PYTHONPATH environment variable to the folders you want python to look in for the modules you import. That way you won't have to use sys.path.append() to temporarily append the path in all your programs. -- http://mail.python.org/mailman/listinfo/python-list