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: Phil S. <psu...@es...> - 2002-02-22 14:29:36
|
AFAIK, you can't do what you want to do. You can put the Lib directory into a jar, however the only syntax for accessing it (that I know of) is to add something like this into your python path: some/dirs/your.war/Lib (this works for 2.1, 2.1alpha used !Lib) ...but this means that you'd need to know where the war was being deployed. The solution is to allow jython to load python files from the classpath. The jython developers have been pondering what the right thing to do should be. Classloaders are tricky beasts, especially once you get into the world of j2ee containers. -----Original Message----- From: Gerhard =?unknown-8bit?Q?H=E4ring?= [mailto:gh_...@gm...] Sent: Thursday, February 21, 2002 11:00 PM To: jyt...@li... Subject: [Jython-users] Put Core + Lib in one big .jar I'm currently playing with Jython and the BSF taglib in a web application. The web application is deployed as a .war file. As there is no guarantee that the .war files are ever unpacked (and I prefer them not too), I can't put Jython's Lib/ directory in there, can I? So I've tried to freeze all of Jython like this: ./jythonc -j /tmp/reallybig-jython.jar -C /usr/bin/javac -a Lib/*.py this didn't provide any usable result. Hmm. Is it possible to get rid of all the .py files and pack *everything* into one jar, so that I can still use Jython from the BSF? Gerhard -- mail: gerhard <at> bigfoot <dot> de registered Linux user #64239 web: http://www.cs.fhm.edu/~ifw00065/ OpenPGP public key id 86AB43C0 public key fingerprint: DEC1 1D02 5743 1159 CD20 A4B6 7B22 6575 86AB 43C0 reduce(lambda x,y:x+y,map(lambda x:chr(ord(x)^42),tuple('zS^BED\nX_FOY\x0b'))) _______________________________________________ Jython-users mailing list Jyt...@li... https://lists.sourceforge.net/lists/listinfo/jython-users |
From: Kevin B. <kev...@bi...> - 2002-02-22 06:12:05
|
You're basically limited to currentTimeMillis if you must stay with pure Java (which Jython does). If you're willing to "go native", you can use the JVM profiler interfaces (JVMPI) to have the JVM measure times for you: http://www.javaworld.com/javaworld/javatips/jw-javatip92.html Gives a description of one way to do it. If you go native, you could also wrap any other OS calls desired... kb Eric Bieschke wrote: > I want to measure CPU time within my Jython code. With CPython I'd typically > use os.times(). I don't believe os.times() is supported within Jython > [correct me if I'm wrong]. > > My google searches have only yielded information about using > java.lang.System.currentTimeMillis() as a timing mechanism within Jython, > which provides wall clock time, not CPU time. > > Is there an equivalent call to os.times() from Jython? If not, what > approaches have people used to measure CPU time within Jython? > > - Eric Bieschke > > _______________________________________________ > Jython-users mailing list > Jyt...@li... > https://lists.sourceforge.net/lists/listinfo/jython-users |
From: Brian E. <bm...@vi...> - 2002-02-22 04:18:41
|
Thanks, guys! I patched in the change and it's working great now! I'm using the GNU Readline flavor -- Bablok mentioned Editline as a replacement, but his download didn't include it (even though the included Makefiles try to build it) and I haven't gone digging for it. Is one preferred over the other, or are they simply different flavors accomplishing the same thing? Also, now that I'm really starting to like it, I'm curious if there's a way to make Tab work the way I'm used to. Thanks again for all your help! Steve Cohen wrote: >I believe this was a known issue. I submitted a patch last month to >ReadlineConsole.java that you might want to get from CVS and rebuild >with. Are you using the GNU Readline or the Editline flavor of >readline? > > > >-----Original Message----- >From: Stefan [mailto:sd...@or...] >Sent: Thursday, February 21, 2002 5:48 AM >To: jyt...@li... >Cc: Brian Ericson >Subject: Re: [Jython-users] Jython, readline, and : > > >On Wed, 20 Feb 2002 12:15:11 -0600 >Brian Ericson <bm...@vi...> wrote: > >>Anyone tried ":" (compound statements) with Bablok's readline (version >> > >>0.7.0 on Linux)? Esc-Tab over Tab will take a little getting used to >>(especially since Tab itself in readline isn't all that useful), but >>readline apparently doesn't like the last blank line needed to >> >terminate > >>the statement... >> >> >>> if 1: >>... print 1 >>... >>Traceback (innermost last): >> (no code object) at line 0 >> File "<console>", line 3 >> null >> ^ >>SyntaxError: invalid syntax >> >>> >> >>Is this a known issue? Is there a workaround? I don't want to go >> >back... > >> > >Hi, >I got the same annoying error using the readline library. >I patched the ReadlineConsole.java which comes with the lib (contrib) >as follows to get around. >(Beside this, the library is rellay great!) > > /** > * Write a prompt and read a line. > * > * The returned line does not include the trailing newline. When the > * user enters the EOF key sequence, EOFError is raised. > * > * This subclass implements the functionality using JavaReadline. > **/ >35 public String raw_input(PyObject prompt) { >36 try { >37 String line = Readline.readline(prompt.toString()); >38 return (line == null ? "" : line); >39 } catch (java.io.EOFException eofe) { >40 throw new PyException(Py.EOFError); >41 } catch (java.io.UnsupportedEncodingException e) { >42 throw new PyException(); >43 } >44 } > >Note the differences at lines 37,38 > >It works for me. >Hope this helps. > >--Stefan > > > > >>_______________________________________________ >>Jython-users mailing list >>Jyt...@li... >>https://lists.sourceforge.net/lists/listinfo/jython-users >> > >_______________________________________________ >Jython-users mailing list >Jyt...@li... >https://lists.sourceforge.net/lists/listinfo/jython-users > >_______________________________________________ >Jython-users mailing list >Jyt...@li... >https://lists.sourceforge.net/lists/listinfo/jython-users > |
From: Gerhard <gh_...@gm...> - 2002-02-22 03:59:41
|
I'm currently playing with Jython and the BSF taglib in a web application. The web application is deployed as a .war file. As there is no guarantee that the .war files are ever unpacked (and I prefer them not too), I can't put Jython's Lib/ directory in there, can I? So I've tried to freeze all of Jython like this: ./jythonc -j /tmp/reallybig-jython.jar -C /usr/bin/javac -a Lib/*.py this didn't provide any usable result. Hmm. Is it possible to get rid of all the .py files and pack *everything* into one jar, so that I can still use Jython from the BSF? Gerhard -- mail: gerhard <at> bigfoot <dot> de registered Linux user #64239 web: http://www.cs.fhm.edu/~ifw00065/ OpenPGP public key id 86AB43C0 public key fingerprint: DEC1 1D02 5743 1159 CD20 A4B6 7B22 6575 86AB 43C0 reduce(lambda x,y:x+y,map(lambda x:chr(ord(x)^42),tuple('zS^BED\nX_FOY\x0b'))) |
From: Eric B. <EBi...@sa...> - 2002-02-22 00:51:39
|
I want to measure CPU time within my Jython code. With CPython I'd typically use os.times(). I don't believe os.times() is supported within Jython [correct me if I'm wrong]. My google searches have only yielded information about using java.lang.System.currentTimeMillis() as a timing mechanism within Jython, which provides wall clock time, not CPU time. Is there an equivalent call to os.times() from Jython? If not, what approaches have people used to measure CPU time within Jython? - Eric Bieschke |
From: Ype K. <yk...@xs...> - 2002-02-21 18:55:44
|
Tom, <snip> >After I changed everything (I also used instances of the variables, >although that's not strictly required) in your program to reference >the instance, I got a big red solid square....although I still have a >hard time using "self" when I want to use "this" ;-) Nothing stops you from using 'this' instead of 'self'. Using 'self' is only a (widely used) python convention. Regards, Ype -- |
From: Tom W. <to...@ss...> - 2002-02-21 18:26:17
|
Jack: > Message: 1 > From: Jack Madison <jma...@nc...> > To: jyt...@li... > Date: Wed, 20 Feb 2002 15:07:05 -0500 > Subject: [Jython-users] newbie trying to convert HelloJava3Da to jython > > LIke the subject says, I'm new to jython AND java3D and I'm trying to get > HelloJava3Da.java to run as jython code. In fact, I'm still very new to > python. Basically I want to start playing around with jython using the > java3d api so I started with a java example that compiles and opens a black > window with a red square: > from java.applet import Applet > from java.awt import BorderLayout > from java.awt import Frame > from java.awt.event import * > from com.sun.j3d.utils.applet import MainFrame > from com.sun.j3d.utils.universe import * > from com.sun.j3d.utils.geometry import ColorCube > from javax.media.j3d import * > from javax.vecmath import * > > class HelloJava3Da(Applet): > def __init__(self): > # setLayout(BorderLayout()) > canvas3D = Canvas3D(None) > # add("center", canvas3D) > myscene = self.createSceneGraph() > simpleU = SimpleUniverse(canvas3D) > simpleU.getViewingPlatform().setNominalViewingTransform() > simpleU.addBranchGraph(myscene) > > def createSceneGraph(self): > objRoot = BranchGroup() > objRoot.addChild(ColorCube(0.4)) > return objRoot > > myhj = HelloJava3Da() > frame = MainFrame(myhj, 256, 256) I think that mostly what's wrong is that you need to be using instances of the methods you reference. Unlike Java, Jython needs you to be explicit about when you're using an instance variable or method. For example, saying "setLayout(...)" doesn't imply "self"; rather, you need to explicitly say "self.setLayout(...)". Also, your add("center", canvas3D) needs to have 'center' spelled 'Center' to work, I believe: self.add("Center",...). After I changed everything (I also used instances of the variables, although that's not strictly required) in your program to reference the instance, I got a big red solid square....although I still have a hard time using "self" when I want to use "this" ;-) tom -- Tom Whittaker University of Wisconsin-Madison Space Science and Eng. Center ph: 608.262.2759 |
From: Jeff E. <je...@ad...> - 2002-02-21 17:01:20
|
You can find a Java interface to Berkeley DB which you can access directly from jython. Feed this to google "berkeley db java" Stephen Naicken wrote: > I have an application in python that requires the use of the bsddb > module to extract information from the mozilla 0.92 cache database, > cache.db. I would like to port this application to jython, but the > bsddb module is not available. What alternatives do i have? > > Thanks > > Stephen > > > _______________________________________________ > Jython-users mailing list > Jyt...@li... > https://lists.sourceforge.net/lists/listinfo/jython-users > |
From: Stephen N. <ste...@co...> - 2002-02-21 16:25:06
|
I have an application in python that requires the use of the bsddb module to extract information from the mozilla 0.92 cache database, cache.db. I would like to port this application to jython, but the bsddb module is not available. What alternatives do i have? Thanks Stephen |
From: Steve C. <St...@ig...> - 2002-02-21 14:57:48
|
I believe this was a known issue. I submitted a patch last month to ReadlineConsole.java that you might want to get from CVS and rebuild with. Are you using the GNU Readline or the Editline flavor of readline? -----Original Message----- From: Stefan [mailto:sd...@or...] Sent: Thursday, February 21, 2002 5:48 AM To: jyt...@li... Cc: Brian Ericson Subject: Re: [Jython-users] Jython, readline, and : On Wed, 20 Feb 2002 12:15:11 -0600 Brian Ericson <bm...@vi...> wrote: > Anyone tried ":" (compound statements) with Bablok's readline (version > 0.7.0 on Linux)? Esc-Tab over Tab will take a little getting used to=20 > (especially since Tab itself in readline isn't all that useful), but=20 > readline apparently doesn't like the last blank line needed to terminate=20 > the statement... >=20 > >>> if 1: > ... print 1 > ... > Traceback (innermost last): > (no code object) at line 0 > File "<console>", line 3 > null > ^ > SyntaxError: invalid syntax > >>> >=20 > Is this a known issue? Is there a workaround? I don't want to go back... >=20 >=20 Hi, I got the same annoying error using the readline library. I patched the ReadlineConsole.java which comes with the lib (contrib) as follows to get around. (Beside this, the library is rellay great!) /** * Write a prompt and read a line. * * The returned line does not include the trailing newline. When the * user enters the EOF key sequence, EOFError is raised. * * This subclass implements the functionality using JavaReadline. **/ 35 public String raw_input(PyObject prompt) { 36 try { 37 String line =3D Readline.readline(prompt.toString()); 38 return (line =3D=3D null ? "" : line); 39 } catch (java.io.EOFException eofe) { 40 throw new PyException(Py.EOFError); 41 } catch (java.io.UnsupportedEncodingException e) { 42 throw new PyException(); 43 } 44 } Note the differences at lines 37,38 It works for me. Hope this helps. --Stefan > _______________________________________________ > Jython-users mailing list > Jyt...@li... > https://lists.sourceforge.net/lists/listinfo/jython-users >=20 _______________________________________________ Jython-users mailing list Jyt...@li... https://lists.sourceforge.net/lists/listinfo/jython-users |
From: Michail P. (QTX) <Mic...@et...> - 2002-02-21 13:18:40
|
The applets that are in the Jython home page, under Demo etc. Windows 2000, Internet Explorer 6.02 http://www.jython.org/applets/index.html http://www.jython.org/applets/button.html http://www.jython.org/applets/checkbox.html http://www.jython.org/applets/choice.html http://www.jython.org/applets/label.html http://www.jython.org/applets/list.html http://www.jython.org/applets/coordinates.html http://www.jython.org/applets/converter.html name Michail Papadopoulos tel-work: +468 719 72 71 mobil: +4670 485 21 30 email: Mic...@et... |
From: Stefan <sd...@or...> - 2002-02-21 10:49:21
|
On Wed, 20 Feb 2002 12:15:11 -0600 Brian Ericson <bm...@vi...> wrote: > Anyone tried ":" (compound statements) with Bablok's readline (version > 0.7.0 on Linux)? Esc-Tab over Tab will take a little getting used to > (especially since Tab itself in readline isn't all that useful), but > readline apparently doesn't like the last blank line needed to terminate > the statement... > > >>> if 1: > ... print 1 > ... > Traceback (innermost last): > (no code object) at line 0 > File "<console>", line 3 > null > ^ > SyntaxError: invalid syntax > >>> > > Is this a known issue? Is there a workaround? I don't want to go back... > > Hi, I got the same annoying error using the readline library. I patched the ReadlineConsole.java which comes with the lib (contrib) as follows to get around. (Beside this, the library is rellay great!) /** * Write a prompt and read a line. * * The returned line does not include the trailing newline. When the * user enters the EOF key sequence, EOFError is raised. * * This subclass implements the functionality using JavaReadline. **/ 35 public String raw_input(PyObject prompt) { 36 try { 37 String line = Readline.readline(prompt.toString()); 38 return (line == null ? "" : line); 39 } catch (java.io.EOFException eofe) { 40 throw new PyException(Py.EOFError); 41 } catch (java.io.UnsupportedEncodingException e) { 42 throw new PyException(); 43 } 44 } Note the differences at lines 37,38 It works for me. Hope this helps. --Stefan > _______________________________________________ > Jython-users mailing list > Jyt...@li... > https://lists.sourceforge.net/lists/listinfo/jython-users > |
From: Mike H. <th...@bi...> - 2002-02-21 00:59:21
|
To both Brians -- Thanks a lot for the help. But I wanted to turn a Date into a float. I'll keep working on it . . . you guys did answer my question and give me a good point to go on from. -- mikeh |
From: ¹ÚÁ¤Èñ<lk...@ya...> - 2002-02-20 23:08:41
|
<HTML> <HEAD> <TITLE></TITLE> </HEAD> <BODY> <DIV> <TABLE align=center border=1 cellPadding=0 cellSpacing=0> <TR> <TD> <DIV align=center><IMG height=138 src="http://my.netian.com/~estrus/enterprise/03.jpg" width=610></DIV></TD></TR></TABLE><BR> <TABLE align=center border=1 cellPadding=0 cellSpacing=0 width="63%"> <TR> <TD> <TABLE align=center bgColor=#ffffff border=0 cellPadding=0 cellSpacing=0 width="96%"> <TR> <TD> <P align=left><BR><FONT size=2>사업정보를 담은 CD를 보내드립니다<BR>안녕하십니까? inter-NETwork & associates, Korea의 박정희입니다...</FONT></P></TD></TR> <TR> <TD bgColor=#9999cc> <TABLE border=1 cellPadding=0 cellSpacing=0 width="100%"> <TR> <TD><FONT color=#ffffff>1. 인사 : 선생님을 알게된 경위</FONT></TD></TR></TABLE></TD></TR> <TR> <TD> <P><BR> <FONT size=2>Internet community site인 여러 포털 site에서 선생님의 메일주소를 알게 되어 이렇게 인사를 드리게 되었습니다. 인터넷의 보급이 일반화되면서 이젠 이메일로 편안하게 인사도 드리면서 필요한 정보도 쉽게 공유할 수 있는 시대가 된 것 같습니다. <BR>새로운 패러다임에 입각한 인간관계의 형성이 이제는 인터넷을 통하여 정말 특별하게 대중화되고 있는 시점이 아닌가 생각합니다.</FONT> </P> <P></P></TD></TR> <TR> <TD bgColor=#9999cc> <TABLE border=1 cellPadding=0 cellSpacing=0 width="100%"> <TR> <TD><FONT color=#ffffff>2. 메일을 드리는 이유</FONT></TD></TR></TABLE></TD></TR> <TR> <TD> <P><BR> <FONT size=2>제가 오늘 선생님께 이 글을 드리게 된 것은 인터넷으로 인한 시대의 변화를 통한 21세기에 적합한 새로운 비즈니스 모델을 제시하고자 함이며 여기에서 제공하는 사업에 관심이 있을 경우 보다 상세한 검토자료의 제공은 물론, 제가 주최하는 사업 세미나에 초청하여 직접 설명을 드릴 수 있습니다. <BR><FONT color=#0066ff>하지만, 제 임의대로 메일을 보내는 것이 선생님께 조금이라도 불편함을 끼쳐 드렸다면 진심으로 사과드리오며, 신경향의 비즈니스에 관심이 없으시다면 더 이상 읽지 마시고 바로 삭제를 부탁 드립니다. </FONT></FONT></P> <P></P></TD></TR> <TR> <TD bgColor=#9999cc> <TABLE border=1 cellPadding=0 cellSpacing=0 width="100%"> <TR> <TD><FONT color=#ffffff>3. 저의 소개</FONT></TD></TR></TABLE></TD></TR> <TR> <TD> <P><BR> <FONT size=2>저는 inter-NETwork & associates, Korea의 consultant 박정희라고 합니다. 저는 8년간 공무원으로 근무를 하였었고 현재는 b2b, b2c consulting을 주업무로 하는 ina에서 수석 컨설턴트로 활약하고 있습니다. 특히, 인터넷과 관련한 기업들에 대하여 벤치마킹을 하던중 21c 가장 적합하고 비전있는 비지니스 모델을 발견하게 되었고 현재는 이사업에도 시간을 투자하고 있습니다. 또한, 많은 사람들에게 이 사업에 대한 정보를 제공하면서 함께 성장해가고 있습니다. </FONT></P> <P></P></TD></TR> <TR> <TD bgColor=#9999cc> <TABLE border=1 width="100%"> <TR> <TD><FONT color=#ffffff>4. 비지니스 모델 및 저의 역활</FONT></TD></TR></TABLE></TD></TR> <TR> <TD> <P><FONT color=#0033ff><BR> <FONT size=2>저는 사회 각 분야의 명망있는 지도자 몇 분과 정보를 공유하면서 국제적인 web site를 가지고 직장인 및 개인사업가에게 고소득을 창출할 수 있도록 도와드리는 일을 하고 있습니다.<BR>미국, 일본 등의 선진국에서는 double job을 가진 직장인, 개인사업가가 많습니다. 제가하는 사업도 현재 하는일 외에 남는 시간을 활용하여 참여자 모두 고소득을 창출하는 soho사업인 것이지요. 고 부가가치의 인터넷 비즈니스입니다. 이 business는 디지털 혁명이 가져오는 세상의 변화와 그 속에서 자본과 지식, 경험이 없는 개인이 '부'를 창출할 수 있는 on-off 전자상거래 입니다.</FONT></FONT></P> <P> </P></TD></TR> <TR> <TD> <TABLE border=1 cellPadding=0 cellSpacing=0 width="100%"> <TR> <TD bgColor=#9999cc><FONT color=#ffffff>5. 비즈니스의 특징</FONT></TD></TR></TABLE></TD></TR> <TR> <TD><FONT color=#ff00ff><BR> <FONT size=2>또한 이사업은 엘빈토플러, 존나이스비츠, 빌게이츠, 부자아빠- 의 저자 '로버트 기요사키'와 경제평론가 엄길청교수, 정보전략연구소장 윤은기박사, 장영 전삼성경제연구소 수석팀장등이 직접 참여하거나 적극 추천하는 사업이며 city group, amazon.com, real.com, IBM, sony, GTE, 삼성, 한국통신, 등이 검증한 사업의 기회이기도 합니다.</FONT></FONT> <P><FONT color=#ff00ff size=2>사업의 특징: Internet e-commerce <BR><BR>- 현재의 직업을 계속 유지하면서 free time으로 진행이 가능<BR>- 사무실과 직원고용이 필요치 않음 <BR>- 자본의 투자가 거의 없음 (경제적 risk 전무)<BR>- 전문지식과 경험이 필요치 않음<BR>- 지역적, 품목의 제한이 없음<BR>- 전자상거래<BR>- win&win 플랜, 완벽한 system, 팀웍 사업.<BR></FONT></P> <P><FONT color=#ff00ff></FONT></P></TD></TR> <TR> <TD bgColor=#9999cc> <TABLE border=1 cellPadding=0 cellSpacing=0 width="100%"> <TR> <TD><FONT color=#ffffff>6. 사업의 검토 방법</FONT></TD></TR></TABLE></TD></TR> <TR> <TD><FONT color=#0033ff><BR> <FONT size=2>이 사업에 관심이 있으시면 제가 주최하는 세미나에 초청하거나 방문하여 사업플랜을 보여 드리고자 합니다. </FONT></FONT> <P><FONT size=2>선생님께서 제가 드리는 사업정보를 보다 세부적으로 검토하시고자 한다면 서울 및 서울인근일 경우 무료 사업상담이 가능합니다. 저는 대단한 사업정보를 가지고, 선생님께서는 꿈과 변화에 대한 강한 의지를 가지고 30분동안만 시간을 함께 나누신다면, 분명히 의미있는 시간이 될 줄 믿습니다. 거리상 만나는 것이 어려우시거나, 시간이 여의치 않으시다면 [[[성함,전화번호,주소]]]를 남겨 주시면 동 비지니스의 사업설명을 담고 있는 CD를 보내 드리겠습니다.<BR>[[[성함,전화번호,주소 필히 기재요망]]] </FONT></P> <P><FONT color=#0033ff size=2>아울러, 사업의 성격상 전화나 이메일로 구체적인 설명을 드리지 못함을 양해하시기 바랍니다. </FONT></P> <P> </P></TD></TR> <TR> <TD bgColor=#ffffff> <TABLE border=1 cellPadding=0 cellSpacing=0 width="100%"> <TR> <TD bgColor=#9999cc><FONT color=#ffffff>7. 당부의 말씀</FONT></TD></TR></TABLE></TD></TR> <TR> <TD><BR> <FONT size=2>아시다시피 21세기 사회는 매우 불안정하고 불확실합니다. 직업적인 전망도 불투명하고 정보가 시시각각으로 달라 지므로 어떠한 것을 취사선택해야 하는지 혼란스럽기까지 합니다. 평범한 보통사람들은 그 정보가 제한되어 있을 뿐만 아니라 이를 활용하고 성공적으로 이끌 자본과 know-how가 부족한 것이 사실입니다. 그러나, 인터넷이라는 tool은 평범한 사람들이 성공적인 business를 창조적으로 찾아 이를 발전시킬 수 있는 시대를 열었습니다. 바야흐로, 일부 특권층에 의한 정보독점시대의 종말을 예고하는 것이지요. </FONT> <P><FONT size=2>오늘 제가 드리는 것도 하나의 "정보"이며 이 사업이 어쩌면 선생님께는 "기회"가 될 수도 있을 것입니다. 관심을 가지고 새로운 정보! 에 접근하여 파악하는 노력을 아끼지 않으신다면 분명 큰 기회가 될것임을 확신합니다. </FONT></P> <P><FONT size=2>현재를 극복하기 위하여 미래에 추가적 소득을 진심으로 원하십시오. 자신의 5년후를 위해 마음의 문을 열고 미래의 정보를 확인하시고 시간을 할애하시기 바랍니다. 오늘 이 조그마한 결단이 5년, 10년 이후의 미래를 밝게 해 드릴 것입니다. </FONT></P> <P><FONT size=2>미래는 올바른 정보를 선점하여 변화를 하고자 하는자의 것임을 확신하며 내내 건강하시고 활기찬 나날이 되시기를 기원합니다. </FONT></P> <P> </P></TD></TR> <TR> <TD> <DIV align=center><FONT size=2><BR>inter-NETwork & associates, Korea의 consultant 박정희<BR>mobile : 016-845-6179<BR></FONT></DIV> <P align=center><FONT size=2>e-mail : <A href="mailto:lk...@ya...">lk...@ya...</A>, <A href="mailto:lk...@ya...">lk...@ya...</A></FONT></P> <P align=center><FONT size=2><BR></FONT></P></TD></TR></TABLE></TD></TR></TABLE> <P align=center><A href="mailto:lk...@ya..."><FONT size=2>수신거부를 원하시면 여기를 클릭해주세요</FONT></A></P> <P> </P> <DIV align=left> <P> </P> <P><BR></P></DIV></DIV> </BODY> </HTML> |
From: Brian E. <bm...@vi...> - 2002-02-20 22:23:11
|
Couple of things -- DateFormat is abstract and format is an instance (not class) method. Jython reports it as requiring 2-3 args because the first arg is the implicit "this". SimpleDateFormat is instantiable and you'll need to create an instance of it to call format: >>> from java.text import SimpleDateFormat >>> from java.util import Date >>> date = Date() >>> date Wed Feb 20 16:05:04 CST 2002 >>> sdf = SimpleDateFormat() >>> sdf.format(date) '2/20/02 4:05 PM' The Python documentation states strptime uses a default format of |"%a %b %d %H:%M:%S %Y"| (identical to ctime's formatting), so, while Jython doesn't have strptime, you could use strftime with that format (or ctime itself): >>> import time >>> time.strftime("%a %b %d %H:%M:%S %Y", time.localtime(time.time())) 'Wed Feb 20 16:17:28 2002' >>> time.ctime(time.time()) 'Wed Feb 20 16:20:26 2002' Mike Hostetler wrote: >Maybe I'm doing something dumb here -- I dunno. I'll honestly admit that >I know more about Python than Java . . > >I'm wanting to emulate something like the time.strpformat in the >CPython/Unix library. The closest I've found is the java.text.DateFormat class >in the Java standard library. I think I'm using it right, but I get a >very strange error: > >>>>from java.text import DateFormat >>>>date >>>> >'Wednesday February 20 12:06:17 CST 2002' > >>>>t = DateFormat.parse(date) >>>> >Traceback (innermost last): > File "<console>", line 1, in ? >TypeError: parse(): expected 2-3 args; got 1 > >According to the Java API docs, DateFormat.parse only requires 1-2 args: > >parse >public Date parse(String text) > throws ParseException > >parse >public abstract Date parse(String text, ParsePosition pos) > >Anyone have any suggestions?? > >-- mikeh > > >_______________________________________________ >Jython-users mailing list >Jyt...@li... >https://lists.sourceforge.net/lists/listinfo/jython-users > |
From: brian z. <bz...@zi...> - 2002-02-20 22:15:39
|
Mike, You are calling the method .parse on the Class DateFormat, not an instance of DateFormat. You should probably use an instance of SimpleDateFormat or call one of the many .get[Date|Time]Instance methods on DateFormat to get an instance. The missing argument in your calls to .parse is 'self'. >>> from java.text import DateFormat >>> date = '2/20/02' >>> j = DateFormat.getDateInstance(DateFormat.SHORT) >>> print j.parse(date) Wed Feb 20 00:00:00 CST 2002 >>> brian > -----Original Message----- > From: jyt...@li... > [mailto:jyt...@li...] On Behalf > Of Mike Hostetler > Sent: Wednesday, February 20, 2002 3:22 PM > To: jyt...@li... > Subject: [Jython-users] using java.text.DateFormat > > > > Maybe I'm doing something dumb here -- I dunno. I'll > honestly admit that > I know more about Python than Java . . > > I'm wanting to emulate something like the time.strpformat in the > CPython/Unix library. The closest I've found is the > java.text.DateFormat class > in the Java standard library. I think I'm using it right, but I get a > very strange error: > > >>> from java.text import DateFormat > >>> date > 'Wednesday February 20 12:06:17 CST 2002' > >>> t = DateFormat.parse(date) > Traceback (innermost last): > File "<console>", line 1, in ? > TypeError: parse(): expected 2-3 args; got 1 > > According to the Java API docs, DateFormat.parse only > requires 1-2 args: > > parse > public Date parse(String text) > throws ParseException > > parse > public abstract Date parse(String text, ParsePosition pos) > > Anyone have any suggestions?? > > -- mikeh > > > _______________________________________________ > Jython-users mailing list > Jyt...@li... > https://lists.sourceforge.net/lists/listinfo/jython-users > |
From: Mike H. <th...@bi...> - 2002-02-20 21:53:18
|
Maybe I'm doing something dumb here -- I dunno. I'll honestly admit that I know more about Python than Java . . I'm wanting to emulate something like the time.strpformat in the CPython/Unix library. The closest I've found is the java.text.DateFormat class in the Java standard library. I think I'm using it right, but I get a very strange error: >>> from java.text import DateFormat >>> date 'Wednesday February 20 12:06:17 CST 2002' >>> t = DateFormat.parse(date) Traceback (innermost last): File "<console>", line 1, in ? TypeError: parse(): expected 2-3 args; got 1 According to the Java API docs, DateFormat.parse only requires 1-2 args: parse public Date parse(String text) throws ParseException parse public abstract Date parse(String text, ParsePosition pos) Anyone have any suggestions?? -- mikeh |
From: Jack M. <jma...@nc...> - 2002-02-20 20:07:39
|
LIke the subject says, I'm new to jython AND java3D and I'm trying to get HelloJava3Da.java to run as jython code. In fact, I'm still very new to python. Basically I want to start playing around with jython using the java3d api so I started with a java example that compiles and opens a black window with a red square: ---------begin---------- import java.applet.Applet; import java.awt.BorderLayout; import java.awt.Frame; import java.awt.event.*; import com.sun.j3d.utils.applet.MainFrame; import com.sun.j3d.utils.universe.*; import com.sun.j3d.utils.geometry.ColorCube; import javax.media.j3d.*; import javax.vecmath.*; public class HelloJava3Da extends Applet { public HelloJava3Da() { setLayout(new BorderLayout()); Canvas3D canvas3D = new Canvas3D(null); add("Center", canvas3D); BranchGroup scene = createSceneGraph(); SimpleUniverse simpleU = new SimpleUniverse(canvas3D); simpleU.getViewingPlatform().setNominalViewingTransform(); simpleU.addBranchGraph(scene); } public BranchGroup createSceneGraph() { BranchGroup objRoot = new BranchGroup(); objRoot.addChild(new ColorCube(0.4)); return objRoot; } public static void main(String[] args) { Frame frame = new MainFrame(new HelloJava3Da(), 256, 256); } } ---------end---------- This works just fine. The most current version of my attempt at a conversion to jython looks like this: ---------begin---------- from java.applet import Applet from java.awt import BorderLayout from java.awt import Frame from java.awt.event import * from com.sun.j3d.utils.applet import MainFrame from com.sun.j3d.utils.universe import * from com.sun.j3d.utils.geometry import ColorCube from javax.media.j3d import * from javax.vecmath import * class HelloJava3Da(Applet): def __init__(self): # setLayout(BorderLayout()) canvas3D = Canvas3D(None) # add("center", canvas3D) myscene = self.createSceneGraph() simpleU = SimpleUniverse(canvas3D) simpleU.getViewingPlatform().setNominalViewingTransform() simpleU.addBranchGraph(myscene) def createSceneGraph(self): objRoot = BranchGroup() objRoot.addChild(ColorCube(0.4)) return objRoot myhj = HelloJava3Da() frame = MainFrame(myhj, 256, 256) ---------end---------- It actually runs without error and opens a window, but it is blank, not black with a big red square. Notice the two lines that are commented out. When I comment out the equivalent lines from the java program, I also get a blank window that looks the same. The problem is when I uncomment the setLayout line I get: Traceback (innermost last): File "HelloJava3a.py", line 26, in ? File "HelloJava3a.py", line 13, in __init__ NameError: setLayout and when I uncomment the add line I get: WARNING: Canvas3D constructed with a null GraphicsConfiguration. Loading required GL library /usr/X11R6/lib/libGL.so.1.2.030402 Traceback (innermost last): File "HelloJava3a.py", line 26, in ? File "HelloJava3a.py", line 15, in __init__ NameError: add I get the "WARNING" and the "Loading" line when the java program runs correctly. I've tried changing around the import statements, and tried things like changing setLayout to java.awt.setLayout which doesn't work. Telling me what is wrong would be great, but I'm really hoping someone can give me a short explaination of WHY it isn't working and what I should do to get it to work. Thanks for any help you can give, -Jack |
From: Brian E. <bm...@vi...> - 2002-02-20 18:15:37
|
Anyone tried ":" (compound statements) with Bablok's readline (version 0.7.0 on Linux)? Esc-Tab over Tab will take a little getting used to (especially since Tab itself in readline isn't all that useful), but readline apparently doesn't like the last blank line needed to terminate the statement... >>> if 1: ... print 1 ... Traceback (innermost last): (no code object) at line 0 File "<console>", line 3 null ^ SyntaxError: invalid syntax >>> Is this a known issue? Is there a workaround? I don't want to go back... |
From: Kevin R. <kra...@ap...> - 2002-02-19 21:21:40
|
We have an application that uses Jython to implement some business rules. When we have multiple threads executing our Jython script the VM crashes. The jython script takes in a string representation of XML data, parses that into an XML Document using JAXP, generates lists of certain node types and applies business rules to those lists. It appears that where we generate the node lists the code is failing. For each excution of the code a seperate PythonInterpreter is created and used. We are running Weblogic 6.1 sp 2 with the included 1.3.1_01 VM. Any hints would be greatly appreciated. Thanks. |
From: Syver E. <syv...@on...> - 2002-02-19 15:32:08
|
Hi Wayne, could you tell us excactly what you do to make the applet. I'm thinking of HTML code, where is the jar file, exactly what compilation options do you use and so on, I think it would help in diagnosing your problem. A thought, I didn't see that you used the --core switch to jythonc, this is required if you don't provide jython.jar in the list of archives in the applet tag in your html code. Btw, the java plugin works fine on my machine (win2k pro, ie 6, java 1.4) -- Vennlig hilsen Syver Enstad |
From: Niko S. <nik...@us...> - 2002-02-19 08:51:22
|
james p wrote: > We have a bunch of Python (cgi) scripts producing html > behind an Apache web > server. We also have a set of Java libraries that I > want to access from > these Python scripts, but I haven't been able to > figure out how to do this. > I have downloaded and tried out Jython, but it takes > 5-6 seconds just to run > a one-line 'print "hi"' script, and this is, of > course, not acceptable for a > web server. Kevin Butler wrote: > 5-6 seconds seems high - unless you're running on slow hardware > or jython can't access its package cache, it should be more > like 2.5 seconds. > > Which is probably still not acceptable. :-) > > Your best bet if you want to use Java in a web server environment > is to have a persistent Java process, so you don't pay the JVM > startup > time with every hit. If you really need to access > Java libraries in servicing web requests, you should consider > converting > the relevant CGI scripts to servlets (which you can code in > Jython). If you are using Jython in version >= 2.1 alpha, there comes servlet support for free (org.python.util.PyServlet), you find a detailed description how to use this environment from within your servlet container (for example Tomcat) at: http://jywiki.sourceforge.net/index.php?JythonServlet Hope this helps, Niko |
From: Wayne P. <wa...@mi...> - 2002-02-19 05:20:19
|
rbill wrote: > On Sun, 17 Feb 2002, Wayne Pierce wrote: > >>I haven't worked with Jython in a while, so I thought I'd build a simple >>Applet to refresh my memory. I copied the code from the web site below: >> >>from java.applet import Applet >> >>class HelloWorld(Applet): >> def paint(self, g): >> g.drawString("Hello from Jython!", 20, 30) >> >>I then used jythonc to create a .jar file and have the following in my HTML: >> >> <applet code='HelloWorld' archive='hello.jar' width=200 height=200> >> <applet> I found one problem, the file I created was 'hello.py' but the class was 'HelloWorld'. When I changed them to match the error I was getting before went away...and I got a new one. :-( > Does the browser you are using have plugin support for JDK 1.4? Without > plugins, use jdk 1.1.8 to compile applets. If this is no help, forward > the options given to jythonc and the java console output. I didn't load the applet plugin, but this time I did test it with appletviewer.exe and got the following output: java.lang.NoClassDefFoundError: org/python/core/PyProxy at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:512) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:12 6) at java.net.URLClassLoader.defineClass(URLClassLoader.java:249) at java.net.URLClassLoader.access$100(URLClassLoader.java:57) at java.net.URLClassLoader$1.run(URLClassLoader.java:196) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:189) at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:134) at java.lang.ClassLoader.loadClass(ClassLoader.java:309) at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:114) at java.lang.ClassLoader.loadClass(ClassLoader.java:265) at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:470) at sun.applet.AppletPanel.createApplet(AppletPanel.java:551) at sun.applet.AppletPanel.runLoader(AppletPanel.java:480) at sun.applet.AppletPanel.run(AppletPanel.java:293) at java.lang.Thread.run(Thread.java:539) When I compiled with 'jythonc -jar hello.jar hello.py' I got the following output: Warning: -jar is deprecated, use --jar processing hello Required packages: java.applet Creating adapters: Creating .java files: hello module hello extends java.applet.Applet Compiling .java to .class... Compiling with args: ['c:\\jdk\\bin\\javac', '-classpath', 'C:\\jython\\jython.j ar;;.\\jpywork;;C:\\jython\\Tools\\jythonc;C:\\Xitami\\webpages\\.;C:\\jython\\L ib;C:\\jython', '.\\jpywork\\hello.java'] 0 Note: .\jpywork\hello.java uses or overrides a deprecated API. Note: Recompile with -deprecation for details. Building archive: hello.jar Tracking java dependencies: I've tried moving the HTML file and the .jar into the jpywork directory with no luck. I'm not sure what to try next, I even tried another program from Jython_for_Java_Programmers. That program worked fine when typed interactively but didn't work when I tried to make a .jar and run it. Thanks for any help, Wayne |
From: ¿î»ê<cj...@ho...> - 2002-02-19 01:07:15
|
<!-- miagent sub start --> <table width=100% ><td valign=top> <html> <head> <title>운산운세정보</title> <x-meta http-equiv="Content-Type" content="text/html; charset=euc-kr"> <style type="text/css"> <!-- A:active {color: #0033CC; text-decoration: none; font-size: 9pt; font-family: "굴림", "돋움"} A:visited {color: #000000; text-decoration: none; font-size: 9pt; font-family: "굴림", "돋움"} A:hover {color: #CC0000; text-decoration: underline; font-style: normal; font-size: 9pt; font-family: "굴림", "돋움"} A:link {color: #000000; text-decoration: none; font-size: 9pt; font-family: "굴림", "돋움"} td { font-size: 9pt; font-family: "굴림", "돋음"} .link1 { color: #666666; font-size: 9pt; font-family: "굴림", "돋음"} .white {color: #ffffff; text-decoration: none; font-size: 9pt} .lance { BACKGROUND-COLOR: #E3FCF8; BORDER-BOTTOM: gray 1px solid; BORDER-LEFT: gray 1px solid; BORDER-RIGHT: gray 1px solid; BORDER-TOP: gray 1px solid; COLOR: black; FONT-SIZE: 9pt; FONT-FAMILY: "굴림", "돋움"; --> </style> </head> <table width=100% bgcolor="#FFFFFF" leftmargin="10" topmargin="10" marginwidth="10" marginheight="10"><td valign=top> <table width="527" border="0" cellspacing="0" cellpadding="0" align="center"> <tr> <td colspan="3"><font color="#333333"> 본 메일은 정보통신부 권고사항에 의거,제목에 [광고]란이 표시된 메일입니다.</br> 허락없이 광고메일을 보내드려 죄송하며,정중히 양해 바랍니다.</br> 메일주소는 게시판,동호회등의 공개 메일주소를 수집하여, 다른 개인정보는 없음을 알려드립니다.</br> </td> </tr> <tr> <td height="7"></td> <td height="7"></td> <td height="7"></td> </tr> </table> <table width="527" border="0" cellspacing="0" cellpadding="0" align="center"> <tr> <td colspan="3" height="14"><img src="http://www.catchall.co.kr/good2/list_19/8865_mail/mail_table1.gif" width="527" height="14"></td> </tr> <tr> <td rowspan="4" width="14"><img src="http://www.catchall.co.kr/good2/list_19/8865_mail/mail_table2.gif" width="14" height="691"></td> <td width="498" height="35"><img src="http://www.catchall.co.kr/good2/list_19/8865_mail/mail_name.gif" width="498" height="35"></td> <td rowspan="4" width="15"><img src="http://www.catchall.co.kr/good2/list_19/8865_mail/mail_table3.gif" width="15" height="691"></td> </tr> <tr> <td width="498" height="219"> <table width="498" border="0" cellspacing="1" cellpadding="0" bgcolor="#000000" height="219"> <tr bgcolor="#FFFFFF" align="center"> <td> <table width="480" border="0" cellspacing="0" cellpadding="0" bgcolor="#FFFFFF" height="200"> <tr> <td height="170" width="230"><img src="http://www.catchall.co.kr/good2/list_19/8865_mail/mail_image.gif" width="212" height="139"></td> <td height="170" width="250" style="line-height:18px; text-align:justify"> <p>운산운세정보에서는 다른 실시간상담업체와 달리 많은 상담선생님을 초빙하지 않고, <b>회사의 엄격한 기준에 부합된 상담선생님</b>들만 모셔서 24시간 1:1 상담이 될 수 있도록 하였습니다. <A href="http://www.ilovesaju.co.kr"><font color=#ff0000>(홈페이지로 이동,무료상담실 운영)</font></A><br> <br> 직업운, 시험운, 진학운, 애정운, 사랑운, 건강운, 사업운, 꿈해몽, 토정비결, 속궁합 겉궁합, 승진운, 작명, 택일, 사주팔자, 풍수지리...</p> </td> </tr> <tr align="center"> <td colspan="2"><img src="http://www.catchall.co.kr/good2/list_19/8865_mail/mail_txt.gif" width="377" height="23"></td> </tr> </table> </td> </tr> </table> </td> </tr> <tr> <td width="498" height="369" bgcolor="#916500" align="center" valign="top"> <table width="474" border="0" cellspacing="0" cellpadding="0" bgcolor="#F6F6F5"> <tr> <td width="10" height="20"> </td> <td width="454" height="20"> </td> <td width="10" height="20"> </td> </tr> <tr> <td height="20"> </td> <td height="20" valign="top"><img src="http://www.catchall.co.kr/good2/list_19/8865_mail/mail_txt-1.gif" width="107" height="13"></td> <td width="10"> </td> </tr> <tr> <td width="10"> </td> <td width="454" style="line-height:18px; text-align:justify"> <table width="454" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="12" style="line-height:18px; text-align:justify">1.<br> </td> <td width="447" style="line-height:18px; text-align:justify"> 지역번호 없이(휴대폰 포함) 060-700-8865번으로 전화를 겁니다(전국단일요금)</td> </tr> <tr> <td width="12" style="line-height:18px; text-align:justify">2.<br> <br> <br> </td> <td width="447" style="line-height:18px; text-align:justify"> 1번을 누르시면 대기중인 상담선생님과 자동연결되고, 2번을 누르시고 원하는 상담선생님 고유번호를 누르시면 선택한 역술상담선생님과 통화할 수 있습니다. 이용중 문의 사항이나 불편사항은 <a href="/Mail-bin/send_mail.form.cgi?TO=cyb...@ha..."><u>이메일</u></a>로 연락주시기 바랍니다. </td> </tr> </table> </td> <td width="10"> </td> </tr> <tr> <td width="10"> </td> <td width="454"> </td> <td width="10"> </td> </tr> <tr> <td width="10"> </td> <td width="454" height="20" valign="top"><img src="http://www.catchall.co.kr/good2/list_19/8865_mail/mail_txt-2.gif" width="108" height="14"></td> <td width="10"> </td> </tr> <tr> <td width="10"> </td> <td width="454" style="line-height:18px; text-align:justify">상담하실 내용을 미리 마음속으로 정리를 하거나 메모를 해 보세요.</br> 그리고 상담선생님과 연결이 되면 상담하실 내용을 차근차근 설명을 하시면 보다 편리하게 상담을 하실 수 있을 겁니다. 상담내용은 일체 비밀이므로, 편안한 마음과 자세로 상담 해보세요.</td> <td width="10"> </td> </tr> <tr> <td width="10"> </td> <td width="454"> </td> <td width="10"> </td> </tr> <tr> <td width="10"> </td> <td width="454" height="20" valign="top"><img src="http://www.catchall.co.kr/good2/list_19/8865_mail/mail_txt-3.gif" width="108" height="14"></td> <td width="10"> </td> </tr> <tr> <td width="10"> </td> <td width="500" style="line-height:18px; text-align:justify">서비스 이용요금은 사용 후, 익월에 사용한 내역이 정보이용료 사용하신 전화요금에 함께 청구되도록 되어 있어 결재시 불편함이 없습니다. </td> <td width="10"> </td> </tr> <tr> <td width="10"> </td> <td width="454"> </p> <font color=#004080 size=4><strong>"역학은 통계에 의한 과학적인 학문입니다"</strong></font></b></br> <font color=#686767 size=2> Copyright (c) 2002 <A href="http://www.ilovesaju.co.kr"><font color=#ff0000>운산운세정보</font></a> All rights reserved</font> </td> <td width="10"> </td> </tr> </table> </td> </tr> <tr> <td width="498" height="68"> <table width="498" border="0" cellspacing="0" cellpadding="0"> <tr valign="bottom"> <td height="28"><font color="#686767">(사)한국전화정보통신협회 심의필번호 200112-223 <b>불건전 정보신고</b> ☎080-700-3700</font></td> </tr> <tr> <td height="10"></td> </tr> <tr> <td height="30"> <div align="center">이 메일의 수신을 원하지 않으시면 <a href='http://www.ilovesaju.co.kr/mailling/mailno.php?email=jyt...@li...'><u>수신거부 </u></a> 를 눌러 주세요.</div> </td> </tr> </table> </td> </tr> <tr> <td colspan="3" height="9"><img src="http://www.catchall.co.kr/good2/list_19/8865_mail/mail_table4.gif" width="527" height="9"></td> </tr> </table> </td></table> </html> |
From: Kevin B. <kb...@ca...> - 2002-02-18 19:47:56
|
james p wrote: > > We have a bunch of Python (cgi) scripts producing html > behind an Apache web > server. We also have a set of Java libraries that I > want to access from > these Python scripts, but I haven't been able to > figure out how to do this. > I have downloaded and tried out Jython, but it takes > 5-6 seconds just to run > a one-line 'print "hi"' script, and this is, of > course, not acceptable for a > web server. 5-6 seconds seems high - unless you're running on slow hardware or jython can't access its package cache, it should be more like 2.5 seconds. Which is probably still not acceptable. :-) Your best bet if you want to use Java in a web server environment is to have a persistent Java process, so you don't pay the JVM startup time with every hit. If you really need to access Java libraries in servicing web requests, you should consider converting the relevant CGI scripts to servlets (which you can code in Jython). You could also use one of the somewhat-standard CGI-improvements (persistent CGI, etc.), or you can roll something on your own with some sort of RPC mechanism to talk to your long-running Java process (a CORBA link, a custom socket protocol, etc.). kb |