On Fri, Sep 4, 2009 at 1:49 PM, <><><><><juli.dolzhe...@gmail.com> wrote: > On Sep 4, 4:37 pm, Maggie <la.f...@gmail.com> wrote: >> On Sep 4, 4:37 pm, Tobiah <t...@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?
Have you even read the Python tutorial? Please do so if you haven't already. Indent the line by 4 spaces. - Chris -- http://blog.rebertia.com -- http://mail.python.org/mailman/listinfo/python-list