Thanks Guys,
Guess I have to look once more into decorator functions - and guess it's worth
doing so. Anyway:
My problem is solved.
Cheers
Christian
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
Hi
My cryptic subject is perhaps not sufficient - I'll try to make it a little
better:
Assume you'd like to write something like:
import someClass
x = someClass.open(someFile)
Here '.open' should read in the data and initialize the instance - with or
without calling __init__.
How is this
] Initializing with a call like: someClass.open(someFile)?
Hi
My cryptic subject is perhaps not sufficient - I'll try to make it a little
better:
Assume you'd like to write something like:
import someClass
x = someClass.open(someFile)
Here '.open' should read in the data and initialize