view python/realpath.py @ 834:6fd2b3b4fb01

dont presuppose PATH
author Jeff Hammel <k0scist@gmail.com>
date Mon, 20 Feb 2017 20:18:42 -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)