From: Severino F. <sev...@re...> - 2001-12-25 23:24:40
|
I am trying to see if it is possible to convert a running application to = Java. I do not get any problems usin jythonc with the application, it = compiles all the modules building up the application. But when I try tu = run the main class (with java from JDK 1.3), it stops telling me that = the module "warnings" could not be loaded. I tried to trick it out compiling the modules in the Python21\Lib = directory, where warnings.py resides, but in this case the compilation = aborts with the following message: error importing site Traceback (innermost last) File "C:\Python21\Lib\.\site.py\, line 74, in ? TypeError: readonly class or attribute: __file__ Could somebody give me a hint on how to circumvent this problem. Severino Fernandez Instituto Nacional de Tecnica Aeroespacial Departamento de Observaci=F3n de la Tierra, Teledetecci=F3n y = Aeronom=EDa Carretera de Ajalvir, Km 4 28850 Torrejon de Ardoz Spain Tel +34 91 677 41 30 +34 91 677 41 90 +34 91 305 16 52 Fax +34 91 677 46 46 Email sev...@re... =20 |