I forgot to add that it works because commas separate it into groups so that when the reads the file it has output, the program can split it into the site, ID, and passcard. ----- Original Message ----- From: "Nathan Pinno" <[EMAIL PROTECTED]> To: "Danny Yoo" <[EMAIL PROTECTED]> Cc: "Tutor mailing list" <tutor@python.org> Sent: Wednesday, August 03, 2005 8:35 PM Subject: Re: [Tutor] What's the invalid syntax? Code supplied
> Sure, the problem was that I had forgotten a comma before the "\n". I > added > a comma and it came up with another error that I fixed on my own, then the > current error came up. > ----- Original Message ----- > From: "Danny Yoo" <[EMAIL PROTECTED]> > To: "Nathan Pinno" <[EMAIL PROTECTED]> > Cc: "Tutor mailing list" <tutor@python.org> > Sent: Wednesday, August 03, 2005 8:31 PM > Subject: Re: [Tutor] What's the invalid syntax? Code supplied > > >> >> >> On Wed, 3 Aug 2005, Nathan Pinno wrote: >> >>> See my latest message for how I fixed this error and got another in its >>> place. >> >> Wait, wait, before we go on: can you explain in your own words why there >> was something wrong, what the correction was, and why the correction >> works? >> >> The reason I ask is because I want to avoid the situation where you just >> copy-and-paste a solution and don't understand why it fixes things. >> >> I guess I'm being annoying in trying to make sure you're actually >> learning >> from your mistakes. *grin* >> >> > _______________________________________________ > Tutor maillist - Tutor@python.org > http://mail.python.org/mailman/listinfo/tutor > _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor