view python/realpath.py @ 105:6463a7e37c45

account for trailing slash
author Jeff Hammel <jhammel@mozilla.com>
date Fri, 26 Nov 2010 11:30:47 -0800
parents f3ab51c79813
children
line wrap: on
line source

#!/usr/bin/env python
import os, sys
for i in sys.argv[1:]:
    print os.path.realpath(i)