Running Sum script

><><>< juli.dolzhenko at gmail.com
Fri Sep 4 16:49:20 EDT 2009


On Sep 4, 4:37 pm, Maggie <la.f... at gmail.com> wrote:
> On Sep 4, 4:37 pm, Tobiah <t... at tobiah.org> wrote:
>
> > > in the terminal i get a very strange "permission denied" error that might
> > > not have anything to do with the code. I checked permissions for the file
> > > and they are set to "read and write" so, again, I am really not sure what
> > > going wrong.
>
> > Try:
>
> >         python myfile
>
> > Or
>
> >         chmod +x myfile
> >         ./myfile
>
> try it where? code or terminal?
>
> thanks so much?

fantastic...! thank you so much..now i finally have my errors - which
are the following --

 File "running_sum_formisano.py", line 18
    sum+= int(trial)
      ^
IndentationError: expected an indented block

how would this be fixed?



More information about the Python-list mailing list