You can subscribe to this list here.
2000 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(6) |
Nov
(8) |
Dec
(51) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2001 |
Jan
(105) |
Feb
(93) |
Mar
(194) |
Apr
(145) |
May
(100) |
Jun
(111) |
Jul
(117) |
Aug
(126) |
Sep
(233) |
Oct
(138) |
Nov
(164) |
Dec
(109) |
2002 |
Jan
(216) |
Feb
(175) |
Mar
(216) |
Apr
(194) |
May
(157) |
Jun
(140) |
Jul
(158) |
Aug
(73) |
Sep
(105) |
Oct
(164) |
Nov
(104) |
Dec
(95) |
2003 |
Jan
(72) |
Feb
(69) |
Mar
(81) |
Apr
(151) |
May
(101) |
Jun
(139) |
Jul
(99) |
Aug
(118) |
Sep
(115) |
Oct
(151) |
Nov
(161) |
Dec
(102) |
2004 |
Jan
(120) |
Feb
(175) |
Mar
(106) |
Apr
(111) |
May
(54) |
Jun
(78) |
Jul
(76) |
Aug
(105) |
Sep
(94) |
Oct
(143) |
Nov
(75) |
Dec
(85) |
2005 |
Jan
(99) |
Feb
(77) |
Mar
(164) |
Apr
(97) |
May
(79) |
Jun
(57) |
Jul
(65) |
Aug
(102) |
Sep
(95) |
Oct
(129) |
Nov
(123) |
Dec
(52) |
2006 |
Jan
(48) |
Feb
(99) |
Mar
(90) |
Apr
(51) |
May
(81) |
Jun
(136) |
Jul
(56) |
Aug
(109) |
Sep
(50) |
Oct
(44) |
Nov
(74) |
Dec
(75) |
2007 |
Jan
(92) |
Feb
(137) |
Mar
(93) |
Apr
(79) |
May
(52) |
Jun
(74) |
Jul
(143) |
Aug
(175) |
Sep
(154) |
Oct
(137) |
Nov
(88) |
Dec
(90) |
2008 |
Jan
(58) |
Feb
(113) |
Mar
(167) |
Apr
(88) |
May
(105) |
Jun
(37) |
Jul
(87) |
Aug
(72) |
Sep
(56) |
Oct
(41) |
Nov
(102) |
Dec
(70) |
2009 |
Jan
(115) |
Feb
(113) |
Mar
(126) |
Apr
(58) |
May
(125) |
Jun
(45) |
Jul
(90) |
Aug
(125) |
Sep
(84) |
Oct
(61) |
Nov
(111) |
Dec
(61) |
2010 |
Jan
(85) |
Feb
(86) |
Mar
(130) |
Apr
(58) |
May
(57) |
Jun
(32) |
Jul
(25) |
Aug
(50) |
Sep
(41) |
Oct
(65) |
Nov
(63) |
Dec
(24) |
2011 |
Jan
(43) |
Feb
(31) |
Mar
(28) |
Apr
(68) |
May
(53) |
Jun
(42) |
Jul
(58) |
Aug
(26) |
Sep
(51) |
Oct
(76) |
Nov
(60) |
Dec
(9) |
2012 |
Jan
(16) |
Feb
(32) |
Mar
(32) |
Apr
(39) |
May
(16) |
Jun
(19) |
Jul
(3) |
Aug
(11) |
Sep
(35) |
Oct
(47) |
Nov
(28) |
Dec
(18) |
2013 |
Jan
(18) |
Feb
(36) |
Mar
(10) |
Apr
(7) |
May
(7) |
Jun
(27) |
Jul
(17) |
Aug
(35) |
Sep
(19) |
Oct
(31) |
Nov
(8) |
Dec
(22) |
2014 |
Jan
(5) |
Feb
(11) |
Mar
(18) |
Apr
(23) |
May
(26) |
Jun
(14) |
Jul
(18) |
Aug
(26) |
Sep
(20) |
Oct
(48) |
Nov
(13) |
Dec
(9) |
2015 |
Jan
(9) |
Feb
(15) |
Mar
(25) |
Apr
(10) |
May
(26) |
Jun
(6) |
Jul
(13) |
Aug
(5) |
Sep
(14) |
Oct
(36) |
Nov
(24) |
Dec
(18) |
2016 |
Jan
(24) |
Feb
(11) |
Mar
(1) |
Apr
(6) |
May
(7) |
Jun
(3) |
Jul
(9) |
Aug
(15) |
Sep
(22) |
Oct
(5) |
Nov
(5) |
Dec
(2) |
2017 |
Jan
(20) |
Feb
(4) |
Mar
(4) |
Apr
(1) |
May
(5) |
Jun
(7) |
Jul
(14) |
Aug
(9) |
Sep
(18) |
Oct
(2) |
Nov
(3) |
Dec
(3) |
2018 |
Jan
(7) |
Feb
(6) |
Mar
(1) |
Apr
(2) |
May
|
Jun
|
Jul
(1) |
Aug
(18) |
Sep
(8) |
Oct
(9) |
Nov
(4) |
Dec
(6) |
2019 |
Jan
(5) |
Feb
|
Mar
(2) |
Apr
(4) |
May
(6) |
Jun
(8) |
Jul
(11) |
Aug
(10) |
Sep
(6) |
Oct
|
Nov
(1) |
Dec
|
2020 |
Jan
(8) |
Feb
(3) |
Mar
(1) |
Apr
(4) |
May
(1) |
Jun
(1) |
Jul
|
Aug
|
Sep
(1) |
Oct
(5) |
Nov
(2) |
Dec
(1) |
2021 |
Jan
|
Feb
|
Mar
(5) |
Apr
(2) |
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2022 |
Jan
|
Feb
(2) |
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
(7) |
Aug
(1) |
Sep
(1) |
Oct
|
Nov
|
Dec
|
2023 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(3) |
Jun
(5) |
Jul
(15) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2024 |
Jan
|
Feb
(1) |
Mar
|
Apr
(2) |
May
|
Jun
(5) |
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
2025 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Gustav B. <Gus...@eo...> - 2002-03-07 16:43:19
|
Hi! You probably have a JDBC 2.0 driver. This means you have to add the jdbc-ext.jar (Something like that, it = should probably come with your JDBC Driver). javax.sql is an extension and not part of the 1.3 SDK. It should be part = of the J2EE SDK however (Try adding the j2ee.jar to your classpath). Hope this helps, gustav bostr=F6m the eon company www.eoncompany.com o +46-8-54528800 m +46-70-9575154 e gus...@eo... -----Original Message----- From: John Goerzen [mailto:jgo...@qu...] Sent: Thursday, March 07, 2002 5:21 PM To: jyt...@li... Cc: jgo...@co... Subject: [Jython-users] Problem with zxJDBC Hi, I'm trying to use the zxJDBC connectx call as shown in the jython=20 documentation example. However, when I try it, I get: java.lang.NoClassDefFoundError: java.lang.NoClassDefFoundError:=20 javax/sql/DataSource Perusing my Java API docs, I see no javax.sql at all -- it's just=20 java.sql. This is Sun JDK 1.3.1. Any ideas? Thanks, John Goerzen _______________________________________________ Jython-users mailing list Jyt...@li... https://lists.sourceforge.net/lists/listinfo/jython-users |
From: John G. <jgo...@qu...> - 2002-03-07 16:20:56
|
Hi, I'm trying to use the zxJDBC connectx call as shown in the jython documentation example. However, when I try it, I get: java.lang.NoClassDefFoundError: java.lang.NoClassDefFoundError: javax/sql/DataSource Perusing my Java API docs, I see no javax.sql at all -- it's just java.sql. This is Sun JDK 1.3.1. Any ideas? Thanks, John Goerzen |
From: Updike, C. <Cla...@jh...> - 2002-03-07 15:38:15
|
I'm trying to load a JDBC driver programatically with jreload (without putting it on the jvm's classpath when starting jython). When I try to import the driver class I get a ClassFormatError, possibly suggesting the thing I'm actually importing isn't really a class: >>> import sys, jreload >>> from com.ziclix.python.sql import zxJDBC >>> ls = jreload.makeLoadSet('oracleLS',['pathToJar/classes12.jar']) >>> from oracleLS.oracle.jdbc.driver import OracleDriver Traceback (most recent call last): java.lang.ClassFormatError: java.lang.ClassFormatError: oracle/jdbc/driver/OracleDriver (Illegal UTF8 string in constant pool) But, if I do the following: >>> from oracleLS.oracle.jdbc import driver >>> dir(driver) It shows me that the class is in the driver package: ['ArrayDataResultSet', 'ArrayLocatorResultSet', 'BaseResultSet', <snip> 'OracleDriver', 'OracleInputStream', 'OracleLog', <snip> 'UpdatableResultSet', '__name__'] I have inspected this jar file and there truly is a OracleDriver.class in the oracle.jdbc.driver package. Any ideas what I'm doing wrong? TIA, Clark |
From: <Arn...@si...> - 2002-03-06 21:24:59
|
Hello, Only one questions: Is following observations correct: Whenever I execute PythonInterpreter.eval("something"), I get back an instance of PyObject. Whenever I call on this PyObject.__tojava__(java.lang.Object), the PyObject is converted to the most derived java-type. (If such an element exists) Native Java types (e.g. int, short) are converted to its wrapper classes. regards Arno |
From: Samuele P. <pe...@in...> - 2002-03-06 19:01:41
|
> How do I use jarray.array to pass a 2D array, ie: > > a1=jarray.array(['a','b'], java.lang.Object) > a2=jarray.array(['c','d'], java.lang.Object) > > a3=jarray.array([a1, a2], zzz) > a3=jarray.array([a1,a2],java.lang.Object.getClass(a1)) regards. |
From: Kevin B. <kb...@ca...> - 2002-03-06 18:44:51
|
You can do: a3 = array( [a1,a2], Object ) Or if that's not good enough: from java.lang.reflect import Array Array.newInstance( Object, [1,3] ) kb rpcee wrote: > > How do I use jarray.array to pass a 2D array, ie: > > a1=jarray.array(['a','b'], java.lang.Object) > a2=jarray.array(['c','d'], java.lang.Object) > > a3=jarray.array([a1, a2], zzz) > > what goes in zzz? > > or am I barking up the wrong tree? > > many thanks, Rich > > (apologies if its an FAQ I can't access it at present). > > _______________________________________________ > Jython-users mailing list > Jyt...@li... > https://lists.sourceforge.net/lists/listinfo/jython-users |
From: rpcee <rp...@op...> - 2002-03-06 15:16:29
|
How do I use jarray.array to pass a 2D array, ie: a1=jarray.array(['a','b'], java.lang.Object) a2=jarray.array(['c','d'], java.lang.Object) a3=jarray.array([a1, a2], zzz) what goes in zzz? or am I barking up the wrong tree? many thanks, Rich (apologies if its an FAQ I can't access it at present). |
From: Kevin B. <kb...@ca...> - 2002-03-06 00:48:10
|
Kevin Butler wrote: > > Mark Ackerman wrote: > > > > Yes I got that to work but I want to specify the complete package > > on the import line. this is because there can be more than 1 > > plotTest.py module in the sys.path. > > > > So taking your code I want to do something like: ... > > to make sure I get the correct plotTest module. Then is what you really want to do something more like this? globals = globals() locals = {} execfile( "cacheDir/a/b/scripts/plotTest.py", globals, locals ) ??? kb |
From: Kevin B. <kb...@ca...> - 2002-03-06 00:14:19
|
Mark Ackerman wrote: > > Yes I got that to work but I want to specify the complete package > on the import line. this is because there can be more than 1 > plotTest.py module in the sys.path. > > So taking your code I want to do something like: > > cachedir = "pythonCache/a/b/scripts" > if cachedir not in sys.path: > sys.path.append( cachedir ) > import pythonCache.a.b.scripts.plotTest > pythonCache.a.b.scripts.plotTest.printHello() > > to make sure I get the correct plotTest module. So you want to do make each of the directories in your cachedir into a python package - that means they need to have __init__.py files: path = "pythonCache/a/b/scripts" # ensure there are __init__.py files in each directory # ideally, these would be in the source of the cache... while path: try: open( os.path.join( path, "__init__.py" ), "wa" ).close() catch IOException, val: print "unable to create __init__.py in", path, val path, dir = os.path.split( path ) import pythonCache.a.b.scripts.plotTest pythonCache.a.b.scripts.plotTest.printHello() kb |
From: Mark A. <mar...@ho...> - 2002-03-05 23:51:10
|
Yes I got that to work but I want to specify the complete package on the import line. this is because there can be more than 1 plotTest.py module in the sys.path. So taking your code I want to do something like: cachedir = "pythonCache/a/b/scripts" if cachedir not in sys.path: sys.path.append( cachedir ) import pythonCache.a.b.scripts.plotTest pythonCache.a.b.scripts.plotTest.printHello() to make sure I get the correct plotTest module. Mark From: Kevin Butler <kb...@ca...> To: Mark Ackerman <mar...@ho...> CC: jyt...@li... Subject: Re: [Jython-users] import module question Date: Tue, 05 Mar 2002 16:42:49 -0700 Mark Ackerman wrote: > > We're downloading jython modules from a server as the user requests them. > Since the modules can live in different directories on the server > we would like to keep the same directory structure on the client. > > So the plotTest.py file get downloaded to the pythonCache/a/b/scripts > directory off of the current directory. > > I've tried the following code snippet to import the module but I can't > quite get it to work: > > try: > sys.path.index("pythonCache/a/b/scripts") > except: > sys.path.append("pythonCache/a/b/scripts") > import pythonCache.a.b.plotTest > pythonCache.a.b.plotTest.printHello() sys.path shows where to look for Python packages (like the java classpath shows where to look for Java packages). Thus, jython looks in the scripts directory for a pythonCache package containing an 'a' package containing a 'b' package containing a 'plotTest' package, and doesn't find it. Thus, I think you meant: cachedir = "pythonCache/a/b/scripts" if cachedir not in sys.path: sys.path.append( cachedir ) import plotTest plotTest.printHello() Note, however, that the requirements to be a Python package are different from the requirements to be a Java package: a Python package is a .py file or a directory containing an __init__.py file a Java package is any directory containing a Java class or containing a Java package kb Thanks, Mark email : mar...@ho... _________________________________________________________________ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx |
From: Kevin B. <kb...@ca...> - 2002-03-05 23:42:56
|
Mark Ackerman wrote: > > We're downloading jython modules from a server as the user requests them. > Since the modules can live in different directories on the server > we would like to keep the same directory structure on the client. > > So the plotTest.py file get downloaded to the pythonCache/a/b/scripts > directory off of the current directory. > > I've tried the following code snippet to import the module but I can't > quite get it to work: > > try: > sys.path.index("pythonCache/a/b/scripts") > except: > sys.path.append("pythonCache/a/b/scripts") > import pythonCache.a.b.plotTest > pythonCache.a.b.plotTest.printHello() sys.path shows where to look for Python packages (like the java classpath shows where to look for Java packages). Thus, jython looks in the scripts directory for a pythonCache package containing an 'a' package containing a 'b' package containing a 'plotTest' package, and doesn't find it. Thus, I think you meant: cachedir = "pythonCache/a/b/scripts" if cachedir not in sys.path: sys.path.append( cachedir ) import plotTest plotTest.printHello() Note, however, that the requirements to be a Python package are different from the requirements to be a Java package: a Python package is a .py file or a directory containing an __init__.py file a Java package is any directory containing a Java class or containing a Java package kb |
From: Syver E. <syv...@on...> - 2002-03-05 22:33:43
|
Do you do: jythonc --deep --core --jar ? (I think the --deep option is implied by --jar, so you might ommit that) -- Vennlig hilsen Syver Enstad |
From: Mark A. <mar...@ho...> - 2002-03-05 22:16:01
|
We're downloading jython modules from a server as the user requests them. Since the modules can live in different directories on the server we would like to keep the same directory structure on the client. So the plotTest.py file get downloaded to the pythonCache/a/b/scripts directory off of the current directory. I've tried the following code snippet to import the module but I can't quite get it to work: try: sys.path.index("pythonCache/a/b/scripts") except: sys.path.append("pythonCache/a/b/scripts") import pythonCache.a.b.plotTest pythonCache.a.b.plotTest.printHello() but I get ImportError: No module named plotTest what am I doing wrong here? Thanks, Mark _________________________________________________________________ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx |
From: Delaney, T. <tde...@av...> - 2002-03-05 22:09:25
|
> From: Mike Hostetler [mailto:th...@bi...] > On Tue, Mar 05, 2002 at 02:02:59PM -0700, Campbell, Garrett wrote: > > looks like utc seconds vs local milliseconds > > look at the doc. > > Yeah, you're right -- from the Java docs: > Returns the number of milliseconds since ^^^^^^^^^^^^ > > But Python says the same thing: > Return the time as a floating point number > expressed in seconds ^^^^^^^ They say *different* things - Jython conforms to CPython. Tim Delaney |
From: Mike H. <th...@bi...> - 2002-03-05 21:52:08
|
On Tue, Mar 05, 2002 at 02:02:59PM -0700, Campbell, Garrett wrote: > looks like utc seconds vs local milliseconds > look at the doc. Yeah, you're right -- from the Java docs: getTime public long getTime() Returns the number of milliseconds since January 1, 1970, 00:00:00 GMT represented by this Date object. But Python says the same thing: (from http://www.python.org/doc/current/lib/module-time.html) time() Return the time as a floating point number expressed in seconds since the epoch, in UTC. And in Jython, it says that is is the same epoch >>> time.gmtime(0) (1970, 1, 1, 0, 0, 0, 3, 1, 0) >>> time.strftime("%a, %d %b %Y %H:%M:%S +0000", time.gmtime(0)) 'Thu, 01 January 1970 00:00:00 +0000' This only deepens the mystery . . . -- mikeh |
From: Kevin B. <kb...@ca...> - 2002-03-05 21:13:50
|
Mike Hostetler wrote: > >>> time.time() > 1.015358378608E9 > >>> float(wItems[0].JobStartDate.getTime()) > 1.015268088E12 J/Python reports _seconds_ since Jan 1, 1970 Java reports _milliseconds_ since Jan 1, 1970 >>> import time >>> from java.util import * >>> Date().getTime() - time.time() * 1000 -47.0 >>> Date().getTime() - time.time() * 1000 0.0 >>> Date().getTime() - time.time() * 1000 0.0 >>> Date().getTime() - time.time() * 1000 0.0 >>> Date().getTime() - time.time() * 1000 0.0 >>> Date().getTime() - time.time() * 1000 0.0 >>> Date().getTime() - time.time() * 1000 0.0 Darn my timing on that first one! >>> for i in range( 1000 ): ... if ( Date().getTime() != time.time() * 1000 ): print "woops" ... woops woops woops woops woops >>> 1/2 of 1 % chance, and I hit different clock ticks. *sigh* :-) Actually, it was probably the first call initialization/class loading... kb |
From: millionaire<ok...@bc...> - 2002-03-05 21:05:29
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD><TITLE>일생일대의 기회!!</TITLE> <META content="text/html; charset=ks_c_5601-1987" http-equiv=Content-Type> <META content="MSHTML 5.00.2614.3500" name=GENERATOR></HEAD> <BODY aLink=red bgColor=white link=blue text=black vLink=purple> <P align=center><A href="http://starhana.net/" target=_top><BR></A><A href="http://club.starhana.com" target=_top><IMG alt="일생 일대의 기회! 클릭하시면 새로운 세상이 열립니다~ 꿈의 비지니스클럽 => 백만장자클럽으로 오세요!" border=0 height=383 src="http://home.bcline.com/okezweb/pr/club.gif" width=395></A></P> <P align=center><SPAN style="FONT-SIZE: 9pt"><FONT color=#0769ed>Timing is Everything. Now is the Time!! - Do Actively, Think Simply, Respond Quickly.<BR></FONT><BR></SPAN><SPAN style="FONT-SIZE: 9pt"><FONT color=gray>O 본 메일은 정보통신망 이용촉진 및 정보보호 등에 관한 법률 제 50조에 의거한 [광고] 메일입니다</FONT></SPAN></P> <P align=center><SPAN style="FONT-SIZE: 9pt"><FONT color=gray>O e-mail주소는 인터넷상에서 취득하였으며, 주소외 어떠한 개인 정보도 가지고 있지 않습니다</FONT></SPAN></P> <P align=center><FONT color=gray size=2>* </FONT><FONT color=gray><SPAN style="FONT-SIZE: 9pt">수신을 원치 않으시면</FONT><FONT color=black> </FONT><A href="mailto:ok...@bc...?subject=#수신을거부합니다#&body=jyt...@li... 을 귀하의 리스트에서 삭제요망!" designtimeurl="ok...@bc...?subject=jyt...@li... 의 사용자로써 #수신을거부합니다#&body=jyt...@li... 을 귀하의 리스트에서 삭제요망!"><FONT color=black>[</FONT><FONT color=blue>수신 거부]</FONT></A><FONT color=gray>를 클릭해 주십시오.</FONT><BR><FONT color=gray> (불편을 드렸다면 머리 숙여 사과드립니다. 좋은하루 되십시오!)</FONT></SPAN></P></BODY></HTML> |
From: Mike H. <th...@bi...> - 2002-03-05 20:09:13
|
I'm using an Java API that returns a java.util.Date object and I want to compare that value with the current time. According to the JDK 1.3 docs, Date.getTime() returns the number of miliseconds sence January 1, 1970. Apparently, time.time() in Jython does not: >>> time.time() 1.015358378608E9 >>> float(wItems[0].JobStartDate.getTime()) 1.015268088E12 Is this a bug? What is the epoch that Jython uses? Does anyone have a work-around? -- mikeh |
From: T.J. Jankun-K. <tj...@ac...> - 2002-03-05 18:29:20
|
Greetings, This is probably a question that has come up before, but I cannot find the appropriate answer on the web site or the mailing list as of yet. I have a complex set of python classes with a Jython UI front end. When run interactively, everything is fine. When I run it in an application (using PythonInterpreter to set python.home correctly), everything is fine as well. However, I want to distribute the code as an applet. When loading the applet, an exception occurs: AttributeError: class 'visframework.test' has not attribute 'TestTransform' visframework.test is a module and TestTransform is a class w/in the module. It is used in the applet as part of its initialization. The test module contains several classes used to test the application. I cannot set python.home in the applet (it is against the applet security policy). So my question is essentially this: how do I (or can I) properly package the compiled (with jythonc) python source into an applet that can be distributed w/o assuming jython is installed on the client machine? Any help is appreciated. More details can be given if needed. Thanks. TJK |
From: Noel R. <no...@ya...> - 2002-03-05 17:48:07
|
At 02:05 PM 3/4/02, you wrote: >I'm interested in learning more about how jythonc works. I see that it >produces an intermediate file which is then compiled to bytecode with javac. > >A few questions come to mind: > >Did the creators consider using Java as an intermediate, rather than >generating bytecode directly (OK, Java source code is easier to produce, >but isn't it possible to compile non-Java directly to bytecode?) The jython interpreter does generate bytecode directly and on-the-fly. However, to capture the full dynamic range of jython behavior (things like module reloading, the exec statement, and the like), jython uses a custom ClassLoader in the interpreter. Since jythonc is supposed to allow you to use jython in places where an actual .class or .jar file is required, and where a custom ClassLoader might violate security, jythonc creates actual Java source. As a result, jythonc is a little stricter about Java subclassing, and may also have trouble with dynamic things like generating a base class at run-time. >More generally: Is there any documentation available about how jythonc works? <shameless plug> The forthcoming _Java Essentials_ from O'Reilly has a chapter about jythonc, mostly from a user perspective, but also containing information about how it works and the generated Java source. </shameless plug> Hope this helps, Noel Rappin _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com |
From: º»Å俵¾î <a8...@ly...> - 2002-03-05 16:27:49
|
<html> <head> <title>이메일문서</title> <meta name="generator" content="Namo WebEditor v4.0"> </head> <body bgcolor="white" text="black" link="blue" vlink="purple" alink="red"> <table border="0" width="526"> <tr> <td width="516" height="50"> <p style="MARGIN-LEFT: 2mm; LINE-HEIGHT: 130%"><font color="blue" size="4"><b> <a href="http://www.7english.co.kr">기적의 영어 </font><font color="#ff3333" size="4">7English</font><font color="blue" size="4"> 샘플 </B></font><font color="blue" size="3"> <br> </font><font color="blue" size="2"> 샘플을 보시려면 <한글97>이 설치되어 있어야 합니다.</font><b><font color="blue" size="4"><br></A></b></FONT><font size="2"> 다음은 영어교육개혁 협회의 발표문을 인용한 것입니다.</font></p> </td> </tr> </table> <table width="525" cellpadding="0" cellspacing="0" bgcolor="#ccffcc" bordercolordark="black" bordercolorlight="black" height="5"> <tr> <td width="525" bordercolor="white" height="116" bgcolor="#f1f7e2"> <p style="MARGIN-LEFT: 2mm; LINE-HEIGHT: 160%"><font size="4"> </font><a href="http://www.7english.net"><font color="blue" size="4">《1》 <b>폐지되는 영문법 80% 25개항</b> - 상세히 보기-</font><font color="#ff3333" size="4">클릭</font></a><font size="4"><br> </font><font size="4" color="red">학계</font><font size="4">와 </font><font size="4" color="red">교육계</font><font size="4">의 98%의 지지로 결정된 사항입니다.<br><a href="http://www.7english.net"> </a></font><a href="http://www.7english.co.kr"><font color="blue" size="4">《2》 <b>기적의</b> <b>단어숙어, 문법의 혁명</b> - 원소이론-</font><font color="#ff3333" size="4">클릭</font><font color="blue" size="4"> </font></a></p> </td> </tr> </table> <table width="525" cellpadding="0" cellspacing="0" bgcolor="#ccffcc" bordercolordark="black" bordercolorlight="black" height="5"> <tr> <td width="525" height="36" bordercolor="white" bgcolor="#f3e4e4"> <p style="LINE-HEIGHT: 160%"><font size="4"> </font><a href="http://www.7english.co.kr"><b><font size="4" color="blue">엉터리 문법 추방하여 영어지옥 벗어나자</font><font size="4">.</a><br></FONT></B></p> </td> </tr> </table> <table border="1" width="525" cellspacing="0" bgcolor="#ffffcc" bordercolor="green" bordercolordark="black" bordercolorlight="black"> <tr> <td width="519" height="122" bordercolor="white"> <p style="LINE-HEIGHT: 150%"><font color="#ff3333" size="4"> <b>영어교육 양심선언문</b></font><font size="4"><br> 기존의 영문법은 1. 영어의 근본을 파괴하고 <br> 2. 엄청난 시간과 자원을 허비하고 <br> 3. 인간의 천부적 언어능력을 마비시킨다.</font></p> </td> </tr> </table> <table width="523" cellpadding="0" cellspacing="0" bgcolor="#ccffcc" bordercolordark="black" bordercolorlight="black"> <tr> <td width="523" height="89" bordercolor="white"> <p style="MARGIN-LEFT: 3mm; LINE-HEIGHT: 150%; MARGIN-RIGHT: 3mm" align="justify"><font size="3"> 영어를 걱정하는 가족과 친구들께도 전해 주십시오. 그리고 영어교육개혁에 동참하여 주시기 바랍니다.<br> </font><a href="http://www.7english.co.kr"><font size="4" color="#ff3333">-영어교육개혁 국민협회<b> </font><font size="4" color="blue">www.</font><font size="4" color="red">7English</font><font size="4" color="blue">.co.kr </font><font size="4" color="#ff3333">-</a><br> <a href="http://www.7english.net"> </FONT><font size="4" color="blue">www.</font><font size="4" color="red">7English</font><font size="4" color="blue">.net</font></a><a href="http://www.7english.net"><font size="4" color="#ff3333"> </font></a></B></p> </td> </tr> </table> <p><font size="2"> 귀하의 주소는 인터넷사이트에서 알았습니다.<br> 마지막 안내가 될 것입니다. </font></p> <p><font size="2"> This is for Koreans who want to be good at English.<br> If not, delete it. This will not come again.<br> Your E-mail address is from an internet website.</font></p> <p><font size="2"></font> </p> </body> </html> |
From: Phil S. <psu...@es...> - 2002-03-05 14:42:00
|
Actually, there is some hope for chdir in the JPE project. I finally got this to build last week (the stable-beta-7 build) and my second test was to see if I could use it to chdir from java by calling chdir in python. IIRC it worked. Building JPE was a bear but I have been corresponding with Frederic and he tells me the head CVS version (at least as of about last Tuesday) uses a new, cleaner build system. An unholy marriage of jython and JPE might bring interesting results in the future. For instance, a new os module similar to jnios could be implemented by delegating problematic calls to the CPython os module. Or, less seamlessly, you could just Another option is to use JPE instead of Jython, but as far as I can tell, JPE is much less seamless than jython; I doubt you'd want to trade jython for JPE in most cases, but if you are tring to write 'scripty' stuff using JPE directly would be great. -----Original Message----- From: Dinu Gherman [mailto:gh...@da...] Sent: Tuesday, February 26, 2002 10:46 AM To: Finn Bock Cc: jyt...@li... Subject: Re: [Jython-users] OSError: [Errno 0] chdir not supported in Java? Finn Bock <bc...@wo...>: > As Samuele has explained, we can't do a chdir in 100% java and we will > *never* include JNI code with the jython distribution. Thanks for the clarification! I got the same explanation from Samuele over private email. Thanks, Samuele! > But we could (as we already do for the readline module) include support > code that require the presence of a JNI module to work. So if anybody > needed chdir() or chmod() or the full stat() values badly enough, she > could create a copy of the javaos.py module that used one of the JNI > module (there are several such candidates). > > We could then add a mechanisme to jython (in the registry) that allowed > users to choose either the existing 100% pure java version of "os" or > one the JNI alternatives. > > The fact that I haven't maintained jnios for quite a while should be a > good indication that I don't need chdir() myself. I'll check soon if I really need chdir or if I can replace it somehow... In fact, what I'm trying to do is port the ReportLab toolkit to Jython, and chdir is what seems to prevent the test suite (and some tools and demos) from working. So, my frustration is maybe more with Java than with Jython and surely I should have better investigated the issues instead of showing my Java ignorance. Sorry for that! What I'd suggest is some sort of collection of "porting stories" (Python to Jython) and/or issues to expect when doing this kind of thing. I'm not sure the FAQ is the best place for that, but maybe I'm wrong. OTOH, maybe it is too much to ask from Python programmers to code in a Jython-friendly way? Well, at least it would be helpful to know where to expect potential pitfalls. What do people think? The good news is that many parts of ReportLab seem to be working ok, especially the vector graphics stuff (after fixing the list builtin function)! Regards, Dinu _______________________________________________ Jython-users mailing list Jyt...@li... https://lists.sourceforge.net/lists/listinfo/jython-users |
From: º»Å俵¾î <a8...@ly...> - 2002-03-05 12:44:32
|
<html> <head> <title>이메일문서</title> <meta name="generator" content="Namo WebEditor v4.0"> </head> <body bgcolor="white" text="black" link="blue" vlink="purple" alink="red"> <table border="0" width="526"> <tr> <td width="516" height="50"> <p style="MARGIN-LEFT: 2mm; LINE-HEIGHT: 130%"><font color="blue" size="4"><b> <a href="http://www.7english.co.kr">기적의 영어 </font><font color="#ff3333" size="4">7English</font><font color="blue" size="4"> 샘플 </B></font><font color="blue" size="3"> <br> </font><font color="blue" size="2"> 샘플을 보시려면 <한글97>이 설치되어 있어야 합니다.</font><b><font color="blue" size="4"><br></A></b></FONT><font size="2"> 다음은 영어교육개혁 협회의 발표문을 인용한 것입니다.</font></p> </td> </tr> </table> <table width="525" cellpadding="0" cellspacing="0" bgcolor="#ccffcc" bordercolordark="black" bordercolorlight="black" height="5"> <tr> <td width="525" bordercolor="white" height="116" bgcolor="#f1f7e2"> <p style="MARGIN-LEFT: 2mm; LINE-HEIGHT: 160%"><font size="4"> </font><a href="http://www.7english.net"><font color="blue" size="4">《1》 <b>폐지되는 영문법 80% 25개항</b> - 상세히 보기-</font><font color="#ff3333" size="4">클릭</font></a><font size="4"><br> </font><font size="4" color="red">학계</font><font size="4">와 </font><font size="4" color="red">교육계</font><font size="4">의 98%의 지지로 결정된 사항입니다.<br><a href="http://www.7english.net"> </a></font><a href="http://www.7english.co.kr"><font color="blue" size="4">《2》 <b>기적의</b> <b>단어숙어, 문법의 혁명</b> - 원소이론-</font><font color="#ff3333" size="4">클릭</font><font color="blue" size="4"> </font></a></p> </td> </tr> </table> <table width="525" cellpadding="0" cellspacing="0" bgcolor="#ccffcc" bordercolordark="black" bordercolorlight="black" height="5"> <tr> <td width="525" height="36" bordercolor="white" bgcolor="#f3e4e4"> <p style="LINE-HEIGHT: 160%"><font size="4"> </font><a href="http://www.7english.co.kr"><b><font size="4" color="blue">엉터리 문법 추방하여 영어지옥 벗어나자</font><font size="4">.</a><br></FONT></B></p> </td> </tr> </table> <table border="1" width="525" cellspacing="0" bgcolor="#ffffcc" bordercolor="green" bordercolordark="black" bordercolorlight="black"> <tr> <td width="519" height="122" bordercolor="white"> <p style="LINE-HEIGHT: 150%"><font color="#ff3333" size="4"> <b>영어교육 양심선언문</b></font><font size="4"><br> 기존의 영문법은 1. 영어의 근본을 파괴하고 <br> 2. 엄청난 시간과 자원을 허비하고 <br> 3. 인간의 천부적 언어능력을 마비시킨다.</font></p> </td> </tr> </table> <table width="523" cellpadding="0" cellspacing="0" bgcolor="#ccffcc" bordercolordark="black" bordercolorlight="black"> <tr> <td width="523" height="89" bordercolor="white"> <p style="MARGIN-LEFT: 3mm; LINE-HEIGHT: 150%; MARGIN-RIGHT: 3mm" align="justify"><font size="3"> 영어를 걱정하는 가족과 친구들께도 전해 주십시오. 그리고 영어교육개혁에 동참하여 주시기 바랍니다.<br> </font><a href="http://www.7english.co.kr"><font size="4" color="#ff3333">-영어교육개혁 국민협회<b> </font><font size="4" color="blue">www.</font><font size="4" color="red">7English</font><font size="4" color="blue">.co.kr </font><font size="4" color="#ff3333">-</a><br> <a href="http://www.7english.net"> </FONT><font size="4" color="blue">www.</font><font size="4" color="red">7English</font><font size="4" color="blue">.net</font></a><a href="http://www.7english.net"><font size="4" color="#ff3333"> </font></a></B></p> </td> </tr> </table> <p><font size="2"> 귀하의 주소는 인터넷사이트에서 알았습니다.<br> 마지막 안내가 될 것입니다. </font></p> <p><font size="2"> This is for Koreans who want to be good at English.<br> If not, delete it. This will not come again.<br> Your E-mail address is from an internet website.</font></p> <p><font size="2"></font> </p> </body> </html> |
From: <Ale...@di...> - 2002-03-05 02:39:54
|
I was wondering, how would I know which python packages are available in jython ... Or in other words, which parts of the python library that is on the Python site is actually implemented in jython. Thanks, Alex Kotchnev Diversified Information Technologies |
From: Ype K. <yk...@xs...> - 2002-03-04 19:41:48
|
Joshua, >I'm interested in learning more about how jythonc works. I see that it produces an intermediate file which is then compiled to bytecode with javac. > >A few questions come to mind: > >Did the creators consider using Java as an intermediate, rather than generating bytecode directly (OK, Java source code is easier to produce, but isn't it possible to compile non-Java directly to bytecode?) Iirc, the early versions of JPython compiled to java and did not incorparate a byte code generator. Current versions include a byte code generator. You can see the java code generated by the jython compiler by using an option to jythonc. >Why is the absolute path of the *.py file embedded into the generated *.java file, and thence in the bytecode? What use could that be, considering that we can certainly move class files around? This is to allow a __file__ attribute on some standard objects (ao. on modules). In case you need to move a *$py.class file around it is generally better to move the *.py file and recompile it. >More generally: Is there any documentation available about how jythonc works? Apart from the jythonc things on www.jython.org there is not much documentation. In case you know about compilers, the code is quite readable and object oriented to the bone. It also helps to be familiar with java's class file format. The parser is generated from a syntax description and it calls the later stages of the compiler using a visitor pattern with a visit method for every python syntax construct. One area that I don't quite understand it the compilation of local python variables to local java variables. It works great nonetheless. Regards, Ype -- |