My Python Learning Journal
Thursday, September 29, 2011
LPTHW Exercise 42
In this exercise we re-create the Gothons game with classes instead of "functions and maps"
The getattr function is used to obtain an attribute from an object using a String to identify the needed attribute. Ref [
1
]
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment