Hi Tischi,
On Wed, 14 Mar 2012, Christian Tischer wrote:
> i need to read and change the Windows registry from a Jython script.
>
> in Python one could use
>
> from _winreg import *
>
> but in Jython this seems not to exist....
Yep. Jython is just a Java implementation of the Python language, it does
not provide all platform-dependent Python APIs.
You could try to use JNA (
http://fiji.sc/JNA) to do the job; similar to
http://code.dblock.org/jna-accessing-windows-registry-from-java (We do not
ship platform.jar in Fiji if I remember correctly, but it could be merged
in the jna.jar we ship).
Ciao,
Johannes
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html