http://pastebin.com/4eCJUP8d

The comment
"zipCode, city and state variables are of type string, declare them to be lists if you want to use the append() method on them. Do not use where which is a reserved word in Python. I don't see a loop in the readRecord() method that iterates through the file of zip codes. Your code parses the first line only. Use readlines() instead: for line in file.readlines(): listZip.append(line)"

I assume this is a well orchestrated April Fools event.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.