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

          什么是Jython?

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

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

           

          什么是Jython

          Jython是一種高層次整合Python語言與Java平臺的,動態的、面向對象的編程語言。Jython的前身——Jpython,被確認為100%的純JavaJython無論是否是商業上的使用都可以免費的使用。Jython補充了Java,且尤其適合在以下幾方面:

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

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

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

           

          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系統地看一遍,整理出一套教程上來吧。
          一個月以內!保證!

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

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

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

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

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

          謝謝

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


          網站導航:
           
          主站蜘蛛池模板: 沙雅县| 泊头市| 临猗县| 措勤县| 宁国市| 四川省| 雅安市| 炎陵县| 镇康县| 凤凰县| 沭阳县| 和龙市| 延庆县| 恩平市| 连南| 兴山县| 刚察县| 禄丰县| 武川县| 英山县| 南开区| 大田县| 阳江市| 石嘴山市| 松溪县| 保山市| 镇巴县| 巨鹿县| 临漳县| 赤壁市| 林州市| 武夷山市| 丹江口市| 方城县| 齐河县| 泰来县| 闸北区| 德钦县| 信宜市| 萝北县| 布尔津县|