[PyQt] Trying to import and use externally generated python script

2011-03-17 Thread James Polk
Greetings All, I have what appears to be an import phenomena that I can't seem to make work, and was hoping someone here can help solve and explain... The snippet below is output from Maya2011 as what's called a precomp script, but it is from top to bottom a Python script.  It is output from

[PyQt] Trying to import and use externally generated python script

2011-03-17 Thread James Polk
...am having some success in doing a from thisfile import * whereas before I was just doing... import thisfile ...the first method actually returns valid data when the functions are called... but when I try to get/print some array/list values...I get test_file.RenderPass instance at

[PyQt] Trying to import and use externally generated python script

2011-03-17 Thread James Polk
ok...just to wrap this up, lol... I've found that passing that odd instance memory address to the appropriate function, it'll return the data I need...strikes me as odd, but it works... Cheers, ___ PyQt mailing list