Linux, Gadgets and Multimedia. In ye olde days a Cyprianus was the Wizard's common spellbook. As a rule a Cyprianus manuscript started with these words: "Even though Moses knew all the secrets of our Art he did not abuse his knowledge. Do Thou likewise."
Sider
▼
08 September, 2008
Python dictionary items()
Og sådan får man både key og item frem
>>> a {'a': 1, 'b': 2} >>> print a.items()[i][0] b >>> print a.items()[i][i] 2
No comments:
Post a Comment