Created
September 19, 2009 21:12
-
-
Save dcbriccetti/189593 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Does the Python community enjoy this type of thing as much as the Scala community? | |
[[gridPanel.add(self.checkBoxes[r][c]) for r in range(R)] for c in range(C)] | |
# Or should I split it into the more conventional: | |
for r in range(R): | |
for c in range(C): | |
gridPanel.add(self.checkBoxes[r][c]) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment