Cannot understand error message
Bruno Desthuilliers
bruno.42.desthuilliers at wtf.websiteburo.oops.com
Thu Feb 14 03:18:35 EST 2008
Steven D'Aprano a écrit :
> On Wed, 13 Feb 2008 17:29:59 +0000, Bill Davy wrote:
>
>> The following code produces an error message (using Idle with Py 2.4 and
>> 2.5). "There's an error in your program: EOL while scanning
>> single-quoted string". It comes just after "s = ''" (put there to try
>> and isolate the broken string).
>>
>> It would be good if the error message pointed me to the start of said
>> single quoted string.
>
> You know what would also be good? If you didn't expect people to read
> over 500 lines of code to find YOUR problem, because you can't be
> bothered to isolate the error.
>
> When you have a problem, send the SMALLEST piece of code the exhibits the
> problem, not the entire application.
And *please* post the *full* traceback.
More information about the Python-list
mailing list