On Oct 9, 10:42 pm, Benjamin <[EMAIL PROTECTED]> wrote: > When importing Java packages in Jython, what is the convention to > simplify imports? For example: > import java.util as util > Is this correct? Or should I use from * import *?
I have preferred the style... import java import javax ...and then using complete references to java classes, in your case, java.util.whatever. It clearly shows me where I'm using Python classes vs. java classes when I read my own code. For this situation, more path structure seems less confusing to me. -- http://mail.python.org/mailman/listinfo/python-list