Re: How do I define the search path for personal library

2004-12-19 Thread les_ander
Yes, this is exactly what I wanted--just like in perl I can add search path to @inc. thanks -- http://mail.python.org/mailman/listinfo/python-list

Re: How do I define the search path for personal library

2004-12-19 Thread richardshea
If i understand correctly what you're after I think another option is import sys sys.path.append('http://mail.python.org/mailman/listinfo/python-list

Re: How do I define the search path for personal library

2004-12-18 Thread Peter Hansen
[EMAIL PROTECTED] wrote: Dear all, i have a simple question. Suppose I have my classes such as myClass1.py myClass2.py etc which I keep in a special folder ~/py_libs Now suppose I have a program that is not in py_libs but I want to do import myClass1 # note: myClass1 is not in the current directory

How do I define the search path for personal library

2004-12-18 Thread les_ander
Dear all, i have a simple question. Suppose I have my classes such as myClass1.py myClass2.py etc which I keep in a special folder ~/py_libs Now suppose I have a program that is not in py_libs but I want to do import myClass1 # note: myClass1 is not in the current directory how can I set the sear