From: Neil B. <nei...@ca...> - 2001-04-17 10:11:52
|
Hello, I tried using the inspect module provided with Python in Jython but it didn't work (I guess cos it uses the C code in the Python engine?). I'm trying to get self describing scripts (in terms of their functions and arguments) using Jython language to return these. I probably could look at the byte code generated with Jython from my Java app. but this seems messy and would break cross scripting language compatibility (i.e. other languages don't produce java bytecode! e.g. VBScript). So, the question is - does anyone know of a Jython module which has the same functionality (well - only the give me methods and arguments functions) using Jython. (I thought of using Java reflection inside Jython which may be OK but I'd need more info on what makes up the java byte code from Jython scripts - could be scary!!). Does anyone have any ideas or suggestions - any/all help greatly appreciated. Cheers, Neil Benn Automation Informatics Scientist Cambridge Antibody Technology |