Skip to content

Instantly share code, notes, and snippets.

@fangpenlin
Created September 26, 2012 05:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fangpenlin/3786232 to your computer and use it in GitHub Desktop.
Save fangpenlin/3786232 to your computer and use it in GitHub Desktop.
for line in file.readlines():
parts = line.split(':')
print parts[-2], parts[-1]
break
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment