How do Jython and Python differ?
For the purposes of writing JMRI scripts, they don’t differ very much. Most of the differences involve what happens in somewhat contrived error cases. There are also some restrictions on what you can do with the computer’s configuration information, etc, in Jython, but these are not things a JMRI script is likely to need. Some additional information on the differences is available here.