#jython IRC Log

Index

IRC Log for 2014-12-12

Timestamps are in GMT/BST.

[0:01] * ebarrett (~edd@88-105-207-233.dynamic.dsl.as9105.com) Quit (Remote host closed the connection)
[0:01] * ebarrett (~edd@88-105-207-233.dynamic.dsl.as9105.com) has joined #jython
[1:47] * smaudet (~smaudet@cpe-98-28-40-92.columbus.res.rr.com) has joined #jython
[4:33] * lopex (uid4272@gateway/web/irccloud.com/x-tjsekjeywmxbvlng) Quit (Ping timeout: 244 seconds)
[4:34] * lopex (uid4272@gateway/web/irccloud.com/x-rhrsdspupjfwrqnk) has joined #jython
[7:41] * smaudet (~smaudet@cpe-98-28-40-92.columbus.res.rr.com) Quit (Ping timeout: 265 seconds)
[8:02] * Arfrever (~Arfrever@apache/committer/Arfrever) has joined #jython
[8:15] * jimbaker (~jbaker@python/psf/jimbaker) Quit (*.net *.split)
[8:17] * jimbaker (~jbaker@24.9.252.60) has joined #jython
[8:17] * jimbaker (~jbaker@24.9.252.60) Quit (Changing host)
[8:17] * jimbaker (~jbaker@python/psf/jimbaker) has joined #jython
[9:41] * mbooth (~mbooth@redhat/mbooth) has joined #jython
[10:45] * lheuer (~Adium@unaffiliated/lheuer) has joined #jython
[11:37] * lheuer (~Adium@unaffiliated/lheuer) Quit (Quit: Leaving.)
[12:13] * smaudet (~smaudet@cpe-98-28-40-92.columbus.res.rr.com) has joined #jython
[12:39] * smaudet (~smaudet@cpe-98-28-40-92.columbus.res.rr.com) Quit (Ping timeout: 244 seconds)
[13:06] * RaphGro (~RaphaelG@port-92-203-192-215.dynamic.qsc.de) has joined #jython
[13:06] <RaphGro> hi. how to handle the search dir for import correctly in java projects?
[14:04] * RaphGro (~RaphaelG@port-92-203-192-215.dynamic.qsc.de) Quit (Ping timeout: 260 seconds)
[14:21] * enebo (~enebo@c-75-73-8-169.hsd1.mn.comcast.net) has joined #jython
[14:21] * xemdetia (xemdetia@nat/ibm/x-uiafklrftzfceqln) has joined #jython
[14:31] * RaphGro (~RaphaelG@port-92-203-192-215.dynamic.qsc.de) has joined #jython
[15:09] <RaphGro> hi. how to handle the search dir for import correctly in java projects?
[15:12] * xemdetia_ (xemdetia@nat/ibm/x-agocgyvhdkwhubpx) has joined #jython
[15:15] * xemdetia (xemdetia@nat/ibm/x-uiafklrftzfceqln) Quit (Ping timeout: 240 seconds)
[15:17] <agronholm> RaphGro: what search dir?
[15:17] <agronholm> RaphGro: what does this have to do with jython?
[15:19] <RaphGro> PythonInterpreter
[15:19] <RaphGro> exec("from module import something")
[15:19] <RaphGro> what should module and something look like in path logic?
[15:20] <agronholm> you are running the standalone version (just jython.jar)?
[15:20] <agronholm> or the one that you install
[15:21] <RaphGro> jython.jar yes. I do not know what you mean with install.
[15:32] <agronholm> RaphGro: install as in download the installer jar and run it
[15:32] <agronholm> which produces a jython directory that has a launcher script for command line use
[15:42] <RaphGro> no
[15:43] <RaphGro> I want to use PythonInterpreter in java project
[15:43] <RaphGro> the howto says jythonc is deprecated and should not be used
[15:43] <agronholm> and you want to import python modules from the file system?
[15:44] <RaphGro> yeah
[15:47] <agronholm> and the modules are not packed in zip/jar files or anything?
[15:47] <agronholm> then you can append the path to the project to sys.path
[15:49] * xemdetia_ (xemdetia@nat/ibm/x-agocgyvhdkwhubpx) Quit (Remote host closed the connection)
[15:59] <RaphGro> I am not sure if you understand. I have a java project that wants to load python code. so I can not modify sys.path in python. java is the driver, not python.
[15:59] <agronholm> RaphGro: and why can't you modify sys.path in python?
[16:00] <agronholm> RaphGro: what's stopping you from importing the sys module and then appending to path?
[16:00] <agronholm> I have a project that does the same
[16:00] <agronholm> well
[16:00] <agronholm> I don't append to sys.path
[16:01] <agronholm> I add the path to the classpath
[16:01] <RaphGro> ah now I understand :)
[16:01] <RaphGro> will try that, thanks
[16:01] <RaphGro> classpath is quite cute
[16:06] * xemdetia (xemdetia@nat/ibm/x-uvolhwpmfqhsjycu) has joined #jython
[17:08] * plankton (~plankton@177.155.125.70) has joined #jython
[17:41] * RaphGro (~RaphaelG@port-92-203-192-215.dynamic.qsc.de) Quit (Ping timeout: 255 seconds)
[20:17] * lheuer (~Adium@unaffiliated/lheuer) has joined #jython
[21:48] * Trundle (~andy@python/site-packages/trundle) has joined #jython
[22:15] * xemdetia (xemdetia@nat/ibm/x-uvolhwpmfqhsjycu) Quit (Ping timeout: 240 seconds)
[22:31] * enebo (~enebo@c-75-73-8-169.hsd1.mn.comcast.net) Quit (Quit: enebo)
[23:18] * Trundle (~andy@python/site-packages/trundle) Quit (Remote host closed the connection)

Index

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