smishlayev

mapper.py

Jun 10th, 2016
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.14 KB | None | 0 0
  1. #!/usr/bin/env python
  2.  
  3. import sys
  4.  
  5. for line in sys.stdin:
  6.     (date, code) = line.split(",")
  7.     print("{0}\t{1}\t{2}".format(date, code, 1)
Advertisement
Add Comment
Please, Sign In to add comment