On Aug 2, 6:17 pm, "Aaron Swartz" <[EMAIL PROTECTED]> wrote: > Why not just do: > > $ myobject = longcomputation(myvar)
I tried this this morning, and it turns out that $ for myvar in myvars: $ myobject = longcomputation(myvar) stil fails, with error "could not find 'myvar'". I realized after playing with it a bit that the second line must be indented for this to work. It's still a little unclear to me which cases indentation is required for. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web.py" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/webpy?hl=en -~----------~----~----~----~------~----~------~--~---
