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: Thufir H. <haw...@gm...> - 2017-01-15 17:45:42
|
I'm very new to Python and Jython, but installed nfldb from pip install --user nfldb which is on github: https://github.com/BurntSushi/nfldb/wiki/More-examples Coming at this from Java, how would I hook into nfldb with Java? Or, perhaps, run the code in Jython? I'm sure there's a general solution or approach, would appreciate any pointers. Perhaps simply using JNI to leverage the work that's gone into this library already. It looks like probably org.python.util.PythonInterpreter is the best way to invoke this library? I've seen examples of how to invoke a specific script, but this API is a bit larger. How would I hook into an API? thanks, Thufir |
From: Jeff M. <jef...@za...> - 2017-01-13 14:22:39
|
Awesome thanks; when I had the issue, it was with fairly small .py modules, but I was importing some of the DB modules as well. I'll see if i can reproduce on the current trunk and get back to you; thanks! jeff On Fri, Jan 13, 2017 at 2:57 AM, Stefan Richthofer <Ste...@gm... > wrote: > Jeff, is it issue #527524 (http://bugs.jython.org/issue527524) that you > observed? > In http://bugs.jython.org/issue2473 Jim mentions that "In general, 2.7.0 > does a better job with large methods than 2.5.x, due to collection literal > splitting", so it surprises me that you observed things to have gone worse > in 2.7.0. > > - If you observed some different issue, it would be good if you could > specify what behavior "blows up" actually describes. Ideal would be to file > an issue with steps to reproduce, if none exists yet. > > - If it is #527524, you can try the newest Jython 2.7.1 trunk-version. > Provide a CPython 2.7 bytecode-file (.pyc) of the problematic module (e.g. > by running 'python -m py_compile filename') in the same folder. (It is > only needed in compilation phase; Jython will embed that bytecode into the > resulting class-file for problematic methods, so if you precompile to > class-files you won't have to distribute the pyc-file.) > > Best > > Stefan > > > *Gesendet:* Donnerstag, 12. Januar 2017 um 21:01 Uhr > *Von:* "Jeff Mitchell" <jef...@za...> > *An:* jyt...@li... > *Betreff:* [Jython-users] Compilation unit size exploding in JVM > Was just reminded about an issue I had back in December; I don't have > logfile evidence handy but may be able to generate some if needed. > > There seems to be an emitted unit sizing issue in 2.7 -- ie: python code > that ran just fine in 2.5 sometimes blows up in 2.7 when the JVM tries to > invoke it; the on the fly compilation may be dumping in too many tokens or > something. > > The workaround I had at the time was to try a few earlier builds of 2.7 or > just go back to 2.5 .. ie: the standard 2.7 from the website, vs the most > recent from the source repo. IIRC, the more recent the release, the larger > the space used, and the higher chance the JVM would reject it. 2.5 had no > problems whatsoever. > > JVM being openjdk in this case on a linux VM. > > Without the logfiles on hand its hard to pull out the correct keywords > here,but does this ring a bell with anyone? > > I seem to recall there was no easy JVM tweak to work around it short of > recompiling the JVM (ugh), but I expected the issue may just take care of > itself later, and it wasn't critical for me at the time. > > Anyone know if this is a known issue? resolved? or an ongoing concern? > > jeff > > ------------------------------------------------------------------------------ > Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon > Phi processor-based developer platforms. With one year of Intel Parallel > Studio XE. Training and support from Colfax. Order your platform today. > http://sdm.link/xeonphi_______________________________________________ > Jython-users mailing list Jyt...@li... > https://lists.sourceforge.net/lists/listinfo/jython-users > |
From: Stefan R. <Ste...@gm...> - 2017-01-13 07:57:40
|
<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div> <div>Jeff, is it issue #527524 (<a href="http://bugs.jython.org/issue527524" target="_blank">http://bugs.jython.org/issue527524</a>) that you observed?</div> <div>In http://bugs.jython.org/issue2473 Jim mentions that "In general, 2.7.0 does a better job with large methods than 2.5.x, due to collection literal splitting", so it surprises me that you observed things to have gone worse in 2.7.0.</div> <div> </div> <div>- If you observed some different issue, it would be good if you could specify what behavior "blows up" actually describes. Ideal would be to file an issue with steps to reproduce, if none exists yet.</div> <div> </div> <div>- If it is #527524, you can try the newest Jython 2.7.1 trunk-version. Provide a CPython 2.7 bytecode-file (.pyc) of the problematic module (e.g. by running '<span class="blob-code-inner"><span class="pl-s">python -m py_compile </span>filename') in the same folder. (It is only needed in compilation phase; Jython will embed that bytecode into the resulting class-file for problematic methods, so if you precompile to class-files you won't have to distribute the pyc-file.)</span></div> <div> <div> </div> <div>Best</div> <div> </div> <div>Stefan</div> <div> </div> <div> </div> <div style="margin: 10.0px 5.0px 5.0px 10.0px;padding: 10.0px 0 10.0px 10.0px;border-left: 2.0px solid rgb(195,217,229);"> <div style="margin: 0 0 10.0px 0;"><b>Gesendet:</b> Donnerstag, 12. Januar 2017 um 21:01 Uhr<br/> <b>Von:</b> "Jeff Mitchell" <jef...@za...><br/> <b>An:</b> jyt...@li...<br/> <b>Betreff:</b> [Jython-users] Compilation unit size exploding in JVM</div> <div> <div>Was just reminded about an issue I had back in December; I don't have logfile evidence handy but may be able to generate some if needed. <div> </div> <div>There seems to be an emitted unit sizing issue in 2.7 -- ie: python code that ran just fine in 2.5 sometimes blows up in 2.7 when the JVM tries to invoke it; the on the fly compilation may be dumping in too many tokens or something.</div> <div> </div> <div>The workaround I had at the time was to try a few earlier builds of 2.7 or just go back to 2.5 .. ie: the standard 2.7 from the website, vs the most recent from the source repo. IIRC, the more recent the release, the larger the space used, and the higher chance the JVM would reject it. 2.5 had no problems whatsoever.</div> <div> </div> <div>JVM being openjdk in this case on a linux VM.</div> <div> </div> <div>Without the logfiles on hand its hard to pull out the correct keywords here,but does this ring a bell with anyone?</div> <div> </div> <div>I seem to recall there was no easy JVM tweak to work around it short of recompiling the JVM (ugh), but I expected the issue may just take care of itself later, and it wasn't critical for me at the time.</div> <div> </div> <div>Anyone know if this is a known issue? resolved? or an ongoing concern?</div> <div> </div> <div>jeff</div> <div> </div> </div> ------------------------------------------------------------------------------ Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi processor-based developer platforms. With one year of Intel Parallel Studio XE. Training and support from Colfax. Order your platform today. <a href="http://sdm.link/xeonphi_______________________________________________" target="_blank">http://sdm.link/xeonphi_______________________________________________</a> Jython-users mailing list Jyt...@li... <a href="https://lists.sourceforge.net/lists/listinfo/jython-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/jython-users</a></div> </div> </div> </div></div></body></html> |
From: Christian P. <chr...@we...> - 2017-01-13 06:43:25
|
On 12.01.2017 19:48, Jeff Mitchell wrote: > Jython 2.7 is very recent, certainly not mid-2015.. more like what, Q3 > 2016? While I cannot give any information on the activity of the Jython project, I guess a major problem is communication. Last news entry on the webpage is from may 2015 "Jython 2.7.0 final released". As there were frequent news entries before the impression could be that the project is dead. This is definitely not true when one looks at the mercurial activity log: https://hg.python.org/jython Probably some updates now and then on the project news section from the devs would be a nice thing Christian |
From: Fernando C. <fc...@gm...> - 2017-01-13 03:13:07
|
On 1/12/17, Lior Amar <lio...@pa...> wrote: > Hi All, > > My name is Lior and I am working at Parallel Machine which is a startup > company > working on machine learning and streaming. There's an open source Java library for machine learning developed at http://cs.waikato.ac.nz/ml/weka/ not sure if it'd help for your needs. I guess it could be used from Jython. But I have not tried it. Wrt Jython's development look at this PyCon 2015 keynote. I think your point is answered by Jim Baker on the first question ;) https://www.youtube.com/watch?v=hLm3garVQFo FC |
From: Liam S. <lsl...@gm...> - 2017-01-13 02:38:10
|
Also another random user here. We've been running jython2.7 in production for awhile now also without issue. It just works. Jython powers our real-time in-house built log collection/parsing engine. We also use jython on Tomcat to serve as the front-end to our home-grown object-store running on top of a large Hadoop cluster. thanks, liam On Thu, Jan 12, 2017 at 11:25 AM, David Charles <dav...@gm...> wrote: > Another random user here. I'm having quite a bit of success with > jython2.7 in production. I can think of only a couple of issues that I've > ever had with it, and I was able to work around them. > D > > On Thu, Jan 12, 2017 at 11:48 AM, Jeff Mitchell <jef...@za...> > wrote: > >> (I'm just a random user, nothing to do with Jython project.) >> >> Jython 2.7 is very recent, certainly not mid-2015.. more like what, Q3 >> 2016? That said, 2.7 is not perfect, just very good (ie: when it comes to >> things like specific https bugs it seems to be changing every month ... >> people are certainly working on things.) >> >> That said, I think Jython is more silent than some other projects.. not >> sure how many use it, but it generally just works so no one complains about >> it :) >> >> jeff >> >> On Thu, Jan 12, 2017 at 12:32 PM, Lior Amar < >> lio...@pa...> wrote: >> >>> Hi All, >>> >>> My name is Lior and I am working at Parallel Machine which is a startup >>> company >>> working on machine learning and streaming. >>> >>> I was wondering what is the roadmap for Jython project. Is there any >>> intention to support python 3 in the future. >>> We are considering to use Jython but we have some concerns regarding the >>> project future. >>> I also noticed that the last release was from May 2015. >>> >>> Can anyone shade some light on the subject? >>> Maybe point me to other resource (blogs, websites) discussing this? >>> >>> Any help appreciated. >>> >>> Lior. >>> >>> >>> >>> ------------------------------------------------------------ >>> ------------------ >>> Developer Access Program for Intel Xeon Phi Processors >>> Access to Intel Xeon Phi processor-based developer platforms. >>> With one year of Intel Parallel Studio XE. >>> Training and support from Colfax. >>> Order your platform today. http://sdm.link/xeonphi >>> _______________________________________________ >>> Jython-users mailing list >>> Jyt...@li... >>> https://lists.sourceforge.net/lists/listinfo/jython-users >>> >>> >> >> ------------------------------------------------------------ >> ------------------ >> Developer Access Program for Intel Xeon Phi Processors >> Access to Intel Xeon Phi processor-based developer platforms. >> With one year of Intel Parallel Studio XE. >> Training and support from Colfax. >> Order your platform today. http://sdm.link/xeonphi >> _______________________________________________ >> Jython-users mailing list >> Jyt...@li... >> https://lists.sourceforge.net/lists/listinfo/jython-users >> >> > > ------------------------------------------------------------ > ------------------ > Developer Access Program for Intel Xeon Phi Processors > Access to Intel Xeon Phi processor-based developer platforms. > With one year of Intel Parallel Studio XE. > Training and support from Colfax. > Order your platform today. http://sdm.link/xeonphi > _______________________________________________ > Jython-users mailing list > Jyt...@li... > https://lists.sourceforge.net/lists/listinfo/jython-users > > |
From: Jeff M. <jef...@za...> - 2017-01-12 20:01:37
|
Was just reminded about an issue I had back in December; I don't have logfile evidence handy but may be able to generate some if needed. There seems to be an emitted unit sizing issue in 2.7 -- ie: python code that ran just fine in 2.5 sometimes blows up in 2.7 when the JVM tries to invoke it; the on the fly compilation may be dumping in too many tokens or something. The workaround I had at the time was to try a few earlier builds of 2.7 or just go back to 2.5 .. ie: the standard 2.7 from the website, vs the most recent from the source repo. IIRC, the more recent the release, the larger the space used, and the higher chance the JVM would reject it. 2.5 had no problems whatsoever. JVM being openjdk in this case on a linux VM. Without the logfiles on hand its hard to pull out the correct keywords here,but does this ring a bell with anyone? I seem to recall there was no easy JVM tweak to work around it short of recompiling the JVM (ugh), but I expected the issue may just take care of itself later, and it wasn't critical for me at the time. Anyone know if this is a known issue? resolved? or an ongoing concern? jeff |
From: David C. <dav...@gm...> - 2017-01-12 19:25:46
|
Another random user here. I'm having quite a bit of success with jython2.7 in production. I can think of only a couple of issues that I've ever had with it, and I was able to work around them. D On Thu, Jan 12, 2017 at 11:48 AM, Jeff Mitchell <jef...@za...> wrote: > (I'm just a random user, nothing to do with Jython project.) > > Jython 2.7 is very recent, certainly not mid-2015.. more like what, Q3 > 2016? That said, 2.7 is not perfect, just very good (ie: when it comes to > things like specific https bugs it seems to be changing every month ... > people are certainly working on things.) > > That said, I think Jython is more silent than some other projects.. not > sure how many use it, but it generally just works so no one complains about > it :) > > jeff > > On Thu, Jan 12, 2017 at 12:32 PM, Lior Amar <lior.amar@parallelmachines. > com> wrote: > >> Hi All, >> >> My name is Lior and I am working at Parallel Machine which is a startup >> company >> working on machine learning and streaming. >> >> I was wondering what is the roadmap for Jython project. Is there any >> intention to support python 3 in the future. >> We are considering to use Jython but we have some concerns regarding the >> project future. >> I also noticed that the last release was from May 2015. >> >> Can anyone shade some light on the subject? >> Maybe point me to other resource (blogs, websites) discussing this? >> >> Any help appreciated. >> >> Lior. >> >> >> >> ------------------------------------------------------------ >> ------------------ >> Developer Access Program for Intel Xeon Phi Processors >> Access to Intel Xeon Phi processor-based developer platforms. >> With one year of Intel Parallel Studio XE. >> Training and support from Colfax. >> Order your platform today. http://sdm.link/xeonphi >> _______________________________________________ >> Jython-users mailing list >> Jyt...@li... >> https://lists.sourceforge.net/lists/listinfo/jython-users >> >> > > ------------------------------------------------------------ > ------------------ > Developer Access Program for Intel Xeon Phi Processors > Access to Intel Xeon Phi processor-based developer platforms. > With one year of Intel Parallel Studio XE. > Training and support from Colfax. > Order your platform today. http://sdm.link/xeonphi > _______________________________________________ > Jython-users mailing list > Jyt...@li... > https://lists.sourceforge.net/lists/listinfo/jython-users > > |
From: Jeff M. <jef...@za...> - 2017-01-12 19:12:37
|
(I'm just a random user, nothing to do with Jython project.) Jython 2.7 is very recent, certainly not mid-2015.. more like what, Q3 2016? That said, 2.7 is not perfect, just very good (ie: when it comes to things like specific https bugs it seems to be changing every month ... people are certainly working on things.) That said, I think Jython is more silent than some other projects.. not sure how many use it, but it generally just works so no one complains about it :) jeff On Thu, Jan 12, 2017 at 12:32 PM, Lior Amar <lio...@pa...> wrote: > Hi All, > > My name is Lior and I am working at Parallel Machine which is a startup > company > working on machine learning and streaming. > > I was wondering what is the roadmap for Jython project. Is there any > intention to support python 3 in the future. > We are considering to use Jython but we have some concerns regarding the > project future. > I also noticed that the last release was from May 2015. > > Can anyone shade some light on the subject? > Maybe point me to other resource (blogs, websites) discussing this? > > Any help appreciated. > > Lior. > > > > ------------------------------------------------------------ > ------------------ > Developer Access Program for Intel Xeon Phi Processors > Access to Intel Xeon Phi processor-based developer platforms. > With one year of Intel Parallel Studio XE. > Training and support from Colfax. > Order your platform today. http://sdm.link/xeonphi > _______________________________________________ > Jython-users mailing list > Jyt...@li... > https://lists.sourceforge.net/lists/listinfo/jython-users > > |
From: Lior A. <lio...@pa...> - 2017-01-12 17:33:02
|
Hi All, My name is Lior and I am working at Parallel Machine which is a startup company working on machine learning and streaming. I was wondering what is the roadmap for Jython project. Is there any intention to support python 3 in the future. We are considering to use Jython but we have some concerns regarding the project future. I also noticed that the last release was from May 2015. Can anyone shade some light on the subject? Maybe point me to other resource (blogs, websites) discussing this? Any help appreciated. Lior. |
From: Curtis R. <ctr...@wi...> - 2016-12-29 15:36:00
|
Hi Chandler, > It looks like jython script want to import some modules from "Lib". > But it cannot locate the right path to the "Lib". The Lib files are only present in jython-standalone, not jython base: $ jar tf ~/.m2/repository/org/python/jython/2.7.0/jython-2.7.0.jar|grep ^Lib|wc -l 0 $ jar tf ~/.m2/repository/org/python/jython-standalone/2.7.0/ jython-standalone-2.7.0.jar|grep ^Lib|wc -l 1226 I'm not sure how JRuby relates to this issue though, except that Jython and JRuby are rather incompatible with one another on the same classpath, unless you take special measures [1]. Regards, Curtis [1] https://github.com/scijava/jython-shaded -- Curtis Rueden LOCI software architect - http://loci.wisc.edu/software ImageJ2 lead, Fiji maintainer - http://imagej.net/User:Rueden On Thu, Dec 29, 2016 at 1:13 AM, magicalne <mag...@gm...> wrote: > Hi all, > > I have been through this issue for almost 2 days. I think I have figured it > out. > > I use jsr223(groovy, jython) in my spring boot web project. I can execute > groovy script, but not jython script. > > It looks like jython script want to import some modules from "Lib". But it > cannot locate the right path to the "Lib". > > I think jython is a little guilty on this issue. > > The most simple way to get it work is to use : > *springBoot { requiresUnpack = ['org.jruby:jruby-complete'] }* > > You can find it in spring boot doc: > http://docs.spring.io/spring-boot/docs/current/reference/htm > l/howto-build.html#howto-extract-specific-libraries-when-an- > executable-jar-runs > <http://docs.spring.io/spring-boot/docs/current/reference/ht > ml/howto-build.html#howto-extract-specific-libraries-when- > an-executable-jar-runs> > > And it explains how it works. > > > > > -- > View this message in context: http://python.6.x6.nabble.com/ > Re-ImportError-No-module-named-re-tp5194446p5206030.html > Sent from the jython-users mailing list archive at Nabble.com. > > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > _______________________________________________ > Jython-users mailing list > Jyt...@li... > https://lists.sourceforge.net/lists/listinfo/jython-users > |
From: magicalne <mag...@gm...> - 2016-12-29 07:13:53
|
Hi all, I have been through this issue for almost 2 days. I think I have figured it out. I use jsr223(groovy, jython) in my spring boot web project. I can execute groovy script, but not jython script. It looks like jython script want to import some modules from "Lib". But it cannot locate the right path to the "Lib". I think jython is a little guilty on this issue. The most simple way to get it work is to use : *springBoot { requiresUnpack = ['org.jruby:jruby-complete'] }* You can find it in spring boot doc: http://docs.spring.io/spring-boot/docs/current/reference/html/howto-build.html#howto-extract-specific-libraries-when-an-executable-jar-runs <http://docs.spring.io/spring-boot/docs/current/reference/html/howto-build.html#howto-extract-specific-libraries-when-an-executable-jar-runs> And it explains how it works. -- View this message in context: http://python.6.x6.nabble.com/Re-ImportError-No-module-named-re-tp5194446p5206030.html Sent from the jython-users mailing list archive at Nabble.com. |
From: Fabio Z. <fa...@gm...> - 2016-11-30 15:30:09
|
PyDev 5.4.0 Released Release Highlights: ------------------------------- * **Important** PyDev now requires Java 8 and Eclipse 4.6 (Neon) onwards. * PyDev 5.2.0 is the last release supporting Eclipse 4.5 (Mars). * If you enjoy PyDev, please show your appreciation through its Patreon crowdfunding: https://www.patreon.com/fabioz. * **Initial support for Python 3.6** * Code analysis for expressions on f-strings. * Syntax highlighting on f-strings. * Handling of underscores in numeric literals. * Parsing (but still not using) variable annotations. * Parsing asynchronous generators and comprehensions. * **Launching** * Improved console description of the launch. * Support launching files with **python -m module.name** (instead of python module/name.py). **Note**: Has to be enabled at **Preferences > PyDev > Run**. * **Debugger** * Shows return values (may be disabled on preferences > PyDev > Debug). * When the user is waiting for some input, it'll no longer try to evaluate the entered contents. * Fix for multiprocess debugging when the debugger is started with a programmatic breakpoint (pydevd.settrace). * **Unittest integration** * Bugfixes in the pytest integration related to unicode errors. * unittest subtests are now properly handled in the PyDev unittest runner. * The currently selected tests are persisted. * **Others** * In Linux, when applying a completion which would automatically add an import, if the user focuses the completion pop-up (with Tab) and applies the completion with Shift+Enter, a local import is properly made. What is PyDev? --------------------------- PyDev is an open-source Python IDE on top of Eclipse for Python, Jython and IronPython development. It comes with goodies such as code completion, syntax highlighting, syntax analysis, code analysis, refactor, debug, interactive console, etc. Details on PyDev: http://pydev.org Details on its development: http://pydev.blogspot.com What is LiClipse? --------------------------- LiClipse is a PyDev standalone with goodies such as support for Multiple cursors, theming, TextMate bundles and a number of other languages such as Django Templates, Jinja2, Kivy Language, Mako Templates, Html, Javascript, etc. It's also a commercial counterpart which helps supporting the development of PyDev. Details on LiClipse: http://www.liclipse.com/ Cheers, -- Fabio Zadrozny ------------------------------------------------------ Software Developer LiClipse http://www.liclipse.com PyDev - Python Development Environment for Eclipse http://pydev.org http://pydev.blogspot.com PyVmMonitor - Python Profiler http://www.pyvmmonitor.com/ |
From: Jeff M. <jef...@za...> - 2016-11-23 19:42:57
|
Hello everyone! First - I've never posted here before, so let me preface by saying that jython is an outstanding piece of work, so thanks to the dev team for their amazing work. Every 6mo or year I do a quick check to see if a rudimentary HTTPS server works (that works in cpython), and have generally had issues (starting back around jython 2.4 and 2.5); that was okay, as it was well known that ssl was a missing module and it could be sort of worked around with leveraging the underlying java framework. (Doing a straight up HTTP Mixin server is a joy :) With jython 2.7 release I did another quick check and still no dice (had the issue with the missing .accept() call); more recently I did a pull from mercurial and a build, and tried again -- this time (refreshed and built from source today just to be sure) the server runs but silently hangs. I didn't debug in further (sorry!); from the commit comments it sounds like we're building towards 2.7.1rc so it would sound like this stuff should (theoretically) work. I'm wondering if it is a 'known thing' that HTTPS/ssl is just not reliable yet, or if it is something that is 'sometimes reliable' (for various use cases, specific codecs and browser combinations, etc and so on), or always reliable and I'm just being silly (quite possible! :) Thanks again for the project, and your time in replying to my humble request! Certificate is self-signed; something like: openssl req -new -x509 -keyout server.key -out server.pem -days 365 -nodes The code in question: #!/home/mit5893/jython-4734d082de59-27rc1merc/dist/bin/jython import BaseHTTPServer, SimpleHTTPServer import ssl print "build httpd" httpd = BaseHTTPServer.HTTPServer ( ('localhost', 4443), SimpleHTTPServer.SimpleHTTPRequestHandler) print "build and wrap socket" httpd.socket = ssl.wrap_socket ( httpd.socket, certfile='./keystore/server.pem', server_side=True, keyfile='./keystore/server.key' ) print "serve forever" httpd.serve_forever() |
From: Christian P. <chr...@we...> - 2016-11-18 10:09:25
|
Hi, I was wondering if there exists a way to terminate a script running an endless loop. To clarify the problem I have attached some source code. None of the tested methods stops the while loop of the main script: public class PythonTest { private static InteractiveInterpreter engine; private static final String CODE = "import time\n" + "\n" + "while True:\n" + " print('still there')\n" + " time.sleep(1)\n" + ""; private static final String TERMINATE = "import sys\n" + "sys.exit()"; public static void main(String[] args) { new Thread(new Runnable() { @Override public void run() { long start = System.currentTimeMillis(); while (System.currentTimeMillis() - 10 * 1000 < start) Thread.yield(); System.out.println(">>>>>>>>>>> Terminating"); // engine.getSystemState().callExitFunc(); // engine.getSystemState().exit(); // engine.interrupt(new ThreadState(engine.getSystemState())); execute(TERMINATE); } }).start(); engine = new InteractiveInterpreter(); engine.getSystemState().__setattr__("_jy_interpreter", Py.java2py(engine)); engine.getSystemState().path.insert(0, Py.EmptyString); execute(CODE); System.out.println("---------- done"); } private static void execute(String input) { final PyObject code = Py.compile_command_flags(input, "(none)", CompileMode.exec, new CompilerFlags(), true); if (code == Py.None) throw new RuntimeException("Could not compile code"); Py.exec(code, engine.getLocals(), null); } } thanks Christian |
From: huangyj1989 <hua...@16...> - 2016-11-07 16:25:15
|
I encountered a problem when invoking a very simple python script using jython which embeded in a java application in different threads. The jython version is 2.7.0 The PyRunner.java has the main method. importorg.python.core.Py; import org.python.core.PySystemState; import org.python.util.PythonInterpreter; public class PyRunner { private static PythonInterpreter createPythonInterpreter(String path) { PySystemState state1 = new PySystemState(); state1.path.add(0, Py.newString(path)); state1.setCurrentWorkingDir(path); return new PythonInterpreter(null, state1); } public static void main(String[] args) throws InterruptedException { System.setProperty("python.home", "/usr/local/Cellar/jython/2.7.0/libexec"); Thread t = new Thread(() -> { PyRunner pyRunner = new PyRunner(); pyRunner.run(); }); t.setName("python"); t.start(); // PyRunner pyRunner = new PyRunner(); // pyRunner.doWork(); Thread.sleep(5000l); } public void run() { PythonInterpreter pythonInterpreter1 = createPythonInterpreter("the_path_to_my_python_script"); System.out.println("==============begin to execfile======================================"); pythonInterpreter1.execfile("Test.py"); System.out.println("==============end to execfile======================================"); } } The Test.py is as follows: import ImportTest ImportTest.testPrint('haha') ImportTest.py is another file in the same path. def testPrint(name): print 'in test' If I run the main method in PyRunner.java, I got the following error message ==============begin to execfile====================================== Exception in thread "python" Traceback (most recent call last): File "Test.py", line 1, in <module> ImportError: No module named ImportTest There are two wired thing that 1) if I run the execfile in the main thread, eg umcomment the two lines that currently commented, they will all work fine. 2) if I remove the parameter of the function testPrint, they will all work fine also. I'm quiet new to jython, so is there anyone ever encounter such problem. Appreciate if you can reply. Further more, I want to run code in different path in a single JVM, and for different interpreter only code in particular path can be executed. So using SystemState is the only way I can find to set the python path. Best Regards, Huang Yujie. |
From: Fabio Z. <fa...@gm...> - 2016-11-03 09:45:08
|
Release Highlights: ------------------------------- * **Important** PyDev now requires Java 8 and Eclipse 4.6 (Neon) onwards. * PyDev 5.2.0 is the last release supporting Eclipse 4.5 (Mars). * **Code Completion** * Substring completions are **on by default** (may be turned off in the code-completion preferences). * Fixed issue with code-completion using from..import..as aliases. * **Others** * Auto-fix imports with Ctrl+Shift+O properly sorts items based on the same sorting improvements for code-completion. * When fixing unresolved import (with Ctrl+1) it properly resolves dependent projects (bugfix for regression in 5.3.0). * **async** and **await** keywords are properly highlighted. * **async** blocks properly auto-indented. * In PEP 448 list unpack variable was not being marked as a "Load" variable (which made the code analysis yield false positives). What is PyDev? --------------------------- PyDev is an open-source Python IDE on top of Eclipse for Python, Jython and IronPython development. It comes with goodies such as code completion, syntax highlighting, syntax analysis, code analysis, refactor, debug, interactive console, etc. Details on PyDev: http://pydev.org Details on its development: http://pydev.blogspot.com What is LiClipse? --------------------------- LiClipse is a PyDev standalone with goodies such as support for Multiple cursors, theming, TextMate bundles and a number of other languages such as Django Templates, Jinja2, Kivy Language, Mako Templates, Html, Javascript, etc. It's also a commercial counterpart which helps supporting the development of PyDev. Details on LiClipse: http://www.liclipse.com/ Cheers, -- Fabio Zadrozny ------------------------------------------------------ Software Developer LiClipse http://www.liclipse.com PyDev - Python Development Environment for Eclipse http://pydev.org http://pydev.blogspot.com PyVmMonitor - Python Profiler http://www.pyvmmonitor.com/ |
From: Stefan R. <Ste...@gm...> - 2016-10-27 14:16:26
|
>>After that: we should look at publishing jython.org[http://jython.org] using readthedocs.org[http://readthedocs.org] or maybe github pages support. (Maybe other alternatives?) Improving our docs is probably more important than anything else we can do at this time. The Jython-Homepage looks like it is written in sphinx/markup, isn't it? What about hosting its markup-source similar to github.com/jython/book on github? This could encourage the community to help maintaining/updating via PRs. There should be a (maybe automated) flow of nightly builds to the website, so accepted PRs would show up rapidly. (In case of githubpages or readthedocs I'd suggest the same for whatever the page-source would consist of.) -Stefan P.S. Changing the subject given that already Jim's answer was not actually about use-cases. Maybe we could have a statement regarding the original question too? Gesendet: Donnerstag, 27. Oktober 2016 um 13:51 Uhr Von: "Jim Baker" <jim...@py...> An: "Fernando Cassia" <fc...@gm...> Cc: "jyt...@li..." <Jyt...@li...> Betreff: Re: [Jython-users] Jython use cases inside Rackspace, IBM, Oracle, Vert.x To address this perennial question, I expect we will be ready with the Jython 2.7.1 release candidate fairly soon. Sorry it has taken so long! There's one more bug we would like to fix, http://bugs.jython.org/issue2446[http://bugs.jython.org/issue2446] I'm at the OpenStack Summit in Barcelona this week; and I will be on vacation next week. After that, I should have time to resolve this bug and help put the RC together. After that: we should look at publishing jython.org[http://jython.org] using readthedocs.org[http://readthedocs.org] or maybe github pages support. (Maybe other alternatives?) Improving our docs is probably more important than anything else we can do at this time. In parallel, 2.7.2 and 3.x work can of course continue, and we will figure timelines later. - Jim On Mon, Oct 24, 2016 at 7:40 AM, Fernando Cassia <fc...@gm...[mailto:fc...@gm...]> wrote: On Wed, Jul 8, 2015 at 5:51 PM, Fernando Cassia <fc...@gm...[mailto:fc...@gm...]> wrote: Anyway, is there a wiki or web server playground -like staging.jython.org[http://staging.jython.org], test.jython.org[http://test.jython.org] or something- where I could edit such list and preview it before copying it to the live web site?. I only have experience editing wikipedia articles... But even if I have to dig into HTML that shouldn't be a problem.... FC I realized that I never got any answer to the above, and still there s no such list of Jython of use cases anywhere (AFAIK). Sadly, I saw someone on Twitter closing a current Jython integration project with someone commenting "no company that I know of is using Jython", or words to that effect. The FUD lives on... FC -- During times of Universal Deceit, telling the truth becomes a revolutionary act - George Orwell ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot[http://sdm.link/slashdot] _______________________________________________ Jython-users mailing list Jyt...@li...[mailto:Jyt...@li...] https://lists.sourceforge.net/lists/listinfo/jython-users ------------------------------------------------------------------------------ The Command Line: Reinvented for Modern Developers Did the resurgence of CLI tooling catch you by surprise? Reconnect with the command line and become more productive. Learn the new .NET and ASP.NET CLI. Get your free copy! http://sdm.link/telerik_______________________________________________[http://sdm.link/telerik_______________________________________________] Jython-users mailing list Jyt...@li... https://lists.sourceforge.net/lists/listinfo/jython-users[https://lists.sourceforge.net/lists/listinfo/jython-users] |
From: Jim B. <jim...@py...> - 2016-10-27 12:16:01
|
To address this perennial question, I expect we will be ready with the Jython 2.7.1 release candidate fairly soon. Sorry it has taken so long! There's one more bug we would like to fix, http://bugs.jython.org/issue2446 I'm at the OpenStack Summit in Barcelona this week; and I will be on vacation next week. After that, I should have time to resolve this bug and help put the RC together. After that: we should look at publishing jython.org using readthedocs.org or maybe github pages support. (Maybe other alternatives?) Improving our docs is probably more important than anything else we can do at this time. In parallel, 2.7.2 and 3.x work can of course continue, and we will figure timelines later. - Jim On Mon, Oct 24, 2016 at 7:40 AM, Fernando Cassia <fc...@gm...> wrote: > > On Wed, Jul 8, 2015 at 5:51 PM, Fernando Cassia <fc...@gm...> wrote: > >> Anyway, is there a wiki or web server playground -like staging.jython.org, >> test.jython.org or something- where I could edit such list and preview >> it before copying it to the live web site?. I only have experience editing >> wikipedia articles... But even if I have to dig into HTML that shouldn't be >> a problem.... >> >> FC >> > > I realized that I never got any answer to the above, and still there s no > such list of Jython of use cases anywhere (AFAIK). > > Sadly, I saw someone on Twitter closing a current Jython integration > project with someone commenting "no company that I know of is using > Jython", or words to that effect. The FUD lives on... > > FC > -- > During times of Universal Deceit, telling the truth becomes a > revolutionary act > - George Orwell > > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > _______________________________________________ > Jython-users mailing list > Jyt...@li... > https://lists.sourceforge.net/lists/listinfo/jython-users > > |
From: Fernando C. <fc...@gm...> - 2016-10-24 05:40:29
|
On Wed, Jul 8, 2015 at 5:51 PM, Fernando Cassia <fc...@gm...> wrote: > Anyway, is there a wiki or web server playground -like staging.jython.org, > test.jython.org or something- where I could edit such list and preview it > before copying it to the live web site?. I only have experience editing > wikipedia articles... But even if I have to dig into HTML that shouldn't be > a problem.... > > FC > I realized that I never got any answer to the above, and still there s no such list of Jython of use cases anywhere (AFAIK). Sadly, I saw someone on Twitter closing a current Jython integration project with someone commenting "no company that I know of is using Jython", or words to that effect. The FUD lives on... FC -- During times of Universal Deceit, telling the truth becomes a revolutionary act - George Orwell |
From: Bulat Y. <bul...@gm...> - 2016-10-18 14:10:58
|
Hi everybody! I'm developing an application where Jython scripts would be executed once in a while as part of executing a workflow of tasks. So the number of tasks and the time when they execute can be random and depends on the users' input. In any case it can happen in parallel. The question is, should I better create a separate new engine for each scripts, like in "new ScriptEngineManager().getEngineByName(PYTHON_ENGINE)". Or should I instead create the engine once globally for my application and then just call "jythonEngine.eval(script, scriptContext)" whenever running a user's task? Maybe creating a new engine for each execution would be much slower? Or maybe reusing the engine could lead to some isolation problems? Thanks in advance for your comments! Regards, Bulat Yaminov |
From: Fabio Z. <fa...@gm...> - 2016-10-14 13:56:38
|
Release Highlights: ------------------------------- * **Important** PyDev now requires Java 8 and Eclipse 4.5 onwards. * PyDev 4.5.5 is the last release supporting Java 7 and Eclipse 3.8. * See: update sites page for the update site of older versions of PyDev. * See: the **PyDev does not appear after install** section on the download page for help on using a Java 8 vm in Eclipse. * **Syntax validation for multiple grammars** * Helps to make code which is **Python 2 and 3 compatible**. * To customize, go to Project Properties > PyDev - Interpreter/Grammar, and select **grammars for "additional syntax validation"**. * **Code completion** * The code-completion can now do substring based matches (i.e.: the proposals will be shown if any part of the completion matches the requested name). * It's **still** not the default (to activate it, change the setting **"Preferences > PyDev > Editor > Code Completion > Match substrings on code completion?"** to true). * Completion proposals have the part of the completion used to do the match in bold. * Qualifiers of the completion (i.e.: package name) are styled differently (color may be customized in **General > Appearance > Colors and Fonts > Basic Qualifier Information Color**). * Completions are re-sorted when the name used to request a code completion changes. * **Sorting** is based on: * The current name typed (so that matches that are exact or start with the requested token appear first). * The type of the completion (parameter, local, context insensitive with auto-import, etc). * Where the completion was found (so, matches from the same project go first, referenced projects second and standard library last). * **Ctrl and Shift Behavior when applying code-completion proposal** * Ctrl is always **"replace the current name with the completion"** for all completions. * Pressing Ctrl to override the next name in code completion no longer looses the highlight in the editor. * On code completion with auto-import, for doing local imports, the pop-up must be focused and Shift must be kept pressed while the completion is applied. * **PyQt5 support in Interactive Console** * PyQt5 may now be used as a backend in the interactive console so that widgets/plots can be inspected interactively while using the console. * May be activated with **%matplotlib qt5** (when using IPython) or in **"Preferences > PyDev > Interactive Console > Enable GUI event loop integration > PyQt5"**. What is PyDev? --------------------------- PyDev is an open-source Python IDE on top of Eclipse for Python, Jython and IronPython development. It comes with goodies such as code completion, syntax highlighting, syntax analysis, code analysis, refactor, debug, interactive console, etc. Details on PyDev: http://pydev.org Details on its development: http://pydev.blogspot.com What is LiClipse? --------------------------- LiClipse is a PyDev standalone with goodies such as support for Multiple cursors, theming, TextMate bundles and a number of other languages such as Django Templates, Jinja2, Kivy Language, Mako Templates, Html, Javascript, etc. It's also a commercial counterpart which helps supporting the development of PyDev. Details on LiClipse: http://www.liclipse.com/ Cheers, -- Fabio Zadrozny ------------------------------------------------------ Software Developer LiClipse http://www.liclipse.com PyDev - Python Development Environment for Eclipse http://pydev.org http://pydev.blogspot.com PyVmMonitor - Python Profiler http://www.pyvmmonitor.com/ |
From: Corgi <co...@te...> - 2016-09-27 18:23:55
|
Here's a listing to demonstrate serial port connection with Jython and the RXTX module. Much more needs to be done to make it a useful program but it demonstrates the key points to make a connection! Hope this helps anyone just starting out on a similar project. Graham #Jython.py Serial Port connection with RXTX import sys, socket, gnu.io import gnu.io.RXTXPort as RXTX #Open port COM3 portId=gnu.io.CommPortIdentifier.getPortIdentifier("COM3") serialPort=portId.open("Demo1",2000) #(Name,delay) #Set port parameters serialPort.setSerialPortParams(9600,RXTX.DATABITS_8,RXTX.STOPBITS_1,RXTX.PARITY_NONE) #Open input & output streams outStream=serialPort.getOutputStream() inStream=serialPort.getInputStream() #Define some output and write it to the serial port toOutput="Test output to serial port" outStream.write(toOutput) #Close inStream, outStream before closing the port itself outStream.close() inStream.close() serialPort.close() ----- Original Message ----- From: "Corgi" <co...@te...> To: <jyt...@li...> Sent: Monday, September 26, 2016 8:54 AM Subject: Re: [Jython-users] PySerial & RXTX query > Thanks, I've now sorted out how to use the RXTX module! > > I'll post a listing shortly. > > Graham > > ------------------------------------------------------------------------------ > _______________________________________________ > Jython-users mailing list > Jyt...@li... > https://lists.sourceforge.net/lists/listinfo/jython-users |
From: Corgi <co...@te...> - 2016-09-26 07:54:14
|
Thanks, I've now sorted out how to use the RXTX module! I'll post a listing shortly. Graham |
From: Corgi <co...@te...> - 2016-09-24 15:50:45
|
Thanks, I've added two listings: Python 2.7 import sys, socket, serial ser = serial.Serial(port="COM9",baudrate=9600) if ser.is_open: ser.close() print "Closed" ser.open() #open port print(ser.portstr) # confirm which port was really used s="Test" ser.write(s) print "written:",s This works fine and I can see the data being written to the port. Jython 2.7 import sys, socket, serial, gnu.io ser = serial.Serial(port="COM9",baudrate=9600) if ser.is_open: ser.close() print "Closed" ser.open() #open port print(ser.portstr) # confirm which port was really used s="Test" ser.write(s) print "written:",s This fails with the following trace back Traceback (most recent call last): File "C:\jee-neon\eclipse\workspace\JythonTest\src\Jython_USB_232.py", line 9, in <module> ser = serial.Serial(port="COM9",baudrate=9600) File "C:\jython2.7.0\Lib\site-packages\serial\serialutil.py", line 182, in __init__ self.open() File "C:\jython2.7.0\Lib\site-packages\serial\serialjava.py", line 69, in open portId = comm.CommPortIdentifier.getPortIdentifier(self._port) at javax.comm.CommPortIdentifier.getPortIdentifier(CommPortIdentifier.java:105) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) javax.comm.NoSuchPortException: javax.comm.NoSuchPortException It all seems to be to do with javax.comm and its replacement (in theory) by gnu.io (RXTX) The RXTX jar is in the JRE and pythonpath and is the 64 bit version also installed is the serial.dll that is required. Any help gratefully appreciated - I'm sure it's something very simple that I've misunderstood! Graham ----- Original Message ----- From: "Adam Burke" <ada...@gm...> To: "Corgi" <co...@te...> Cc: <jyt...@li...> Sent: Saturday, September 24, 2016 9:25 AM Subject: Re: [Jython-users] PySerial & RXTX query Hi, do you get exceptions, or can you share a simple test program? Adam > 在 24 Sep 2016,4:15 PM,Corgi <co...@te...> 写道: > > I have had no success with opening a serial port (device is a Prolific USB > to serial comm port [COM9]) from Jython (2.7) using PySerial (tried both > 2.7 > and 3.1.1) and the RXTX replacement for javax.comm on windows 64 bit. I > have tried the usual googling for examples but found no really helpful > jython specific ones. If anyone has an example program that works, I > should > be really grateful to see it! > > It all works fine in Python 2.7 ! > > Thanks in advance, > > Graham > > (Apologies if this is posted twice) > > > ------------------------------------------------------------------------------ > _______________________________________________ > Jython-users mailing list > Jyt...@li... > https://lists.sourceforge.net/lists/listinfo/jython-users |