Created
August 25, 2014 14:54
-
-
Save vrootic/782f3f3463e266f4e783 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/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