On Jan 26, 4:05 pm, Matty Sarro <msa...@gmail.com> wrote: > Here's my code: > > from sys import argv > script,filename=argv > txt=open(filename) > print "Here is your file %r:" % filename > print txt.read() > print "I'll also ask you to type it again:" > file_again=raw_input("> ") > txt_again=open(file_again) > print txt_again.read() > > IDLE is saying that my error is on line 4, at the second set of > quotation marks. [...]
Forget about line 4 because line 2 is a problem waiting to happen (PEP8 formating added for clarity) Line2: script, filename = argv Is this a case of the blind leading the blind? -- http://mail.python.org/mailman/listinfo/python-list