bbxx789_05ss at yahoo.com
Thu Apr 5 20:53:35 CEST 2007
On Apr 5, 12:38 pm, "Andre P.S Duarte" <andre.ditador9... at gmail.com>
> 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.
More information about the Python-list