[ create a new paste ] login | about

Link: http://codepad.org/iAlNYjkn    [ raw code | output | fork ]

Python, pasted on Nov 8:
1
2
3
4
5
#!/usr/bin/python
''' ./uniq.py ./data.txt
import sys 
with open(sys.argv[1], 'r') as f:
    print ''.join(list(set([i for i in f])))


Output:
1
2
3
4
  Line 7
    
    ^
SyntaxError: EOF while scanning triple-quoted string


Create a new paste based on this one


Comments: