If I have the following code in python 3 how do I replace the 0 in
self.button0 with the variable index? This is for a loop to create buttons.
if index == 0
exec("self.grid.add(self.button0))
I've tried for 3 days to figure this out... I must be missing something
about exec.
Thanks
JT
------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are
consuming the most bandwidth. Provides multi-vendor support for NetFlow,
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports.http://sdm.link/zohodev2dev
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers