You can subscribe to this list here.
| 2000 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(38) |
Nov
(98) |
Dec
(58) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2001 |
Jan
(114) |
Feb
(123) |
Mar
(96) |
Apr
(66) |
May
(84) |
Jun
(72) |
Jul
(128) |
Aug
(126) |
Sep
(82) |
Oct
(80) |
Nov
(148) |
Dec
(55) |
| 2002 |
Jan
(137) |
Feb
(85) |
Mar
(118) |
Apr
(67) |
May
(71) |
Jun
(28) |
Jul
(69) |
Aug
(48) |
Sep
(83) |
Oct
(79) |
Nov
(54) |
Dec
(32) |
| 2003 |
Jan
(44) |
Feb
(47) |
Mar
(59) |
Apr
(57) |
May
(43) |
Jun
(45) |
Jul
(44) |
Aug
(39) |
Sep
(27) |
Oct
(62) |
Nov
(17) |
Dec
(23) |
| 2004 |
Jan
(41) |
Feb
(51) |
Mar
(38) |
Apr
(30) |
May
(25) |
Jun
(12) |
Jul
(11) |
Aug
(27) |
Sep
(16) |
Oct
(56) |
Nov
(23) |
Dec
(29) |
| 2005 |
Jan
(75) |
Feb
(82) |
Mar
(50) |
Apr
(77) |
May
(19) |
Jun
(104) |
Jul
(47) |
Aug
(42) |
Sep
(28) |
Oct
(143) |
Nov
(62) |
Dec
(13) |
| 2006 |
Jan
(20) |
Feb
(10) |
Mar
(59) |
Apr
(45) |
May
(25) |
Jun
(129) |
Jul
(162) |
Aug
(91) |
Sep
(15) |
Oct
(39) |
Nov
(186) |
Dec
(191) |
| 2007 |
Jan
(134) |
Feb
(140) |
Mar
(106) |
Apr
(77) |
May
(92) |
Jun
(63) |
Jul
(233) |
Aug
(102) |
Sep
(119) |
Oct
(63) |
Nov
(68) |
Dec
(32) |
| 2008 |
Jan
(69) |
Feb
(91) |
Mar
(129) |
Apr
(44) |
May
(18) |
Jun
(53) |
Jul
(50) |
Aug
(25) |
Sep
(11) |
Oct
(28) |
Nov
(67) |
Dec
(36) |
| 2009 |
Jan
(20) |
Feb
(24) |
Mar
(66) |
Apr
(53) |
May
(48) |
Jun
(48) |
Jul
(59) |
Aug
(82) |
Sep
(49) |
Oct
(30) |
Nov
(16) |
Dec
(16) |
| 2010 |
Jan
(52) |
Feb
(25) |
Mar
(36) |
Apr
(34) |
May
(14) |
Jun
(15) |
Jul
(14) |
Aug
(16) |
Sep
(23) |
Oct
(6) |
Nov
(4) |
Dec
(5) |
| 2011 |
Jan
(4) |
Feb
(22) |
Mar
(45) |
Apr
(9) |
May
(8) |
Jun
(13) |
Jul
(12) |
Aug
(4) |
Sep
(6) |
Oct
(10) |
Nov
(21) |
Dec
(5) |
| 2012 |
Jan
(6) |
Feb
(9) |
Mar
(25) |
Apr
(6) |
May
(4) |
Jun
(23) |
Jul
(6) |
Aug
(18) |
Sep
(21) |
Oct
(34) |
Nov
(19) |
Dec
(25) |
| 2013 |
Jan
(8) |
Feb
(34) |
Mar
(35) |
Apr
(4) |
May
(11) |
Jun
(4) |
Jul
(7) |
Aug
(5) |
Sep
(20) |
Oct
(12) |
Nov
(11) |
Dec
(7) |
| 2014 |
Jan
(10) |
Feb
(18) |
Mar
(50) |
Apr
(26) |
May
(53) |
Jun
(21) |
Jul
(12) |
Aug
(39) |
Sep
(43) |
Oct
(26) |
Nov
(8) |
Dec
(6) |
| 2015 |
Jan
(18) |
Feb
(32) |
Mar
(31) |
Apr
(42) |
May
(38) |
Jun
(13) |
Jul
(6) |
Aug
(11) |
Sep
(29) |
Oct
(25) |
Nov
(10) |
Dec
(11) |
| 2016 |
Jan
(24) |
Feb
(12) |
Mar
(13) |
Apr
(15) |
May
(22) |
Jun
(8) |
Jul
(12) |
Aug
(25) |
Sep
(8) |
Oct
(6) |
Nov
(13) |
Dec
(7) |
| 2017 |
Jan
(6) |
Feb
(29) |
Mar
(32) |
Apr
(8) |
May
(82) |
Jun
(42) |
Jul
(20) |
Aug
(17) |
Sep
(27) |
Oct
(14) |
Nov
(22) |
Dec
(6) |
| 2018 |
Jan
(12) |
Feb
(9) |
Mar
(22) |
Apr
(19) |
May
(14) |
Jun
(9) |
Jul
(9) |
Aug
(22) |
Sep
(22) |
Oct
(12) |
Nov
(13) |
Dec
(8) |
| 2019 |
Jan
(22) |
Feb
(3) |
Mar
(30) |
Apr
(20) |
May
(20) |
Jun
(6) |
Jul
(15) |
Aug
(25) |
Sep
(11) |
Oct
(24) |
Nov
(11) |
Dec
(6) |
| 2020 |
Jan
(9) |
Feb
(12) |
Mar
(29) |
Apr
(10) |
May
(22) |
Jun
(11) |
Jul
(15) |
Aug
(5) |
Sep
(6) |
Oct
(7) |
Nov
(7) |
Dec
(13) |
| 2021 |
Jan
(21) |
Feb
(5) |
Mar
(5) |
Apr
(6) |
May
(10) |
Jun
(7) |
Jul
(6) |
Aug
(8) |
Sep
(5) |
Oct
(9) |
Nov
(5) |
Dec
(6) |
| 2022 |
Jan
(5) |
Feb
(4) |
Mar
(8) |
Apr
(6) |
May
(5) |
Jun
(5) |
Jul
(10) |
Aug
(6) |
Sep
(7) |
Oct
(4) |
Nov
(4) |
Dec
(6) |
| 2023 |
Jan
(5) |
Feb
(5) |
Mar
(6) |
Apr
(4) |
May
(5) |
Jun
(6) |
Jul
(5) |
Aug
(5) |
Sep
(5) |
Oct
(5) |
Nov
(7) |
Dec
(8) |
| 2024 |
Jan
(3) |
Feb
(1) |
Mar
|
Apr
(2) |
May
|
Jun
(1) |
Jul
(1) |
Aug
(4) |
Sep
|
Oct
|
Nov
|
Dec
(1) |
| 2025 |
Jan
|
Feb
(2) |
Mar
|
Apr
(1) |
May
|
Jun
(1) |
Jul
|
Aug
(1) |
Sep
(1) |
Oct
|
Nov
|
Dec
|
| 2026 |
Jan
|
Feb
(1) |
Mar
(2) |
Apr
(1) |
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: brian z. <bz...@zi...> - 2001-02-27 13:34:12
|
The reason I ask is I have some code which wants to iterate an instance
using __len__ and __finditem__ magic methods on any sequence. I'll accept
anything with those two methods and I thought the Collection classes where
wrapped as such (thus my previous question about CollectionProxy; after
thinking about, it makes sense as to why Java classes come in as
PyJavaInstance instances.). In the meantime I do this:
protected boolean isSeq(PyObject object) {
if(object instanceof PyJavaInstance) {
List list = (List)object.__tojava__(List.class);
if(list == Py.NoConversion) {
return false;
}
object = new PyList((PyObject[])list.toArray(new PyObject[list.size()]));
}
return object.__findattr__("__finditem__") != null &&
object.__findattr__("__len__") != null;
}
I'll look into writing the Java->Python wrapper factory and the developers
can do what they want with it.
As for subclass support, would not Class.isAssignableFrom(Class) be
sufficient for handling these cases. I'm thinking of this off the top of
my head so I'll have to test it out first.
thanks,
brian
-----Original Message-----
From: jyt...@li...
[mailto:jyt...@li...]On Behalf Of Finn Bock
Sent: Tuesday, February 27, 2001 7:03 AM
To: jyt...@li...
Subject: Re: [Jython-dev] Py.java2py
[brian]
>The method Py.java2py does not support all clases and is closed to the end
>user. I would like to add functionality for classes such as BigDecimal to
>have Python wrappers, but don't want to endlessly patch the core. Has
there
>been any effort to make this a bit more extensible?
>
>I wrote a patch for JPython (since lost when I switched jobs) that allowed
>me to use a properties file to map a Java class to a Python wrapper. This
>allowed me to wrap a Money object and to have it perform all the magic
>methods.
>
>I would be willingly to write the patch again since I would like some of
>this functionality but didn't want to work on something that perhaps
someone
>has already started. If no one has started, are there any ideas floating
>around, such as adding it to the registry the way the modules are loaded by
>first looking at "python.modules.builtin".
I can't remember anyone asking for this. A feature request that
resembles the java2py wrappers are ProxyCollection creations.
http://mail.python.org/pipermail/jpython-dev/2000-February/000022.html
http://mail.python.org/pipermail/jpython-dev/2000-March/000023.html
A possible problem with most such class->handler mappings are the lack
of inheritance support. F.ex subclasses of BigDecimal should, by
default, be handled by the same wrapper as BigDecimal.
In addition to registry support, there should also be support for adding
additinal wrapper (and proxy) classes through an python API.
>Finally, if we do add such functionality, should we have as the ant project
>does an optional jar which contains Python-wrapped Java objects, for
example
>PySession and PyRequest, that would be outside of the core?
Not sure. I think the additional wrappers will be outside the core by
definition. I don't believe that jython should search for a optional.jar
and include it if found. IMO that is better done by the author by
including her optional.jar on the classpath.
regards,
finn
_______________________________________________
Jython-dev mailing list
Jyt...@li...
http://lists.sourceforge.net/lists/listinfo/jython-dev
|
|
From: <bc...@wo...> - 2001-02-27 13:03:47
|
[brian] >The method Py.java2py does not support all clases and is closed to the end >user. I would like to add functionality for classes such as BigDecimal to >have Python wrappers, but don't want to endlessly patch the core. Has there >been any effort to make this a bit more extensible? > >I wrote a patch for JPython (since lost when I switched jobs) that allowed >me to use a properties file to map a Java class to a Python wrapper. This >allowed me to wrap a Money object and to have it perform all the magic >methods. > >I would be willingly to write the patch again since I would like some of >this functionality but didn't want to work on something that perhaps someone >has already started. If no one has started, are there any ideas floating >around, such as adding it to the registry the way the modules are loaded by >first looking at "python.modules.builtin". I can't remember anyone asking for this. A feature request that resembles the java2py wrappers are ProxyCollection creations. http://mail.python.org/pipermail/jpython-dev/2000-February/000022.html http://mail.python.org/pipermail/jpython-dev/2000-March/000023.html A possible problem with most such class->handler mappings are the lack of inheritance support. F.ex subclasses of BigDecimal should, by default, be handled by the same wrapper as BigDecimal. In addition to registry support, there should also be support for adding additinal wrapper (and proxy) classes through an python API. >Finally, if we do add such functionality, should we have as the ant project >does an optional jar which contains Python-wrapped Java objects, for example >PySession and PyRequest, that would be outside of the core? Not sure. I think the additional wrappers will be outside the core by definition. I don't believe that jython should search for a optional.jar and include it if found. IMO that is better done by the author by including her optional.jar on the classpath. regards, finn |
|
From: <bc...@wo...> - 2001-02-27 13:02:53
|
[brian] >Quick question, what's the reason behind CollectionProxy[2] not being a >subclass of PyObject? I'm curious because it's functionality is exactly >what I want but unfortunately I need a PyObject. The CollectionProxy and CollectionProxy2 classes are purely helper classes for PyInstance. They are not part of the public API and to make that more visible, in Jython-2.1 these two classes will be package private. They do not subclass PyObject because they are never exposed to any python script. So there are no need to carry the additional PyObject baggage. regards, finn |
|
From:
<pet...@er...> - 2001-02-27 07:36:54
|
Hi ! when I try to install jython2.0 on my solaris system I get the = following message: "try path /opt/python/jpython/instsrc/" Jython seems to get installed correctly but I would like to get rid of = this annoying message. the command I use to install is: /opt/sun/jdk1.2.2/jre/bin/java -classpath . jython-20 -o = /opt/python/jpython/ Best Regards Peter Eklof > ___________________________________ > erIcssonl >=20 > Peter Ekl=F6f > Integration & Test >=20 > Ericsson Radio Systems AB > Center For Radio Network Control, OSS Framework Development > Datalinjen 4 Phone +46 13 28 48 34 > P.O.Box 1248 Fax +46 13 28 49 97 > SE-581 12 Link> =F6ping, Sweden=09 > mailto:pet...@er... > ___________________________________ >=20 |
|
From: brian z. <bz...@zi...> - 2001-02-27 06:23:30
|
The method Py.java2py does not support all clases and is closed to the end user. I would like to add functionality for classes such as BigDecimal to have Python wrappers, but don't want to endlessly patch the core. Has there been any effort to make this a bit more extensible? I wrote a patch for JPython (since lost when I switched jobs) that allowed me to use a properties file to map a Java class to a Python wrapper. This allowed me to wrap a Money object and to have it perform all the magic methods. I would be willingly to write the patch again since I would like some of this functionality but didn't want to work on something that perhaps someone has already started. If no one has started, are there any ideas floating around, such as adding it to the registry the way the modules are loaded by first looking at "python.modules.builtin". Finally, if we do add such functionality, should we have as the ant project does an optional jar which contains Python-wrapped Java objects, for example PySession and PyRequest, that would be outside of the core? thanks, brian |
|
From: brian z. <bz...@zi...> - 2001-02-27 04:09:02
|
Quick question, what's the reason behind CollectionProxy[2] not being a subclass of PyObject? I'm curious because it's functionality is exactly what I want but unfortunately I need a PyObject. thanks, brian |
|
From: Mats W. <ma...@la...> - 2001-02-26 16:30:33
|
At 05:10 PM 02/26/2001 +0100, Frederic Laurent wrote: >Hi, > >why not use Emacs ? >Best editor with python, java, jython, xml, xsl, c++, ... New subject line: "best way to start a religous war"... ask about editors. Actually, based on some stuff I heard recently, I have some hopes that IDLE may soon become useful together with Jython, for those of us who like IDLE (I do, at least for simpler stuff - interactive examination, quick scripts, etc). Note: this won't necessarily mean IDLE itself is running under Jython. |
|
From: Frederic L. <f.l...@al...> - 2001-02-26 16:09:54
|
Hi, why not use Emacs ? Best editor with python, java, jython, xml, xsl, c++, ... "Jorge Mireles J." a =E9crit : >=20 > Actually I had test some in Windows and Linux, I wonder if someone has > ever thinking about of having one specially designed to work with > jython, containing syntax coloring, shell testing, mainly in swing > (multiplatform) as IDLE is for CPython. I know JEdit > http://jedit.sourceforge.net interacts with a a scripting language > http:www.beanshell.org. Maybe working on this GPL project jython could > be inserted, JEdit being simplyfied and leave the effort as default > jython editor. > Regards... -- Fr=E9d=E9ric Laurent http://flrt.free.fr |
|
From: Samuele P. <pe...@in...> - 2001-02-26 16:02:01
|
Hi.
Please no black magic.
The problem is more likely to be:
> python.jythonc.classpath =
> E:\\Progra~1\\JavaSoft\\JRE\\1.3\\lib\\rt.jar:.
^ under win this should be ;
OTOH I don't see any reason for compiling against the 1.3 runtime
with a 1.1 compiler... I can even guess that this will possibly not work
even with the proposed suggestion. Because the classpath will be used
by compiler code too. The compiler executable is only a launcher for
java code ;)
regards, Samuele Pedroni
>
> Try adding
> import java.lang
> seems like jython cannot find the Object class.
>
> regards,
> Mick
>
> -----Original Message-----
> From: ff...@zk...
> To: jyt...@li...
> Sent: 2/26/01 2:33 AM
> Subject: [Jython-dev] Trouble Compiling to Stand-Alone
>
> I'm brand-smack-dab to Jython. All I'm wanting to do is mock-up
> menubars for a
> UI design. Couldn't locate a freeware GUI designer, so I decided to go
> with
> Jython.
>
> I'd like to be able to have my demo app capable of being run on Windows
> and
> Mac boxen, with a double-click o' the mouse. I believe that should be
> quite
> possible. Failing that, I'll put it up as a web app.
>
> Problem is, I can't get the thing to compile. I've attached the source,
> cut down
> to a minimum.
>
> Help, please! I'm sure I've just overlooked something abysmally
> obvious...
>
> Here's code:
> ===snip here======
> from pawt import swing, awt
> import java
>
> class App:
> def __init__(self):
> self.frame = swing.JFrame(title="Console - Demo Menus")
>
> self.frame.size= awt.Dimension(600,300)
> self.frame.validate()
> self.frame.visible = 1
>
> ####
> app = App()
> ===snip here======
>
> Here's the terminal session, with the errors:
> ===snip here======
> E:\Documents and Settings\David\jython-2.0>jythonc demo.py
> processing demo
>
> Required packages:
> java.awt
>
> Creating adapters:
>
> Creating .java files:
> demo module
>
> Compiling .java to .class...
> Compiling with args: ['E:\\jdk1.1.8\\bin\\javac.exe', '-classpath',
> 'E:\\Progra~
> 1\\JavaSoft\\JRE\\1.3\\lib\\rt.jar:.;E:\\Documents and
> Settings\\David\\jython-2
> .0\\jython.jar;;.\\jpywork;;E:\\Documents and
> Settings\\David\\jython-2.0\\Tools
> \\jythonc;E:\\Documents and Settings\\David\\jython-2.0\\.;E:\\Documents
> and Set
> tings\\David\\jython-2.0\\Lib;E:\\Docume~1\\David\\jython-2.0;E:\\Docume
> nts and
> Settings\\David\\jython-2.0', '.\\jpywork\\demo.java']
> 1 .\jpywork\demo.java:3: Superclass java.lang.Object of class demo not
> found.
> public class demo extends java.lang.Object {
> ^
> .\jpywork\demo.java:7: Superclass java.lang.Object of nested class demo.
> _PyInne
> r not found.
> public static class _PyInner extends PyFunctionTable implements
> PyRunnable {
> ===snip here======
>
>
> Here are the lines I added to my registry file:
> ===snip here======
> python.path = E:\\Docume~1\\David\\jython-2.0
> python.jythonc.compiler = E:\\jdk1.1.8\\bin\\javac.exe
> python.jythonc.classpath =
> E:\\Progra~1\\JavaSoft\\JRE\\1.3\\lib\\rt.jar:.
> ===snip here======
>
>
> And, finally, lines added to my environment:
> ===snip here======
> path=%path%;E:\Documents and Settings\David\jython-2.0\
> ===snip here======
>
>
>
> _______________________________________________
> Jython-dev mailing list
> Jyt...@li...
> http://lists.sourceforge.net/lists/listinfo/jython-dev
>
|
|
From: Garcia, M. <mg...@Bu...> - 2001-02-26 15:50:36
|
Try adding
import java.lang
seems like jython cannot find the Object class.
regards,
Mick
-----Original Message-----
From: ff...@zk...
To: jyt...@li...
Sent: 2/26/01 2:33 AM
Subject: [Jython-dev] Trouble Compiling to Stand-Alone
I'm brand-smack-dab to Jython. All I'm wanting to do is mock-up
menubars for a
UI design. Couldn't locate a freeware GUI designer, so I decided to go
with
Jython.
I'd like to be able to have my demo app capable of being run on Windows
and
Mac boxen, with a double-click o' the mouse. I believe that should be
quite
possible. Failing that, I'll put it up as a web app.
Problem is, I can't get the thing to compile. I've attached the source,
cut down
to a minimum.
Help, please! I'm sure I've just overlooked something abysmally
obvious...
Here's code:
===snip here======
from pawt import swing, awt
import java
class App:
def __init__(self):
self.frame = swing.JFrame(title="Console - Demo Menus")
self.frame.size= awt.Dimension(600,300)
self.frame.validate()
self.frame.visible = 1
####
app = App()
===snip here======
Here's the terminal session, with the errors:
===snip here======
E:\Documents and Settings\David\jython-2.0>jythonc demo.py
processing demo
Required packages:
java.awt
Creating adapters:
Creating .java files:
demo module
Compiling .java to .class...
Compiling with args: ['E:\\jdk1.1.8\\bin\\javac.exe', '-classpath',
'E:\\Progra~
1\\JavaSoft\\JRE\\1.3\\lib\\rt.jar:.;E:\\Documents and
Settings\\David\\jython-2
.0\\jython.jar;;.\\jpywork;;E:\\Documents and
Settings\\David\\jython-2.0\\Tools
\\jythonc;E:\\Documents and Settings\\David\\jython-2.0\\.;E:\\Documents
and Set
tings\\David\\jython-2.0\\Lib;E:\\Docume~1\\David\\jython-2.0;E:\\Docume
nts and
Settings\\David\\jython-2.0', '.\\jpywork\\demo.java']
1 .\jpywork\demo.java:3: Superclass java.lang.Object of class demo not
found.
public class demo extends java.lang.Object {
^
.\jpywork\demo.java:7: Superclass java.lang.Object of nested class demo.
_PyInne
r not found.
public static class _PyInner extends PyFunctionTable implements
PyRunnable {
===snip here======
Here are the lines I added to my registry file:
===snip here======
python.path = E:\\Docume~1\\David\\jython-2.0
python.jythonc.compiler = E:\\jdk1.1.8\\bin\\javac.exe
python.jythonc.classpath =
E:\\Progra~1\\JavaSoft\\JRE\\1.3\\lib\\rt.jar:.
===snip here======
And, finally, lines added to my environment:
===snip here======
path=%path%;E:\Documents and Settings\David\jython-2.0\
===snip here======
_______________________________________________
Jython-dev mailing list
Jyt...@li...
http://lists.sourceforge.net/lists/listinfo/jython-dev
|
|
From: <ff...@zk...> - 2001-02-26 07:31:51
|
I'm brand-smack-dab to Jython. All I'm wanting to do is mock-up menubars for a
UI design. Couldn't locate a freeware GUI designer, so I decided to go with
Jython.
I'd like to be able to have my demo app capable of being run on Windows and
Mac boxen, with a double-click o' the mouse. I believe that should be quite
possible. Failing that, I'll put it up as a web app.
Problem is, I can't get the thing to compile. I've attached the source, cut down
to a minimum.
Help, please! I'm sure I've just overlooked something abysmally obvious...
Here's code:
===snip here======
from pawt import swing, awt
import java
class App:
def __init__(self):
self.frame = swing.JFrame(title="Console - Demo Menus")
self.frame.size= awt.Dimension(600,300)
self.frame.validate()
self.frame.visible = 1
####
app = App()
===snip here======
Here's the terminal session, with the errors:
===snip here======
E:\Documents and Settings\David\jython-2.0>jythonc demo.py
processing demo
Required packages:
java.awt
Creating adapters:
Creating .java files:
demo module
Compiling .java to .class...
Compiling with args: ['E:\\jdk1.1.8\\bin\\javac.exe', '-classpath', 'E:\\Progra~
1\\JavaSoft\\JRE\\1.3\\lib\\rt.jar:.;E:\\Documents and Settings\\David\\jython-2
.0\\jython.jar;;.\\jpywork;;E:\\Documents and Settings\\David\\jython-2.0\\Tools
\\jythonc;E:\\Documents and Settings\\David\\jython-2.0\\.;E:\\Documents and Set
tings\\David\\jython-2.0\\Lib;E:\\Docume~1\\David\\jython-2.0;E:\\Documents and
Settings\\David\\jython-2.0', '.\\jpywork\\demo.java']
1 .\jpywork\demo.java:3: Superclass java.lang.Object of class demo not found.
public class demo extends java.lang.Object {
^
.\jpywork\demo.java:7: Superclass java.lang.Object of nested class demo. _PyInne
r not found.
public static class _PyInner extends PyFunctionTable implements PyRunnable {
===snip here======
Here are the lines I added to my registry file:
===snip here======
python.path = E:\\Docume~1\\David\\jython-2.0
python.jythonc.compiler = E:\\jdk1.1.8\\bin\\javac.exe
python.jythonc.classpath = E:\\Progra~1\\JavaSoft\\JRE\\1.3\\lib\\rt.jar:.
===snip here======
And, finally, lines added to my environment:
===snip here======
path=%path%;E:\Documents and Settings\David\jython-2.0\
===snip here======
|
|
From: Jorge M. J. <jmi...@se...> - 2001-02-23 18:40:21
|
Actually I had test some in Windows and Linux, I wonder if someone has ever thinking about of having one specially designed to work with jython, containing syntax coloring, shell testing, mainly in swing (multiplatform) as IDLE is for CPython. I know JEdit http://jedit.sourceforge.net interacts with a a scripting language http:www.beanshell.org. Maybe working on this GPL project jython could be inserted, JEdit being simplyfied and leave the effort as default jython editor. Regards... > -----Mensaje original----- > De: Bugbee, Larry [SMTP:Lar...@PS...] > Enviado el: viernes, 23 de febrero de 2001 11:58 > Para: 'Jorge Mireles J.' > Asunto: RE: [Jython-dev] Best editor for python? > > Hi Jorge, > > Question: for which platform? > > On Windows, and after trying several, I found TextPad works the best > for small and medium sized projects. With all its features it is a > "poor man's" IDE. (www.textpad.com, shareware $27US) For larger > projects, I dunno. ...ActiveState's plugin for Visual Studio? > > For the Mac I'd like to see a plugin for CodeWarrior and we're working > on that... on the back burner though. > > On Linux I'm still experimenting and really can't yet make a > recommendation. I am keenly interested so I'd appreciate you letting > me know what you discover. > > Tx, > > Larry > > Larry Bugbee > Advanced Computing Technologist > BCAG IS Architecture > lar...@ps... > 425-234-8667 > > The best way to predict the future is to invent it. --Alan Kay > > > > -----Original Message----- > From: Jorge Mireles J. [mailto:jmi...@se...] > Sent: Friday, February 23, 2001 6:30 AM > To: jyt...@li... > Subject: [Jython-dev] Best editor for python? > > > > What would be a convinient text editor for jython?. Netbeans? > > CodeGuide?, Guido's IDLE?, emacs?, vi? > > Suggestions, pros and cons will be appreciated. > > Best Regards... > > > > _______________________________________________ > Jython-dev mailing list > Jyt...@li... > http://lists.sourceforge.net/lists/listinfo/jython-dev |
|
From: Steve Y. <st...@ca...> - 2001-02-23 18:38:59
|
Hi, I've written a free, online, multi-player computer game in Java. It uses embedded Jython to produce most of the content. About 20% of the game classes are written in Jython, so it's got about 200 Jython classes so far, with the number growing almost daily. The URL is: http://www.cabochon.com. The game lets anyone who's interested come in and write Jython code to create their own in-game objects, monsters, spells, areas and so on. The game exposes its platform APIs in the form of javadocs on the website; you can access all the game APIs from Jython. Players can even get access to their own runtime Jython interpreter and make calls into the game while it's running. If I could get listed in your "Who uses Jython?" section, it might be of interest to people who are interested in doing Jython-based game development. Thanks, Steve Yegge st...@ca... |
|
From: Jorge M. J. <jmi...@se...> - 2001-02-23 14:13:24
|
> What would be a convinient text editor for jython?. Netbeans? > CodeGuide?, Guido's IDLE?, emacs?, vi? > Suggestions, pros and cons will be appreciated. > Best Regards... > |
|
From: Brian Z. <bri...@ya...> - 2001-02-23 00:42:30
|
Hi jython developers:
The following jython servlet runs fine on WinNT/2000, but gives me error
message (at the end of this message) when on Mandrake 7.2 Linux. Of
course no big deal, I can just use out.println("ABC") instead. Just
curious why.
import java, javax
class test(javax.servlet.http.HttpServlet):
def doGet(self, request, response):
out = response.getOutputStream()
response.setContentType("text/plain")
print >>out, "ABC"
return
#---
FYI:
$
/usr/java/jdk1.3/jre/bin/java -Dpython.home=/usr/local/jython-2.0 -class
path "context/WEB-INF/lib/jython.jar" org.python.util.jython
Jython 2.1pre-a1 on java1.3.0 (JIT: null)
Type "copyright", "credits" or "license" for more information.
>>> import sys
>>> print >>sys.stdout, "ABC"
ABC
>>>
$ uname -a
Linux hostname 2.2.17-21mdk #1 Thu Oct 5 13:16:08 CEST 2000 i686 unknown
$ java -version
java version "1.3.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0)
Java HotSpot(TM) Client VM (build 1.3.0, mixed mode)
/Brian
# -- ERROR MESSAGE ---
TypeError: can't set arbitrary attribute in java instance: softspace
at org.python.core.Py.TypeError(Py.java:120)
at org.python.core.PyJavaInstance.noField(PyJavaInstance.java:65)
at org.python.core.PyInstance.__setattr__(PyInstance.java:318)
at org.python.core.StdoutWrapper.print(StdoutWrapper.java:127)
at org.python.core.StdoutWrapper.println(StdoutWrapper.java:149)
at org.python.core.Py.println(Py.java:1168)
at
org.python.pycode._pyx1.doGet$3(/home/bzhou/devel/jywikiContext/test.py)
at
org.python.pycode._pyx1.call_function(/home/bzhou/devel/jywikiContext/te
st.py)
at org.python.core.PyTableCode.call(PyTableCode.java:155)
at org.python.core.PyTableCode.call(PyTableCode.java:353)
at org.python.core.PyTableCode.call(PyTableCode.java:258)
at org.python.core.PyFunction.__call__(PyFunction.java:110)
at org.python.core.PyMethod.__call__(PyMethod.java:83)
at org.python.core.PyObject.__call__(PyObject.java:250)
at org.python.core.PyObject._jcallexc(PyObject.java:2022)
at org.python.proxies.main$test$1.doGet(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at org.python.proxies.main$test$1.service(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.python.util.PyServlet.service(PyServlet.java:123)
|
|
From: Jorge M. J. <jmi...@se...> - 2001-02-22 20:52:44
|
> re...@ne... wrote:
> > Hi :)
> >
> > I'm trying swing programming in jython 2.0
> > I made simple text editor with InternalFrame
> > however, when I executed it opens another applet window under
> appletviewer
> > or netscape..
> > (It works on it but, not well)
> > main applet window in appletviewer or netscape is just empty.
> > what's problem on it?
> > Source code :
> >
> > class SmallEdit(JFrame):
> >
> > def exit(e) : java.lang.System.exit(0)
> > frame=JFrame('test',visible=1,size=(400,300))
>
> . . .
>
> > frame.pack()
>
> try inserting your code inside a constructor def __init__(self):
|
|
From: Kirsten, P.J. - S. <Pie...@kl...> - 2001-02-22 11:40:57
|
Jython Developers, I would like to help with the development of Jython, especially in the area of Java. My only problem is that I do not have experience with 'Open Source Development'. Can you please direct me to some information/documentation regarding 'Open Source Development' in general and/or Jython Development. Some pointers or thoughts would also be welcome. Greets Pieter ********************************************************************** This e-mail and any attachment may contain confidential and privileged material intended for the addressee only. If you are not the addressee, you are notified that no part of the e-mail or any attachment may be disclosed, copied or distributed, and that any other action related to this e-mail or attachment is strictly prohibited, and may be unlawful. If you have received this e-mail by error, please notify the sender immediately by return e-mail, and delete this message. Koninklijke Luchtvaart Maatschappij NV (KLM), its subsidiaries and/or its employees shall not be liable for the incorrect or incomplete transmission of this e-mail or any attachments, nor responsible for any delay in receipt. ********************************************************************** |
|
From: syKim <re...@ne...> - 2001-02-22 02:45:19
|
Hi :)
I'm trying swing programming in jython 2.0
I made simple text editor with InternalFrame
however, when I executed it opens another applet window under appletviewer
or netscape..
(It works on it but, not well)
main applet window in appletviewer or netscape is just empty.
what's problem on it?
Source code :
----------------------------------------------------------------------------
------------------------
import java
from java.awt import *
from java.awt.event import *
from javax.swing import *
from javax.swing.text import *
class SmallEdit(JFrame):
def exit(e) : java.lang.System.exit(0)
frame=JFrame('test',visible=1,size=(400,300))
frame.getContentPane().setLayout(BorderLayout())
editor=JTextArea()
editor.requestFocus()
inner=JInternalFrame('newfile',1,1,1,1,visible=1)
inner.setSize(200,150)
scroll=JScrollPane(autoscrolls=1,preferredSize=(200,150))
port=self.scroll.getViewport()
port.add(editor)
inner.getContentPane().add('Center',scroll)
desktop=JDesktopPane(preferredSize=(400,300))
desktop.add(inner)
button = JButton('Exit',actionPerformed=exit)
frame.getContentPane().add(desktop)
frame.getContentPane().add('West',button)
frame.pack()
----------------------------------------------------------------------------
--------------------------
|
|
From: <jus...@to...> - 2001-02-21 21:23:08
|
Dear jyt...@li..., THE SECRETS! Learn how to make at least $5000-00 a week. Discover the secrets of how to live a life full of pleasure, money and free time! Think I am going to charge for this information? NO! Act today and it is absolutely FREE for you. Check out my web site to see all the details. It is simple and easy to learn and best of all FREE! Reply to my email address asking for details and my responder will send you the download link. Regards Justin Jones |
|
From: <ma...@gl...> - 2001-02-21 07:05:43
|
国内最大級、最低料金のメール配信サービスのご案内
ホームページの宣伝、お店の宣伝、新商品の告知、求人募集、調査、行方不明者捜索
等。
初めて、メールさせていただきます。
グローブインフォ(株)の情報メディア事業部と申します。
URL: http://www.glbgrp.com内
当社は『的確な情報提供サービス』『情報管理提供システムの構築』等、情報に関す
る全般のサービスを提供する会社です。
この度、新規事業として、1メールアドレス単位2円で配信サービスを行うことと
なりました。
(但し、最低5000件単位とし、追加も5000件単位でお受け致します)
サービスの配信料は現在我々が知り得る配信サービスの中で最も低料金です。
メール広告配信は新聞広告などと違い、購読率は、新聞、折り込み広告の数倍の確
率で効果的です。
是非ご利用ください。
利用用途:
A:ホームページの宣伝(良い広告であれば、確実にアクセス数は増えます)
B:お店の宣伝(全国的に広がります)
C:新商品の告知
D:求人募集(広範囲に募集が出来ます)
E:調査(アンケート調査、等)※但し別途加工料金がかかります。
F:行方不明者捜索願い(警察への捜索願い届がされている事が前提となります)
(ある程度の写真等を添付出来ますのでビラ、張り紙より確率が高くなります)
例えば5,000件にメールを配信した場合は
10,000円+消費税+振込手数料)となります。
推奨配信データ量:166Kbyt(添付ファイルその他含む)
※これはあくまで推奨ですが、あまり大きいとメール受信時にキャンセルされてしま
う可能性が高くなります。
*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+
基本規約:
本サービスは、当社管理のメールアドレスに対し情報(広告、文書 等)を定めら
れた金額で配信するサービスです。
お受けできない内容
情報の内容は、犯罪に関係するもの、誹謗・中傷・嫌がらせ、虚偽・ ワイセツ文
書・ワイセツ広告、暴動、等を誘発する可能性。又は違法性があると判断されるもの
はお受けできません。
ウイルスの配信を防止する為に:
添付ファイルは、全てウイルス・スキャンを行い確認致します。
※配信料以外の料金:(アンケート調査等、返信を希望する場合)
返信・回答されたものは、個人を特定できる情報(アドレス・氏名・等)を除いた
データをテキストCSV等で全てお渡しいたします。
又回答データは1件50円の手数料が別途かかります。(集計、等は行いません)
またアンケート調査等の返信は、回答者の自由意志に基づくの為,その回答の有無
・件数内容については、当社は一切保証出来かねますのでご了承ください。
捜索願い等の回答・連絡メールは無料でデータをお渡しします。
(又配信料金も、1メールアドレス単位1円にさせていただきます。)
問い合わせ:ma...@g-...
●このメールが不要の場は、お手数ですがこのメールmailnothnk@g-con.comアドレス
宛にご返信くださるようお願い申しあげます。
mai...@g-...
●お届けするメールアドレスの変更は、下記へご連絡下さい。
mai...@g-...
※メール不要・アドレス変更のご連絡をいただいたにも関わらず、
行き違いにより、メール送信される場合がございます。
あしからず、ご了承ください。
発行:グローブインフォ株式会社
*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+
*−*−*−*−*−*−*−*−*−*−*−*−*−*−*−
メール配信サービスの利用の方法
まず、配信用メールを作成ください。
作成したメール(添付ファイルも含む)を ma...@gl... に送信くださ
い。
問い合わせいただければ、申込書を送信致します。
メールの内容を当社でチェック致します
OKなら送信されてきたメールアドレス宛に、配信料金,振込み先等を、ご連絡致
します。
※配信指定日の6日前には振込を完了してくださるようお願い致します。年末年
始、年度始め終わり、混み合いますので2週間前にお願いします。
振込確認ができましたら配信用メールの配信準備を致します。
配信メールの最終確認のメールを指定されたメールアドレス宛に送信致します。変
更等の連絡メールが無い場合、配信メールの確認が出来たものとみなします。
配信指定日にメールの配信
その時に依頼者の方にもメール送信されます。
注意:現在、特定指定については、分類指定ができません。
同一メールを分割した場合、同一人物に同じメールが配信される可能性がある
ことをご了承ください。
##############################
|
|
From: <no...@so...> - 2001-02-21 06:35:15
|
Patch #103918 has been updated. Project: jython Category: None Status: Open Submitted by: ianzsk Assigned to : nobody Summary: fixes to bugs #122819 #122847 #131507 #126677 Follow-Ups: Date: 2001-Feb-20 22:00 By: ianzsk Comment: the statement: "import ucar.netcdf.AttributeSet;" needs to be deleted from the top of the PyJavaClass.java file. Ooops! ianzsk ------------------------------------------------------- ------------------------------------------------------- For more info, visit: http://sourceforge.net/patch/?func=detailpatch&patch_id=103918&group_id=12867 |
|
From: <no...@so...> - 2001-02-21 05:59:08
|
Patch #103918 has been updated. Project: jython Category: None Status: Open Submitted by: ianzsk Assigned to : nobody Summary: fixes to bugs #122819 #122847 #131507 #126677 Follow-Ups: Date: 2001-Feb-20 22:00 By: ianzsk Comment: the statement: "import ucar.netcdf.AttributeSet;" needs to be deleted from the top of the PyJavaClass.java file. Ooops! ianzsk ------------------------------------------------------- ------------------------------------------------------- For more info, visit: http://sourceforge.net/patch/?func=detailpatch&patch_id=103918&group_id=12867 |
|
From: <no...@so...> - 2001-02-21 04:58:03
|
Patch #103918 has been updated. Project: jython Category: None Status: Open Submitted by: ianzsk Assigned to : nobody Summary: fixes to bugs #122819 #122847 #131507 #126677 ------------------------------------------------------- For more info, visit: http://sourceforge.net/patch/?func=detailpatch&patch_id=103918&group_id=12867 |
|
From: Humbel O. <Otm...@bi...> - 2001-02-20 14:31:53
|
Hello Eli, you can use the backslash (\), e.g. like this: >>> b = 1 >>> if b: ... print "hello \ world !" ... hello world ! >>> Best wishes, Oti. > -----Original Message----- > From: Eliahu Rosenblum [mailto:pa...@su...] > Sent: Tuesday, February 20, 2001 2:52 PM > To: jyt...@li... > Subject: [Jython-dev] Next line > > > Hi! > > How can pass to next line in multi-line construct. > The following text from tutorial states that I can, but it > doesn't explaint > how I can do it: > > Continuation lines are needed when entering a multi-line > construct. As an > example, take a look at this if statement: > > >>> the_world_is_flat = 1 > >>> if the_world_is_flat: > ... print "Be careful not to fall off!" > ... > Be careful not to fall off! > > > > May be there is a key list in Jythom docs? > Or I must to read source code of Jythom to find this info? > > Eli. > > > _______________________________________________ > Jython-dev mailing list > Jyt...@li... > http://lists.sourceforge.net/lists/listinfo/jython-dev > |
|
From: Eliahu R. <pa...@su...> - 2001-02-20 13:56:05
|
Hi! How can pass to next line in multi-line construct. The following text from tutorial states that I can, but it doesn't explaint how I can do it: Continuation lines are needed when entering a multi-line construct. As an example, take a look at this if statement: >>> the_world_is_flat = 1 >>> if the_world_is_flat: ... print "Be careful not to fall off!" ... Be careful not to fall off! May be there is a key list in Jythom docs? Or I must to read source code of Jythom to find this info? Eli. |