On Wed, Feb 25, 2015 at 6:54 AM, Greg Ewing <greg.ewing at canterbury.ac.nz> wrote: > Chris Angelico wrote: >> >> Then he changed the code over to use his >> own file instead of the provided sample, and at the same time, >> switched from using open() to using csv.reader(open()), and moved all >> the code into a function, and fixed three other bugs, and now it isn't >> working. And he can't figure out why. > > > There's probably a useful meta-lesson in there: > test after making every change! Of course! But when you're working with students remotely, you don't necessarily even know that that's what's happened. All you get is "It works with sample.txt, but it doesn't work with my file". You may or may not even get to see the code at first. Firm believer in "commit often" policy... ChrisA
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4