#jython IRC Log (v0.9)

Index

IRC Log for 2012-02-21

Timestamps are in GMT/BST.

[0:12] * delinquentme (~asdfasdf@c-67-171-66-113.hsd1.pa.comcast.net) has joined #jython
[0:21] * delinquentme_ (~asdfasdf@c-67-171-66-113.hsd1.pa.comcast.net) has joined #jython
[0:21] <delinquentme_> running a jython script from python?
[0:22] <mrud> ?
[0:27] <delinquentme_> command line Ill run " jython tester.py "
[0:28] <delinquentme_> but if i want to call that from within python
[0:29] * delinquentme (~asdfasdf@c-67-171-66-113.hsd1.pa.comcast.net) Quit (Quit: Leaving)
[0:29] <delinquentme_> too many windows
[0:33] <delinquentme_> I know it *is* python code but " python tester.py " and " jython tester.py " dont run the same code
[0:34] <delinquentme_> importing no go either
[0:42] <delinquentme_> im trying to get this jython to interface w a django application
[0:46] * K4sperle is now known as Kasperle
[1:03] * zeetee (~zeetee@ip68-14-72-54.ri.ri.cox.net) has joined #jython
[1:15] * zeetee (~zeetee@ip68-14-72-54.ri.ri.cox.net) Quit (Quit: Leaving)
[1:27] <delinquentme_> so how do I invoke those jython processes which allow me to interface w java classes *in* python
[1:28] <agronholm> processes?
[1:28] <agronholm> you can interface with java classes by importing them
[1:29] <agronholm> and using them
[1:32] <delinquentme_> yeah the jython <> java is perfect
[1:33] <agronholm> so...?
[1:33] <delinquentme_> but now since I'm writing data from the jython/java interface .. into a python environment
[1:33] <delinquentme_> thus i need to invoke that jython function from actual python
[1:33] <agronholm> cpython?
[1:33] <agronholm> how much java do you really need?
[1:33] <delinquentme_> IE running "jython interface.py" from within a actual python running file
[1:34] <agronholm> I needed to use the JasperReports library from CPython
[1:34] <agronholm> ended up using py4j for it
[1:34] <delinquentme_> ive also heard of jpype
[1:35] <delinquentme_> but you dont know of any way right now to get that jython output into a python running environment?
[1:35] <agronholm> jpype is dead
[1:35] <delinquentme_> hmm
[1:35] <agronholm> delinquentme_: rpyc
[1:35] <agronholm> just make sure you know what you're doing
[1:36] <delinquentme_> so what im trying to do cant be done in jython?
[1:37] <agronholm> I have no clue what you're trying to do.
[1:37] <agronholm> why are you using cpython at all?
[1:37] <delinquentme_> im not using cpython at all?
[1:37] <agronholm> so why bring it up
[1:37] <delinquentme_> i didnt think i did?
[1:37] <agronholm> "<delinquentme_> but you dont know of any way right now to get that jython output into a python running environment?"
[1:37] <agronholm> what did you mean by "python running environment" if not cpython?
[1:38] <delinquentme_> regular old python == cpython?
[1:38] <agronholm> yes
[1:38] <delinquentme_> oh.
[1:38] <agronholm> the mainline python is called cpython
[1:38] <delinquentme_> check
[1:38] <agronholm> python is the name of the language
[1:38] <delinquentme_> so then yeah i need it to be run in cpython because I want this to interface w django
[1:38] <agronholm> django can run under jython
[1:39] <delinquentme_> that sounds ghetto
[1:39] <agronholm> less complicated than using java, jython and cpython all at the same time
[1:40] <delinquentme_> https://docs.djangoproject.com/en/dev/howto/jython/
[1:40] <delinquentme_> maybe not
[1:40] <agronholm> if your java interactions are not very complicated, I recommend using py4j instead
[1:40] <agronholm> then you could drop jython from the equation
[1:41] <delinquentme_> cool yeah lemme check out some of this stuffage
[1:41] <delinquentme_> brb gotta get chocolate chippies
[2:38] * shashank (~shashank@63-228-87-227.hlrn.qwest.net) has joined #jython
[2:44] <delinquentme_> Note that the Java program must be started before executing the Python code above. In other words, the Py4J does not start a JVM.
[2:44] <delinquentme_> JVM is a java virtual machine .. but i mean what does that mean?? that it doesnt compile the program?
[4:35] * Arfrever (~Arfrever@apache/committer/Arfrever) Quit (Quit: Ex??re)
[5:55] * delinquentme_ (~asdfasdf@c-67-171-66-113.hsd1.pa.comcast.net) Quit (Ping timeout: 240 seconds)
[6:38] * shashank (~shashank@63-228-87-227.hlrn.qwest.net) Quit (Quit: Leaving.)
[6:42] * shashank (~shashank@63-228-87-227.hlrn.qwest.net) has joined #jython
[8:10] * decepticon__ (badcc8aa@gateway/web/freenode/ip.186.220.200.170) has joined #jython
[8:26] * decepticon__ (badcc8aa@gateway/web/freenode/ip.186.220.200.170) has left #jython
[10:35] * jimbaker (~jbaker@canonical/jimbaker) Quit (Ping timeout: 240 seconds)
[10:37] * jimbaker (~jbaker@c-75-71-80-146.hsd1.co.comcast.net) has joined #jython
[10:37] * jimbaker (~jbaker@c-75-71-80-146.hsd1.co.comcast.net) Quit (Changing host)
[10:37] * jimbaker (~jbaker@canonical/jimbaker) has joined #jython
[12:15] * juneau001 (~juneau@131.225.24.166) has joined #jython
[12:22] * stakkars (~tismer@p5DC477DA.dip.t-dialin.net) has joined #jython
[13:42] * stakkars (~tismer@p5DC477DA.dip.t-dialin.net) Quit (Ping timeout: 240 seconds)
[13:42] * stakkars (~tismer@82.113.119.57) has joined #jython
[14:25] * wmeissner (~wmeissner@2001:44b8:2134:a101:8d52:58bf:b821:b9fd) Quit (Quit: wmeissner)
[14:40] * enebo (~enebo@75-168-50-253.mpls.qwest.net) has joined #jython
[14:58] * stakkars (~tismer@82.113.119.57) Quit (Read error: Connection reset by peer)
[15:18] * agronholm (~Demi-god@83.145.211.37) Quit (Quit: KVIrc 4.1.1 Equilibrium http://www.kvirc.net/)
[15:47] * shashank (~shashank@63-228-87-227.hlrn.qwest.net) Quit (Quit: Leaving.)
[15:51] * shashank (~shashank@63-228-87-227.hlrn.qwest.net) has joined #jython
[16:09] * stakkars (~tismer@82.113.106.38) has joined #jython
[16:51] * shashank (~shashank@63-228-87-227.hlrn.qwest.net) Quit (Ping timeout: 240 seconds)
[17:06] * mrud_ (~uli@shell.spamt.net) has joined #jython
[17:08] * mrud (~uli@grml/developer/mru) Quit (Ping timeout: 245 seconds)
[17:16] * agronholm (~Demi-god@nblzone-209-140.nblnetworks.fi) has joined #jython
[17:22] * mrud_ is now known as mrud
[17:22] * mrud (~uli@shell.spamt.net) Quit (Changing host)
[17:22] * mrud (~uli@grml/developer/mru) has joined #jython
[17:29] * shashank (~shashank@ucb-np2-204.colorado.edu) has joined #jython
[17:43] * fwierzbicki (~frank@99-106-170-105.lightspeed.sntcca.sbcglobal.net) has joined #jython
[18:44] * agronholm (~Demi-god@nblzone-209-140.nblnetworks.fi) Quit (Ping timeout: 240 seconds)
[18:58] * agronholm (~Demi-god@nblzone-209-140.nblnetworks.fi) has joined #jython
[19:02] * stakkars (~tismer@82.113.106.38) Quit (Quit: schnarch)
[19:11] * fwierzbicki (~frank@99-106-170-105.lightspeed.sntcca.sbcglobal.net) Quit (Ping timeout: 272 seconds)
[19:12] * fwierzbicki (~frank@99-106-170-105.lightspeed.sntcca.sbcglobal.net) has joined #jython
[20:15] * juneau001 (~juneau@131.225.24.166) Quit (Quit: juneau001)
[20:26] * agronholm (~Demi-god@nblzone-209-140.nblnetworks.fi) Quit (Read error: Operation timed out)
[21:01] * shashank (~shashank@ucb-np2-204.colorado.edu) Quit (Read error: Operation timed out)
[21:02] * agronholm (~Demi-god@nblzone-211-37.nblnetworks.fi) has joined #jython
[21:24] * shashank (~shashank@ucb-np2-204.colorado.edu) has joined #jython
[21:28] * plankton (~peretto@200.181.233.128) has joined #jython
[21:32] * plankton_ (~peretto@200.181.233.128) has joined #jython
[21:33] * plankton (~peretto@200.181.233.128) Quit (Ping timeout: 252 seconds)
[21:34] * plankton_ is now known as plankton
[21:38] * lheuer (~Adium@unaffiliated/lheuer) has joined #jython
[22:05] * lheuer (~Adium@unaffiliated/lheuer) Quit (Quit: Leaving.)
[22:12] * plankton (~peretto@200.181.233.128) Quit ()
[22:15] * shashank (~shashank@ucb-np2-204.colorado.edu) Quit (Ping timeout: 245 seconds)
[23:27] * enebo (~enebo@75-168-50-253.mpls.qwest.net) Quit (Quit: enebo)

Index

These logs were automatically created by JythonLogBot_ on irc.freenode.net using a slightly modified version of the Java IRC LogBot (github).