Jython: any workaround for the missing array module

Andreas Ulbrich ulbi at ivs.tu-berlin.de
Tue Jul 23 06:04:25 EDT 2002


Philip Tsai wrote:
> Hello group,
> 
>  I learned from Jython's documentation that the Python array module is
> currently unsupported.  I am writing to see whether you would happen
> to know a clean, good workaround?  So, instead of "import array" in
> the *.py, one can perhaps do something about equally easy and
> efficient in Jython....
> 
>  Thanks much!
>  Philip

There is a jarray module. You can use it to build a Java-array and then 
use everything Java provides to deal with arrays (so it's fairly 
efficient). But you probably knew this already ...




More information about the Python-list mailing list