JACL: if {123} {
JACL: set names [glob "/*"]
JACL: }else{
JACL: set names [glob "$distDir/*"]
JACL: }
==>
JYTHON: if (123):
JYTHON: import glob
JYTHON: names = glog.glob("/*" )
JYTHON: else
JYTHON: import glob # you need to manually add this additional import statement
JYTHON: names = glog.glob( distDir+"/*" )
JYTHON: #endIf
In this example, the
glob is
a library module defined in the Jython
lib directory.
The Jython
lib directory is located in the
x:/optionalLibraries/jython,
where
x is the installation directory of WebSphere Application Server
v6.1.