Demo.modjy_webapp.WEB-INF.lib-python.readme.txt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jython-standalone Show documentation
Show all versions of jython-standalone Show documentation
Jython is an implementation of the high-level, dynamic, object-oriented
language Python written in 100% Pure Java, and seamlessly integrated with
the Java platform. It thus allows you to run Python on any Java platform.
The WEB-INF/lib-python directory, if it exists, is automatically added
to sys.path. Adding jython modules into this directory will make them
available for import into your application.
If you add your modules in a subdirectory, then be sure that that
subdirectory contains an __init__.py file, so that the subdirectory
is considered to be a package.
See here for more details.
http://www.rexx.com/~dkuhlman/python_101/python_101.html#SECTION004540000000000000000
http://www.python.org/doc/essays/packages.html