posts - 6, comments - 21, trackbacks - 0, articles - 2

          什么是Jython?

          Posted on 2005-01-23 12:22 tedazf 閱讀(1359) 評論(4)  編輯  收藏

          今天無聊就上了Python的官方網(wǎng)站,看到了Jython語言介紹,簡單的翻譯一點介紹貼過來,英文原本附在后面。

           

          什么是Jython?

          Jython是一種高層次整合Python語言與Java平臺的,動態(tài)的、面向?qū)ο蟮木幊陶Z言。Jython的前身——Jpython,被確認為100%的純Java。Jython無論是否是商業(yè)上的使用都可以免費的使用。Jython補充了Java,且尤其適合在以下幾方面:

          l       內(nèi)嵌腳本      Java允許在程序中加入Jython的類庫,并且允許用戶編寫簡單或復雜的腳本以函數(shù)的形式加入程序。

          l       交互性試驗    Jython提供了一個可以被用于與Java包和Java運行中的程序交互的解釋器,這也就允許用Jython來調(diào)試Java程序。

          l       程序快速開發(fā)  Jython開發(fā)同等Java程序,但開發(fā)時間只是Java開發(fā)時間的二分之一到十分之一。這將直接增長編程的生產(chǎn)力。JavaJython的無縫整合允許開發(fā)者在開發(fā)過程中自由的混合兩種語言。

           

          What is Jython?

          Jython is an implementation of the high-level, dynamic, object-oriented language Python seamlessly integrated with the Java platform. The predecessor to Jython, JPython, is certified as 100% Pure Java. Jython is freely available for both commercial and non-commercial use and is distributed with source code. Jython is complementary to Java and is especially suited for the following tasks:

          • Embedded scripting - Java programmers can add the Jython libraries to their system to allow end users to write simple or complicated scripts that add functionality to the application.
          • Interactive experimentation - Jython provides an interactive interpreter that can be used to interact with Java packages or with running Java applications. This allows programmers to experiment and debug any Java system using Jython.
          • Rapid application development - Python programs are typically 2-10X shorter than the equivalent Java program. This translates directly to increased programmer productivity. The seamless interaction between Python and Java allows developers to freely mix the two languages both during development and in shipping products.

          Feedback

          # re: 什么是Jython?  回復  更多評論   

          2005-01-23 14:15 by wxb_nudt
          能不能介紹一下為什么要Jython,Java的哪些不足導致了Jython的出世?

          # re: 什么是Jython?  回復  更多評論   

          2005-02-02 21:50 by tedazf
          Jython,我知識了解而已,過幾天wo系統(tǒng)地看一遍,整理出一套教程上來吧。
          一個月以內(nèi)!保證!

          # re: 什么是Jython?  回復  更多評論   

          2009-02-10 10:36 by 123
          www.jython.com.cn jython中文網(wǎng)歡迎大家。。。

          # re: 什么是Jython?  回復  更多評論   

          2009-04-03 09:30 by SmartY0622
          可不可以在java中讀到jython腳本引擎中的信息.
          比如說我需要知道jython當前運行到哪一條語句了?

          有知道的高手們請聯(lián)系一下吧:
          我的油箱是; yang.weiping@zte.com.cn

          謝謝

          只有注冊用戶登錄后才能發(fā)表評論。


          網(wǎng)站導航:
           
          主站蜘蛛池模板: 汝城县| 大渡口区| 曲阳县| 沧州市| 库尔勒市| 乌拉特中旗| 峨眉山市| 元阳县| 铁岭县| 鞍山市| 六枝特区| 宝应县| 同心县| 图木舒克市| 潜江市| 绥阳县| 镇坪县| 尼木县| 华坪县| 拉萨市| 宜昌市| 梓潼县| 诸城市| 克什克腾旗| 调兵山市| 仲巴县| 理塘县| 吉安市| 鄂尔多斯市| 岳池县| 宽甸| 连平县| 铁力市| 精河县| 合江县| 汪清县| 江北区| 岗巴县| 亚东县| 三江| 隆化县|