From: Robert W. B. <rb...@di...> - 2001-08-26 14:55:43
|
On 26 Aug 2001, Kemal G=FCrsoy wrote: > hi all > i am new to jython and i know that tihs question sounds very dull, but = i > have to ask, is there any function for converting python lists to java > arrays? > regards, > kemal In addition to the automatic conversion, there is the jarray module. >>> import jarray >>> myIntArray =3D jarray.array(range(10), 'i') >>> myIntArray array([0, 1, 2, 3, 4, 5, 6, 7, 8, 9], int) jarray docs are at: http://www.jython.org/docs/jarray.html -rb |