From: Kevin M. <kev...@er...> - 2001-10-05 12:06:34
|
Hi, I am loading my icons differently depending on whether I have compiled my jython file into a jar file or not. When the jar file is made, I append the icons to the jar file. The question is, how do I find out which of these calls to make: if inJarfile: splash = Object().getClass().getResource(iconsPath+"splash.gif") else: splash = pathPrefix+iconsPath+"splash.gif" What do I replace "inJarFile" with? Thanks, Kevin _________________________________________________ Name/Title : Kevin McNamee, Software Consultant Phone : +46 13 32 1165 |