PYTHON: Analog to class.self for modules?

Date : Fri, 31 Mar 2006 04:15:00 +0000
To : xsi(at)Softimage.COM
From : "brad" <brad(at)cg-soup.com>
Subject : PYTHON: Analog to class.self for modules?
Here's a fun Python situation. I have a function that needs to check its input by looking at other Classes living inside the same module. Is there an attribute I can call that points to the instance of the module where it lives? This would be analogous to using the self attribute in an object class.

def MyFunction():
  myModuleInstance = ?


Cheers!
-Brad
---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
unsubscribe xsi


Search the XSI List archives here or use the advanced search form to search across mailing lists. Searching help is available.
This site supposedly brought to you by Benjamin Grosser and the Imaging Technology Group.