OOP help needed incorporating existing modules in class
Koncept
user at unknown.invalid
Thu Jun 30 19:07:57 EDT 2005
I want to incorporate the datetime and other modules into my class. I
am new to Python and would really appreciate some help doing this.
class FooBar:
def getDate(self):
return <datetime.datetime.ctime()>
^^^ how do I do something like this?
--
Koncept <<
"The snake that cannot shed its skin perishes. So do the spirits who are
prevented from changing their opinions; they cease to be a spirit." -Nietzsche
More information about the Python-list
mailing list