Instantly share code, notes, and snippets.

Embed
What would you like to do?
import sys
for line in sys.stdin:
print ','.join([item if len(item.strip()) else '\N'
for item in line.strip().split(',')])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment