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
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to