Michael Urman wrote: >> p = os.path.normpath( os.path.join( __file__, "../..", "lib" ) ) > > Shouldn't an example avoid using the path separator directly within a > string literal?
And avoid using a platform-specific parent directory specifier: p = path.normpath(path.join(__file__, os.pardir, os.pardir, "lib")) -- Greg _______________________________________________ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com