Import module inside class chunk
"Garland, Ken R" <[email protected]> Mon, 23 Oct 2006 10:32:16 -0400
| Newsgroups | gmane.comp.python.spyce.general |
|---|---|
| Message-ID | <[email protected]> |
how can this be done?
I need the following to work:
[[!
import datetime, time
def something(self):
print "whatever"
]]
of course the real code is a bit more complex, but the import is
needed. it works perfectly fine in my straight python code, but i need
it to be in a spyce class chunk.
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642