Skip to content

Instantly share code, notes, and snippets.

@vrootic
Created August 25, 2014 14:54
Show Gist options
  • Select an option

  • Save vrootic/782f3f3463e266f4e783 to your computer and use it in GitHub Desktop.

Select an option

Save vrootic/782f3f3463e266f4e783 to your computer and use it in GitHub Desktop.
#!/usr/bin/env python
'''
sample input
['1-800-power.com', 'ca.shtml\n']
'''
record = []
for line in open("order.txt", "r").readlines():
for element in line.split("'"):
record.append(element)
break
record[1]
record[3]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment