Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for line in ( l.split(":") for l in ( l.strip() for l in someFile ) ):
- print line[0], line[3]
- cleaned = ( l.strip() for l in someFile )
- split = ( l.split(":") for l in cleaned )
- for line in split:
- print line[0], line[3]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement