Greg Stein
gstein at lyra.org
Sun Jun 25 15:57:55 EST 2000
On Sun, Jun 25, 2000 at 05:41:24PM -0400, Sean True wrote: > At 01:56 PM 6/25/00 -0700, you wrote: > >Huh? How about specifying the path in standard DIR:DIR:DIR notation, and > >using: > > > > sys.path = sys.path + string.split(directive_arg, ':') > > > >No need to eval at all. > Not as tasteful on Wintel platforms, though. Fine. Then use os.pathsep rather than ':' The *point* is valid -- there is no need for an eval in there, no need for a Python expression, and every possibility of using "standard" path notations. Cheers, -g -- Greg Stein, http://www.lyra.org/
|