[Python-3000] Path Reform: Get the ball rolling

Michael Urman murman at gmail.com
Wed Nov 1 15:03:55 CET 2006


>        p = os.path.normpath( os.path.join( __file__, "../..", "lib" ) )

Shouldn't an example avoid using the path separator directly within a
string literal?

    p = path.normpath(path.join(__file__, "..", "..", "lib"))

-- 
Michael Urman


More information about the Python-3000 mailing list