​I am not sure ... did you mean:
​

​def index():
    d = {"IP": ["192.111.111.111", "222.222.222.222", "333.333.333.333"],
            "MAC": ["aa:aa:aa:aa", "bb:bb:bb:bb", "cc:cc:cc:cc"],
            "conn": ["wireless", "wireless", "wireless"]}
    return d

index.html:

{{extend 'layout.html'}}
{{for ip,mac,c in zip(IP,MAC,conn):}}
{{=ip}}
{{=mac}}
{{=c}}
<br/>
{{pass}}

The output is:

192.111.111.111 aa:aa:aa:aa wireless
222.222.222.222 bb:bb:bb:bb wireless
333.333.333.333 cc:cc:cc:cc wireless ​


​Regards, Martin

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to