Message4017

Author cgroves
Recipients JohnSJohnM, cgroves
Date 2009-01-10.12:43:08
SpamBayes Score 0.020121707
Marked as misclassified No
Message-id <1231591389.72.0.614819469931.issue1222@psf.upfronthosting.co.za>
In-reply-to
Content
As of 2.5b1, Jython can import .py and compiled .py files from the
classpath.  By default it uses paths without any prefix on the classpath
to find items, so your python modules would have to be in a jar or
directory or the classpath without any intervening directories if you
want to use it without messing with sys.path.  If you'd rather leave
things in lib-python, add '__pyclasspath__/lib-python' to sys.path, and
Jython will start looking for modules in lib-python on the classpath.
History
Date User Action Args
2009-01-10 12:43:09cgrovessetmessageid: <1231591389.72.0.614819469931.issue1222@psf.upfronthosting.co.za>
2009-01-10 12:43:09cgrovessetrecipients: + cgroves, JohnSJohnM
2009-01-10 12:43:09cgroveslinkissue1222 messages
2009-01-10 12:43:09cgrovescreate