#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2004
    Location
    Bombay, India
    Posts
    159
    Rep Power
    12

    All about JPython


    Hi,
    Can anyone tell me where Jython can be put to use....whats the difference between Python & Jython. Just went thru' this www.jython.org site...but am not clear with its use... cld someone be kind enough to let me know in simple terms abt Jython and am sorry if its the wrong place to post this thread!

    Thanks & Rgds,
    Subha
  2. #2
  3. A wanna-be guru of some sort
    Devshed Novice (500 - 999 posts)

    Join Date
    Sep 2004
    Location
    Either online or offline
    Posts
    625
    Rep Power
    20
    Jython is Python implementation on Java platform, or if you like it, a mixture of the two languages. The biggest reason for using it might be the simplicity of Python and power of Java combined. You can use Java Swing GUI, for instance. In many applications written in Jython, the amount of code can be 30-40% less than in its pure Java equivalents.
  4. #3
  5. Hello World :)
    Devshed Frequenter (2500 - 2999 posts)

    Join Date
    Mar 2003
    Location
    Hull, UK
    Posts
    2,537
    Rep Power
    69
    Probably the most common reason to use Jython is to take of an even bigger [massive] code-base since Jython allows programmers to use Python and Java Libraries together .

    Added to that, Jython is also a handy way of running Python programs on systems that dont have the Python interpreter installed; but do have the much more common Java VM. (The down side of this approach is that the current stable version of Jython only implements features from Python 2.2.)

    If you find yourself wanting to know more - and want to use Jython - you should pick up one of the books listed on the Jython homepage .

    Hope this helps,

    Mark.
    programming language development: www.netytan.com Hula


IMN logo majestic logo threadwatch logo seochat tools logo