view python/realpath.py @ 740:25622fb5906d

example code for counting + duplicates
author Jeff Hammel <k0scist@gmail.com>
date Wed, 27 May 2015 15:55:29 -0700
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)