ChinaUnix.net
相关文章推荐:

jython 支持中文

# -*- coding: gb2312 -*- FileInfo = """ #==================================================================== #========Project: jython Demo Gb2312 #========Module: -- #========Author: junsi #========Create Date: 2005-06-14 #========Update Date: #==================================================================== """ import string import java.lang.String as jstring def Unicode2Gb2312( ast...

by junsi - Python文档中心 - 2005-06-17 15:17:13 阅读(3541) 回复(0)

相关讨论

Charming jython Learn how the Java implementation of Python can aid your development efforts Document options Print this page E-mail this page Rate this page Help us improve this content Level: Introductory Uche Ogbuji ( [email=uche@ogbuji.net]uche@ogbuji.net[/email] ), Principal Consultant, Fourthought, Inc. 06 May 2003 jython, the 100% Pure Java implementation of the P...

by meteorm - Java文档中心 - 2008-02-27 17:28:14 阅读(795) 回复(0)

servlet的另类写法:使用jython 众所周知,servlet是java在服务器端程序设计的重要组成部分,servlet执行效率较高,适合做程序的逻辑处理,缺点是使用起来比较 繁琐,每个servlet必须在web.xml中声明并且当修改部署后的servet后一般还需要reload容器,这种情况对于开速开发是很不利的, 本文介绍一种另外的serlvet开发方式:使用jython 本文假设读者熟悉某种应用服务器(如tomcat),java 和 python程序设计语言 在 http://www.jytho...

by building - Java文档中心 - 2005-04-18 15:41:20 阅读(1090) 回复(0)

jython 2.5 download url: http://downloads.sourceforge.net/jython/jython_installer-2.5a1.jar require JDK5 and above version java -jar jython_installer-2.5a1.jar to install the new version enjoy it . 本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/6123/showart_1083763.html

by junsi - Python文档中心 - 2008-07-16 21:14:07 阅读(1587) 回复(0)

alt.lang.jre: Get to know jython Enhance your productivity on the Java platform Document options Print this page E-mail this page Sample code Rate this page Help us improve this content Level: Introductory Barry Feigenbaum, Ph.D. ( [email=feigenba@us.ibm.com]feigenba@us.ibm.com[/email] ), Sr. Consulting IT Architect, IBM 06 Jul 2004 Get to know jython, in this first ...

by meteorm - Java文档中心 - 2008-02-28 09:42:00 阅读(737) 回复(0)

jython与Java 用jython可以开发java程序,前提是你的电脑上面要安装java jdk.我们来对比一下用java和用jython 写的程序看看。 import java.awt.*; public class FrmeDemo { public static void main(String args[]) { Frame frmFrame=new Frame(); Panel pnlPanel=new Panel(); Label lbLabel=new Label("Hello!"); Button btnButton=new Button("Press me"); List ...

by riverbird2005 - Python文档中心 - 2008-01-07 09:47:13 阅读(1160) 回复(0)

Frank Wierzbicki announced that jython 2.2 has been released!  jython catches up to Python 2.2 and now has the following features: new-style classesJava List integrationPEP 302 implementationiteratorsgenerators__future__ divisionsupport for running on modern JVMsa new installerssl and non-blocking support for socket See the jython Bibliography  and more jython postings for mo...

by 23号 - Python - 2007-08-24 16:41:15 阅读(2298) 回复(1)

昨天好奇 安装上了jython.试了一下,和可爱的python一样简单。 晚上的时候,发现个问题,让我对jython很失望。 jpython中 >>len('你好d') 返回3 python >>len('你好d') 返回3 中返回5 又遇到java中的问题了。java中String类型的中文长度是1,需要变成byte[]型后求真实的长度(是2才好啊)。 可惜,只好放弃jython。如果jython是中国人开发的话,可能就很好处理这个问题了。 本文来自ChinaUnix博客,如果查看原文请点:htt...

by wangyb - Python文档中心 - 2006-10-25 15:13:51 阅读(1318) 回复(0)

我需要在bsf中使用jython 写好的程序,单独使用jython是可以用的,但是放到bsf中,就提示有错。 很多模块,如re ,都找不到,请问如何在bsf中增加jython的模块。 2009/03/13 12:45:15 BSF failure while executing listbox script: exception from jython: Traceback (innermost last): File "", line 17, in ? NameError: Hashtable 2009/03/13 12:45:15 ERROR: org.apache.bsf.BSFException: exception from Jytho...

by among29 - Python - 2012-12-06 18:49:09 阅读(2984) 回复(2)

下载地址: http://sourceforge.net/project/showfiles.php?group_id=12867&package_id=12218&release_id=485053 jython 终于有点动静了。 本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/6123/showart_246066.html

by junsi - Python文档中心 - 2007-02-11 14:52:28 阅读(1237) 回复(0)

为什么没有python.jython.难道他们不能在unix下运行

by ttkk1024 - 软件配置管理 - 2003-04-20 18:19:02 阅读(2062) 回复(1)