Re: [Tutor] search path

2008-07-07 Thread Jerry Hill
On Sun, Jul 6, 2008 at 3:47 PM, Robert Johansson <[EMAIL PROTECTED]> wrote: > Running the script file she gets error messages claiming that the textfiles > cannot be found when they are to be opened with > fileid=file('textfilename.txt','r') even though the same thing works fine on > my system. Any

Re: [Tutor] search path

2008-07-06 Thread bob gailer
Robert Johansson wrote: I have some functions written in Matlab which I want to translate into Python so that my friends (how don’t have Matlab) can enjoy them. My program does some work on a bunch of textfiles which I have put in the same directory as the Python-scriptfile with the function

[Tutor] search path

2008-07-06 Thread Robert Johansson
I have some functions written in Matlab which I want to translate into Python so that my friends (how don't have Matlab) can enjoy them. My program does some work on a bunch of textfiles which I have put in the same directory as the Python-scriptfile with the function definitions. Things run pretty

Re: [Tutor] search path

2006-07-22 Thread Christopher Arndt
johnsonv3 schrieb: > When one installs a program (such as Panda or Livewires) into python > sitepackage folder is the python search path automnatically updated to > search the newly installed folders and files? Generally speaking, yes. The Python package (to use the proper name) either needs to ha

Re: [Tutor] search path

2006-07-22 Thread Christopher Arndt
johnsonv3 schrieb: > If one does this... > > import sys > sys.path.append("C:\\panda\direct") > > Is the change to python search path only temporary? Yes, it only changes the search path within that program. The system-wide default search path is not changed. Chris ___

Re: [Tutor] search path

2006-07-22 Thread Dave Kuhlman
On Sat, Jul 22, 2006 at 09:57:01AM -0400, johnsonv3 wrote: > Hi, > > If one does this... > > import sys > sys.path.append("C:\\panda\direct") > > Is the change to python search path only temporary? > Thanks. As we quibblers like to say, That depends on the meaning of the word "temporary". Modi

[Tutor] search path

2006-07-22 Thread johnsonv3
Another search path question   When one installs a program (such as Panda or Livewires) into python sitepackage folder is the python search path automnatically updated to search the newly installed folders and files? ___ Tutor maillist - Tutor@pyth

[Tutor] search path

2006-07-22 Thread johnsonv3
Hi,   If one does this...   import sys sys.path.append("C:\\panda\direct")   Is the change to python search path only temporary? Thanks. ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor