Re: [Tutor] sys.path and the path order

2010-04-23 Thread Dave Angel
Garry Willgoose wrote: My question is so simple I'm surprised I can't find an answer somewhere. I'm interested if I can rely on the order of the directories in the sys.path list. When I'm running a file from the comand line like python tellusim.py The string in entry sys.path[0] appears to b

Re: [Tutor] sys.path and the path order

2010-04-22 Thread Steven D'Aprano
On Fri, 23 Apr 2010 10:34:02 am Garry Willgoose wrote: > My question is so simple I'm surprised I can't find an answer > somewhere. Did you read the Fine Manual? > I'm interested if I can rely on the order of the > directories in the sys.path list. [...] > The question is can I rely on entry

[Tutor] sys.path and the path order

2010-04-22 Thread Garry Willgoose
My question is so simple I'm surprised I can't find an answer somewhere. I'm interested if I can rely on the order of the directories in the sys.path list. When I'm running a file from the comand line like python tellusim.py The string in entry sys.path[0] appears to be the full path to th