Re: [Zope] FOR loops?
Hi Andy, Zope, and python for that matter, have no for loops ;-) Try this (untested, someone please correct errors ;-): I'm assuming stringthing (eg "Root") and numberthing (eg 0) are attributed of the objects in your sequence list. cheers, Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] FOR loops?
Andy Gates wrote: > > > > > > > > > > > > So where does Zope hide its FOR loop? Can't find the bugger anywhere! You already did. is FOR. As in Python's "for v in list". Use Phill ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] FOR loops?
> > > > > > > > > > instead of `for' use : ... PM ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] FOR loops?
+[ Andy Gates ]- | This ought to be easy: ... | Presenting these in a SELECT input I want to show the indentation so | it's easy to see and use. Obvious answer is to use characters | to pad the values thus: You have to drop to the python level I'm afraid... | | | | | | | | | | | | So where does Zope hide its FOR loop? Can't find the bugger anywhere! You can find these things... you just have to know what you're looking for... -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068|[EMAIL PROTECTED]| ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )