Why Jython instead of CPython for scripting tasks? Would you or your company like to use Java libraries in scripting tasks? I haven't found the Python standard library to be limiting at all in the kinds of scripts I write. Maybe your company is a strong Java shop and so would find Jython easier to accept than CPython?
There are to me *huge* advantages of Python over Perl in that I can read and understand other people's Python code, but not their Perl code. In fact I found I couldn't understand my own Perl code that I had written only a few weeks previously. That's why I switched from Perl to Python.
The disadvantage I find in Jython over CPython for writing simple command-line scripts is the Java startup time. This is in no way a fault of Jython but rather of Java. What I'd like to use Jython for is to rapidly write servlets that are easy to modify and redeploy, to boost the productivity of our web application development. (If I can get Jython accepted at my company someday.) But I use CPython at work every day for automating repetitive tasks.
David H

From: jython-users-admin@lists.sourceforge.net [mailto:jython-users-admin@lists.sourceforge.net] On Behalf Of Kevin Whinnery
Sent: Friday, February 10, 2006 11:30 AM
To: jython-users@lists.sourceforge.net
Subject: [Jython-users] Reasons why Jython is better than Perl

Hello all,

I have recently been asked by my boss to give him some reasons why our company should consider using Jython instead of Perl for certain scripting tasks.  Here is the list of reasons I have - correct me if I am wrong, and add others if you can think of any.  This is a good chance to spread the what I think is a pretty nifty scripting language.

1.) Runs anywhere a JVM is installed, doesn't require a third party interpreter
2.) Clean, easy to pick up syntax of the Python language
3.) All the power of Java libraries available for importing
4.) Easy to package (can be shipped as a Java archive file)
5.) Easy to quickly prototype solutions

1.) Lacks some of the low-level functionality of Perl and CPython
2.) Whitespace delimited - this just blows some people's minds (also can cause problems when editing a script in different text editors)

Any other ideas for either column?

Kevin Whinnery
Associate Software Engineer
E-Mail: Kevin.Whinnery@lawson.com
Phone: (651) 767-6497

Lawson Software
380 St. Peter St.
St. Paul, MN 55102