How can I load data files in a Jython module?
Maybe I'm just missing the point, but can't you use getResourceAsStream() on a Java class?
I have some Jython modules that I'm trying to make work from within a JAR.  Everything is set up fine except that some modules expect to open files from the filesystem that are located in the same directory as the Python script itself.  This doesn't work anymore because those files are now bundled into the JAR.
Basically I want to know if there's an equivalent of Class.getResourceAsStream() that I can use from within the Python code to load these data files.  I tried to use '__pyclasspath__/path/to/module/data.txt' but it didn't exist.