Error help
danielashiloh at googlemail.com
danielashiloh at googlemail.com
Thu Aug 2 09:12:21 EDT 2012
On Thursday, 2 August 2012 12:18:59 UTC+1, Peter Otten wrote:
> danielashiloh at googlemail.com wrote:
>
>
>
> > This error has been bugging me for days. I know it's minor, but it's
>
> > really getting in the way of my programming. I'm programming a data
>
> > analysis programme for a psychology experiment which takes pickled data
>
> > from the experiment and produces averages. For some reason python is
>
> > insisting there is an indentation error on line 18.
>
>
>
> I can't confirm that, I get an error in line 8
>
>
>
> > partifipant_info=data'Participant Info']
>
>
>
> where you forgot the opening '['.
>
>
>
> Please post your actual code and don't forget to include a cut-and-paste
>
> version of the traceback you get.
Thank you, everyone, for the replies. It does seem to stem from that missing bracket, indeed the error did start coming up when I first included that line. Do I feel silly! Incidentally, the error message I got was for an unexpected indent. All is resolved now.
More information about the Python-list
mailing list