colapsing multiple for loops
#!/usr/bin/env python
import glob, sys
def globlist(l): return (j for i in l for j in glob.iglob(i))
for filename in globlist(sys.argv[1:]): print filename
#!/usr/bin/env python
import glob, sys
def globlist(l): return (j for i in l for j in glob.iglob(i))
for filename in globlist(sys.argv[1:]): print filename